Commit graph

46 commits

Author SHA1 Message Date
rfm
1abe6b4726 simple test for finding embeded nul
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38822 72102866-910b-0410-8b05-ffd578937521
2015-07-21 16:35:46 +00:00
rfm
1b7218fcef 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
rfm
009ecb41d6 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
rfm
23c0c0952d 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
rfm
e882a46c80 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
rfm
4eded59443 a few last fsf address updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38415 72102866-910b-0410-8b05-ffd578937521
2015-03-21 15:11:56 +00:00
rfm
a75ab40fec fix (and test) for bug #43722
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38213 72102866-910b-0410-8b05-ffd578937521
2014-11-29 11:02:23 +00:00
rfm
9e17f30f8b 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
rfm
cdcb7a0310 Mimic OSX handling of what appears to be an ICU bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37793 72102866-910b-0410-8b05-ffd578937521
2014-04-12 04:38:13 +00:00
rfm
1a3698162b make string standardisation more consistent
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37675 72102866-910b-0410-8b05-ffd578937521
2014-02-03 13:30:46 +00:00
rfm
e41faab415 test for appending bare separator
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37674 72102866-910b-0410-8b05-ffd578937521
2014-02-03 12:16:30 +00:00
rfm
e92bfba565 restructure/fix msys root detection
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37583 72102866-910b-0410-8b05-ffd578937521
2014-01-12 16:24:35 +00:00
rfm
852b3ff8e5 add a few character encoding tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37064 72102866-910b-0410-8b05-ffd578937521
2013-09-10 15:54:30 +00:00
rfm
b53f054489 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
rfm
7f9100cb96 improve double scanning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36501 72102866-910b-0410-8b05-ffd578937521
2013-04-10 22:03:52 +00:00
rfm
eed9d7ddec tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36464 72102866-910b-0410-8b05-ffd578937521
2013-04-04 08:12:51 +00:00
rfm
6da5d98af9 skip test if we can't expect it to run as root
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36462 72102866-910b-0410-8b05-ffd578937521
2013-04-03 21:54:43 +00:00
rfm
15f378e72a add tests for abbreviation of home directory with tilde
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36429 72102866-910b-0410-8b05-ffd578937521
2013-03-25 14:14:04 +00:00
rfm
983edbe0ef add some keyed coding tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36424 72102866-910b-0410-8b05-ffd578937521
2013-03-25 11:05:32 +00:00
rfm
60c04b53e6 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
ericwa
b2e4fadd62 * Tests/base/NSString/locale.m: Expand test of compare:
and rangeOfString:. Mark as hopeful for the moment. All pass
on Mac OS 10.7.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34878 72102866-910b-0410-8b05-ffd578937521
2012-03-05 07:08:46 +00:00
ericwa
0e7c60f779 * Tests/base/NSString/locale.m: Add a simple test for locale sensitive
compare: and rangeOfString: methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34869 72102866-910b-0410-8b05-ffd578937521
2012-03-02 22:03:27 +00:00
rfm
fc5be9646b 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
rfm
97b04c6d4e add tests for replacing percent escapes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34859 72102866-910b-0410-8b05-ffd578937521
2012-03-02 08:13:49 +00:00
rfm
f2d0bb8ab0 improve encoding tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34680 72102866-910b-0410-8b05-ffd578937521
2012-01-31 10:37:13 +00:00
rfm
48fa5991ab Tweaks to support UTF-8 literal string encoding supported by more recent
compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33972 72102866-910b-0410-8b05-ffd578937521
2011-10-12 14:28:44 +00:00
theraven
6ecc626629 Fix the test on 64-bit (am I the first person to run this test on LP64?). NSTemporaryDirectory was not declared, so its return type was int, and so the object pointer was truncated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33730 72102866-910b-0410-8b05-ffd578937521
2011-08-13 18:32:10 +00:00
theraven
f72d31cd68 Clean up NSRegularExpression, so that it compiles without warnings with or without ICU, but we don't pretend that we support things that we don't and silently return nonsense results to make debugging difficult for GNUstep users.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33688 72102866-910b-0410-8b05-ffd578937521
2011-08-03 12:04:27 +00:00
theraven
a04ed1a9ff Make base do unintuitive and stupid things in the name of Apple compatibility (hopefully Apple will fix their implementation in 10.7.something...).
Fix some tests.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33687 72102866-910b-0410-8b05-ffd578937521
2011-08-03 09:04:12 +00:00
fredkiefer
5134f51320 Small fixes on tests.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33681 72102866-910b-0410-8b05-ffd578937521
2011-08-02 08:52:15 +00:00
theraven
b45d78dfa7 Added NSRegularExpressionSearch (10.7) support to NSString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33600 72102866-910b-0410-8b05-ffd578937521
2011-07-21 13:17:27 +00:00
rfm
c078d97164 portability bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32769 72102866-910b-0410-8b05-ffd578937521
2011-04-04 10:57:49 +00:00
rfm
213d36b7d0 make relative link test into a hope
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32696 72102866-910b-0410-8b05-ffd578937521
2011-03-24 05:40:57 +00:00
rfm
e1b6677bf8 fix test of expansion of relative symlinks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32695 72102866-910b-0410-8b05-ffd578937521
2011-03-24 05:17:47 +00:00
rfm
0cd0210518 check for failures
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32615 72102866-910b-0410-8b05-ffd578937521
2011-03-16 15:25:09 +00:00
rfm
1214410b14 don't call pass directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32614 72102866-910b-0410-8b05-ffd578937521
2011-03-16 15:12:49 +00:00
rfm
194166de96 link expansion checks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32469 72102866-910b-0410-8b05-ffd578937521
2011-03-06 05:49:36 +00:00
rfm
3fba03ba55 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
rfm
bfc4cd5b35 Add TestInfo markers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32335 72102866-910b-0410-8b05-ffd578937521
2011-02-23 18:34:39 +00:00
rfm
f4a4b31710 Path standardisation tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32328 72102866-910b-0410-8b05-ffd578937521
2011-02-23 14:59:06 +00:00
rfm
f2e81c9391 OSX compatibility changes and other minor tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32279 72102866-910b-0410-8b05-ffd578937521
2011-02-22 07:05:36 +00:00
rfm
a1d002fdbf more deletion tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32278 72102866-910b-0410-8b05-ffd578937521
2011-02-22 05:49:34 +00:00
rfm
9f2c96522b osx compatibility tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32277 72102866-910b-0410-8b05-ffd578937521
2011-02-22 05:41:51 +00:00
rfm
fafc78683f add a couple of symlink tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32276 72102866-910b-0410-8b05-ffd578937521
2011-02-22 05:11:19 +00:00
rfm
3ee426316e fix include order error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32203 72102866-910b-0410-8b05-ffd578937521
2011-02-18 11:48:28 +00:00
rfm
b179b29898 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