aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit/testSplitVector.cxx
AgeCommit message (Collapse)AuthorFilesLines
2024-01-30Avoid warnings in unit tests with const, nullptr, [[nodiscard]], initialisation,Neil1-4/+4
and unnamed namespace.
2024-01-02Fix warnings in test case code mostly by adding const.Neil1-1/+1
2022-07-29Apply rule-of-zero to delete standard methods where possible as handled byNeil1-0/+47
contained types. This allows flexibility as most lower-level data types can be moved and SplitVector and Partitioning of non-move-only types may be copied. CellBuffer still needs destructor due to incomplete type so retains all standard operations.
2021-06-21Fix some warnings in unit tests.rel-5-1-0Zufu Liu1-6/+6
2021-05-24Define C++ version of the Scintilla API in ScintillaTypes.h, ScintillaMessages.hNeil1-1/+1
and ScintillaStructures.h using scoped enumerations. Use these headers instead of Scintilla.h internally. External definitions go in the Scintilla namespace and internal definitio0ns in Scintilla::Internal.
2021-05-09Add @file <filename> comments to follow convention.Neil1-1/+3
Fix incorrect filename comments. Normalize Qt code to use #endif /* X */ insetad of #endif // X.
2021-03-18std::optional is a basic vocabulary type that may be used widely so includeNeil1-0/+1
almost everywhere.
2021-03-18Move assert and debug trace functions into their own header Debugging.h.Neil1-2/+1
PLATFORM_ASSERT is used in data structure headers which led to including graphics and windowing APIs in data structure modules.
2021-03-17Extract geometry and colour definitions from Platform.h into src/Geometry.h.Neil1-0/+1
2020-05-02InsertEmpty now returns a pointer to the newly added elements to allow caller toNeil1-0/+21
efficiently set those elements.
2018-07-06Fix a shadowed variable.Neil1-2/+2
2018-05-13Include <string_view> in tests in case needed.Neil1-0/+1
2018-03-21Include header needed for ptrdiff_t.Mitchell Foral1-0/+1
2018-03-19Fix warning from MSVC 64-bit.Neil1-2/+2
2017-09-11The Scintilla namespace is always active for internal symbols and for the lexerNeil1-0/+2
interfaces ILexer4 and IDocument.
2017-05-21Make SplitVector work with move-only types like unique_ptr.Neil1-2/+11
Provide InsertEmpty and both const and non-const reference returning operator[]. Add and fix comments.
2017-04-22Include <memory> for std::unique_ptr.Neil1-0/+1
2017-04-01Standardize on C++ headers, remove headers that aren't needed and add <cstddef>Neil1-1/+1
where it may be needed in the future.
2016-09-30Enable SplitVector to store objects by using std::copy to copy elements insteadNeil1-0/+104
of memmove and memcpy. This allows SplitVector<std::string> to work.
2015-07-27Add Position.h as a place-holder and to allow #include "Position.h" in source.Neil1-0/+1
2015-07-04Unit tests need to see std::exception now.Neil1-0/+1
2013-11-17Switch unit tests to Catch framework.Neil1-176/+168
2013-04-19Using std::fill instead of a loop is much faster. As much as 4x on a large ↵nyamatongwe1-0/+2
block.
2011-02-01Unit tests for Scintilla data structures.nyamatongwe1-0/+220