aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/unit
AgeCommit message (Collapse)AuthorFilesLines
2014-05-21Updated to current version of Catch as fixes issues reported by undefinedNeil1-555/+398
behaviour sanitizer.
2014-05-15Don't try to use sanitizers on OS X as not built into Clang.Neil Hodgson1-2/+5
2014-05-15Support Clang on Linux and turn on the address and undefined behaviourNeil1-1/+6
sanitizers.
2014-05-15Update Catch unit testing framework to current build 43 as it avoids someNeil1-1989/+3048
warnings from Clang.
2014-01-14Avoid warnings from cppcheck for testing code.Neil1-0/+2
2013-11-18Added necessary header.Unknown1-1/+2
2013-11-18Add some tests for CellBuffer.Neil4-1/+152
2013-11-18Add some tests for DecorationList.Neil2-1/+45
2013-11-17Added tests for Decoration.Neil4-2/+52
2013-11-17Switch unit tests to Catch framework.Neil13-1022/+8833
2013-04-19Using std::fill instead of a loop is much faster. As much as 4x on a large ↵nyamatongwe4-0/+8
block.
2013-04-15Update tests for last change to RunStyles as it no longer throws in FillRange.nyamatongwe1-5/+1
2013-04-15RunStyles can be corrupted by filling 0 length ranges and ranges that go ↵nyamatongwe1-0/+18
past end so throw std::invalid_argument exceptions for these conditions. Provide a Check method to validate the consistency of a RunStyles and throw std::runtime_error if corruption is detected.
2012-09-12Fix bug where removing all characters from indicator at end of document didnyamatongwe1-0/+31
not remove that run causing iteration over the indicator to hang.
2012-05-29add CharClassifier::GetCharsOfClassMook2-1/+111
add SCI_GETWORDCHARS(<unused>, stringresult chars) command to get word chars add SCI_GETWHITESPACECHARS(<unused>, stringresult chars) to get whitespace chars add SCI_GETPUNCTUATIONCHARS(<unused>, stringresult chars) to get punctutation also add tests for {Set,Get}{Word,Whitespce,Punctuation}Chars, CharClassifier
2011-06-07Testing RunStyles::AllSame and RunStyles::AllSameAs.nyamatongwe1-0/+18
2011-06-07Add tests for bug found in #3291579 and for new RunStyles::Findnyamatongwe2-0/+119
and ContractionState::HiddenLines methods.
2011-02-13Avoid unnecessary relinks on Windows.nyamatongwe1-2/+4
2011-02-13Added Merge method to SparseState to make it possible to detect significantnyamatongwe1-1/+100
changes in lexers which will require styling beyond the end of the current range.
2011-02-10Only append a state if the value differs from the last current value.nyamatongwe1-0/+7
2011-02-10New class SparseState for storing lexer state that may notnyamatongwe1-0/+138
change on most lines.
2011-02-03Added some coverage testing.nyamatongwe1-1/+5
2011-02-01Added runStyles tests.nyamatongwe1-1/+1
2011-02-01Unit tests for Scintilla data structures.nyamatongwe8-0/+850