implement TextLoader tests, add TestSupport module

This commit is contained in:
josh committed 2016-07-16 21:28:29 -04:00
1 parent 181d3ad64a
commit 3be19dbf81
11 files changed
+110 -59

No files matched your search

+2 -1
View File
@@ -33,10 +33,11 @@ public:
auto begin() { return m_lines->begin(); }
auto end() { return m_lines->end(); }
protected:
typedef std::pair<const uint8_t *, uint32_t> LineIndexPair;
typedef std::list<LineIndexPair> LineIndexPairList;
typedef std::shared_ptr<LineIndexPairList> LineIndexPairListRef;
protected:
int m_line_endings;
LineIndexPairListRef m_lines;
};