aboutsummaryrefslogtreecommitdiff
path: root/test/common/str.h
AgeCommit message (Collapse)Author
2008-09-05additional Common::String testsWillem Jan Palenstijn
svn-id: r34369
2008-09-05Optimized matchString for the common case where there is a trailing * (if ↵Max Horn
that is the case, abort immediately instead of scanning the rest of the string) svn-id: r34367
2008-09-05Moved matchString from util.* to str.*; added new String::matchString ↵Max Horn
method; fixed matchString doxygen comment (it confused pattern & string); added unit tests for matchString svn-id: r34364
2008-09-02Added two new global funcs which ease proper handling of 'path' strings: ↵Max Horn
Common::lastPathComponent() and Common::normalizePath() svn-id: r34272
2008-07-23Added convenience method String::makeUnique(); simplified ↵Max Horn
String::operator=(char c); extended String unit tests svn-id: r33246
2008-07-23Fix String::trim to work right for shared strings; augemented test cases to ↵Max Horn
cover this svn-id: r33234
2008-07-22Added String::trim() methodMax Horn
svn-id: r33203
2008-07-20Fixed potential issue in Common::String when asserting a substring of a ↵Max Horn
string X back to X (memcpy -> memmove); also added some other sanity checks, and merged some duplicate code into a new method String::initWithCStr svn-id: r33137
2007-09-19Merged common/stdafx.h into common/scummsys.h. All referencing files have ↵Nicola Mettifogo
been updated. svn-id: r28966
2007-04-15Added Common::String::contains() methodMax Horn
svn-id: r26514
2006-09-30Added some String tests, to verify copy-on-write works correctlyMax Horn
svn-id: r24045
2006-03-28Renamed various container isEmpty() methods to empty() to match STL conventionsMax Horn
svn-id: r21472
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-06-24When including files from common/, explicitly use the common/ prefixMax Horn
svn-id: r18444
2005-02-06Add testcases for String::hasSuffix and hasPrefixMax Horn
svn-id: r16745
2003-12-24simple unit tests for List/Map/String classesMax Horn
svn-id: r11886