Commit graph

15 commits

Author SHA1 Message Date
Richard Frith-Macdonald
1066ec7015 Ensure we are testing the internal 16bit unicode representation class. 2018-07-02 14:20:58 +01:00
fredkiefer
ab60bab84a * Source/GSString.m: Move the method _unicodeString from here...
* Tests/base/NSString/test00.m: ...to here.
2018-07-01 23:50:05 +02:00
fredkiefer
b36412d20f * Tests/base/NSString/test00.m: Add David Chisnall's test from
newapi branch slightly reformatted.
2018-06-28 23:59:14 +02:00
Richard Frith-Macdonald
d98f941b26 fix to ensure we do searches with unicode (16bit) strings. 2018-02-27 15:06:51 +00:00
Richard Frith-Macdonald
776c0bbcd8 Fix boundary checks searching for unicode strings 2018-02-25 22:30:08 +00:00
Richard Frith-MacDonald
0224ae5360 a few more range checks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38571 72102866-910b-0410-8b05-ffd578937521
2015-05-26 17:27:14 +00:00
Richard Frith-MacDonald
507deac980 more testcases
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38523 72102866-910b-0410-8b05-ffd578937521
2015-05-22 15:30:23 +00:00
Richard Frith-MacDonald
5d2cc22bfe add a couple of checks for hasPrefix: and hasSuffix:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38522 72102866-910b-0410-8b05-ffd578937521
2015-05-22 15:28:35 +00:00
Richard Frith-MacDonald
1b78cfe4bd tidy and add a couple of tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38521 72102866-910b-0410-8b05-ffd578937521
2015-05-22 15:23:09 +00:00
Richard Frith-MacDonald
245e957635 fix for bug #42483
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37934 72102866-910b-0410-8b05-ffd578937521
2014-06-01 18:08:44 +00:00
Richard Frith-MacDonald
07ae82508f test for overlong mantissa in double value
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37009 72102866-910b-0410-8b05-ffd578937521
2013-08-22 19:56:43 +00:00
Richard Frith-MacDonald
75661de25e fix for overrun when searching backwards (spotted by Fred using valgrind)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36204 72102866-910b-0410-8b05-ffd578937521
2013-02-28 12:51:27 +00:00
Richard Frith-MacDonald
ea9c318c42 add substring test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34864 72102866-910b-0410-8b05-ffd578937521
2012-03-02 18:59:45 +00:00
Richard Frith-MacDonald
e6dc5a58b6 Important change to the START_SET and END_SET macros to stop their use
being confusing.  They now both take a simple C-string argument which
names the set, and the macros check that each end matches a start of
the same name.  Since tis means that a START_SET no longer takes an
argument sayng whether or notthe set is to be skipped, we now have a
SKIP macro to be used inside a set to skip to the end of it.  This
is actually more versatile as we can have multiple SKIP macros in the
same set, each providing a different reason for the set being skipped.
Also removed a few obsolete/unused functions and macros.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32355 72102866-910b-0410-8b05-ffd578937521
2011-02-24 16:26:01 +00:00
Richard Frith-MacDonald
0e02133729 import testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32187 72102866-910b-0410-8b05-ffd578937521
2011-02-16 08:21:17 +00:00