diff options
author | mitchell <unknown> | 2018-05-05 23:10:51 -0400 |
---|---|---|
committer | mitchell <unknown> | 2018-05-05 23:10:51 -0400 |
commit | 92676970616a5163636329e49c4cc825e46d6c7f (patch) | |
tree | 9e2cc612919e2bc1ee50a31dc0fd8bb7652d94d7 /test | |
parent | 74d9510a055d6b9aa9d7679522f255db62de76d0 (diff) | |
download | scintilla-mirror-92676970616a5163636329e49c4cc825e46d6c7f.tar.gz |
Backport: Add SC_DOCUMENTOPTION_TEXT_LARGE option for documents larger than 2 GigaBytes.
This option is provisional and experimental.
Backport of changesets 6696:9729ff36c5b1 and 6723:cffe824ab55e. Also added
'#include <cstddef>' to top of src/RESearch.cxx to fix 32-bit build error.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/testCellBuffer.cxx | 2 | ||||
-rw-r--r-- | test/unit/testContractionState.cxx | 2 | ||||
-rw-r--r-- | test/unit/testPartitioning.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/testCellBuffer.cxx b/test/unit/testCellBuffer.cxx index f0192423c..cef88cb17 100644 --- a/test/unit/testCellBuffer.cxx +++ b/test/unit/testCellBuffer.cxx @@ -26,7 +26,7 @@ TEST_CASE("CellBuffer") { const char sText[] = "Scintilla"; const Sci::Position sLength = static_cast<Sci::Position>(strlen(sText)); - CellBuffer cb(true); + CellBuffer cb(true, false); SECTION("InsertOneLine") { bool startSequence = false; diff --git a/test/unit/testContractionState.cxx b/test/unit/testContractionState.cxx index b0346dfc9..fcee90287 100644 --- a/test/unit/testContractionState.cxx +++ b/test/unit/testContractionState.cxx @@ -25,7 +25,7 @@ using namespace Scintilla; TEST_CASE("ContractionState") { - std::unique_ptr<IContractionState> pcs = ContractionStateCreate(); + std::unique_ptr<IContractionState> pcs = ContractionStateCreate(false); SECTION("IsEmptyInitially") { REQUIRE(1 == pcs->LinesInDoc()); diff --git a/test/unit/testPartitioning.cxx b/test/unit/testPartitioning.cxx index 69bbe7957..449253ef3 100644 --- a/test/unit/testPartitioning.cxx +++ b/test/unit/testPartitioning.cxx @@ -50,7 +50,7 @@ TEST_CASE("SplitVectorWithRangeAdd") { TEST_CASE("Partitioning") { - Partitioning<int> part(growSize); + Partitioning<Sci::Position> part(growSize); SECTION("IsEmptyInitially") { REQUIRE(1 == part.Partitions()); |