notepad-plus-plus-legacy/scintilla/test/unit/unitTest.cxx
Don Ho ffdebe56ed [BUG_FIXED] (Author: François-R Boyer & Dave Brotherstone) Regex search and replace haning problem fix.
git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@1009 f5eea248-9336-0410-98b8-ebc06183d4e3
2013-01-25 00:46:29 +00:00

51 lines
977 B
C++

// Unit Tests for Scintilla internal data structures
/*
Currently tested:
SplitVector
Partitioning
RunStyles
ContractionState
To do:
Decoration
DecorationList
PerLine *
CellBuffer *
Range
StyledText
CaseFolder ...
Document
RESearch
Selection
UniConversion
Style
lexlib:
Accessor
LexAccessor
CharacterSet
OptionSet
PropSetSimple
StyleContext
WordList
*/
#include <stdio.h>
#include "Platform.h"
#include <gtest/gtest.h>
// Needed for PLATFORM_ASSERT in code being tested
void Platform::Assert(const char *c, const char *file, int line) {
fprintf(stderr, "Assertion [%s] failed at %s %d\n", c, file, line);
abort();
}
int main(int argc, char **argv) {
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}