rfm
3bcb484691
Merge pull request #416 from gnustep/enumerateSubstringInRange
...
Fix broken enumerateSubstringsInRange:options:usingBlock: implementation
2024-06-11 13:29:48 +01:00
Hugo Melder
4d3926d250
Implement -[NSString enumerateLinesUsingBlock:] ( #407 )
...
* Implement -[NSString enumerateLinesUsingBlock:]
* Fix formatting
* Use GNUstep CALL_BLOCK macro
2024-06-04 22:19:45 +02:00
hmelder
edbc859093
NSString: Add enumerateSubstringsInRange tests
2024-06-04 12:10:31 +02:00
ethanc8
b8239f604f
Implement -[NSString enumerateSubstringsInRange:options:usingBlock]
2023-12-31 22:41:45 -06:00
Hugo Melder
2e65ee34f1
Disable tilde abbreviation test on Windows
2022-08-04 17:05:55 +02:00
Levin Li
fe2f41c7f1
Use encoding number values from Apple
2021-12-26 14:22:04 +08:00
Richard Frith-Macdonald
a0fd4bde68
a few more bom tests
2021-04-14 09:14:51 +01:00
Richard Frith-Macdonald
67faee95f9
a few bom generation checks
2021-04-13 17:36:46 -04:00
Richard Frith-Macdonald
309eb5fb6c
Change sense of test so that success of resolving a relative link is a pass
2021-02-09 15:48:08 -05:00
Richard Frith-Macdonald
ba24a18176
Add a fgew tests for capitalisation
2020-06-24 11:34:50 +01:00
Richard Frith-Macdonald
064c779fca
an empty string is not equal to nil
2020-06-23 06:53:47 +01:00
Artem Lotorev
56be28aa11
Fixed build issue due to wrong argument in the macro
2020-04-28 03:07:09 +03:00
Artem Lotorev
2e22bf344d
Added helper method for percent decoding/encoding tests
2020-04-28 02:27:18 +03:00
Artem Lotorev
4b53530b5c
Added test for [NSString stringByRemovingPercentEncoding], updated percent-encoding tests with PASS_EQUAL
2020-04-27 19:59:05 +03:00
Richard Frith-Macdonald
8ed7ccea9e
Cleanups to avoid code conflicts and buffer overrun fixes.
2019-04-16 08:07:16 +01:00
Gregory John Casamento
665bdcf952
Add test for emoji's back in.
2019-04-13 04:52:48 -04:00
Gregory John Casamento
298f87d24e
All tests passing. Implementation of string and nscharacterset methods completed
2019-04-12 08:46:41 -04:00
Gregory John Casamento
f1b48541ae
Fix issue with character set caching.
2019-04-12 06:57:40 -04:00
Gregory John Casamento
51e0e3f45e
Some additional changes to the test
2019-04-10 05:43:25 -04:00
Gregory John Casamento
2a7183cb27
Latest changes to test
2019-04-09 06:44:56 -04:00
Gregory John Casamento
4b1138259c
Add test09 to test new functions.
2019-04-09 06:30:42 -04:00
Richard Frith-Macdonald
e60b2004af
UTF8 parsing improvements
2018-07-14 07:25:40 +01:00
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
4aa8ca1e6d
just one more testcase
2018-02-09 08:30:08 +00:00
Wolfgang Lux
4e383e19d0
Fix incorrect unicode escape sequence, use common smiley character
2017-07-10 15:06:13 +02:00
Wolfgang Lux
bc285396da
Characters outside the BMP cannot be converted to Latin 1 string encoding
2017-07-10 10:16:27 +02:00
Richard Frith-Macdonald
99a3655108
surrogate pair test
2017-07-06 16:15:51 +01:00
Richard Frith-MacDonald
85e8bdb20d
non-lossy emncoding tests
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40394 72102866-910b-0410-8b05-ffd578937521
2017-03-17 11:50:05 +00:00
Niels Grewe
0abb1803ce
s/codpepoint/codepoint
...
Thanks Ivan!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40141 72102866-910b-0410-8b05-ffd578937521
2016-10-11 17:12:31 +00:00
Niels Grewe
aadf76eeb6
Fix testcase for 0xfffe in a string (in initial position it
...
it is just used to derive the byte-order and then discarded)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40140 72102866-910b-0410-8b05-ffd578937521
2016-10-11 12:35:29 +00:00
Richard Frith-MacDonald
63bd893d1e
more characters
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40109 72102866-910b-0410-8b05-ffd578937521
2016-09-26 11:11:05 +00:00
Richard Frith-MacDonald
dbc9328a61
add fffd and ffff
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40108 72102866-910b-0410-8b05-ffd578937521
2016-09-26 11:04:51 +00:00
Richard Frith-MacDonald
34bcd16ed3
test for unicode noncharacter codepoint
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@40107 72102866-910b-0410-8b05-ffd578937521
2016-09-26 10:59:02 +00:00
Richard Frith-MacDonald
96d39e79bc
If we don't have a home directory, we can't expand a '~' in a path.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39926 72102866-910b-0410-8b05-ffd578937521
2016-06-26 12:04:23 +00:00
Richard Frith-MacDonald
97d38ffc0c
Fix incorrect use of autorelease pools.
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39760 72102866-910b-0410-8b05-ffd578937521
2016-05-14 05:27:09 +00:00
Richard Frith-MacDonald
53e2ded50a
numeric sort test
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39667 72102866-910b-0410-8b05-ffd578937521
2016-04-14 14:59:29 +00:00
Richard Frith-MacDonald
62d2bcbabc
changes for use of _WIN32 define on windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39492 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:16:16 +00:00
Richard Frith-MacDonald
9fbe3bafef
fixes for tilde handling on windows
...
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39466 72102866-910b-0410-8b05-ffd578937521
2016-03-05 17:28:06 +00:00
Niels Grewe
17d379a59a
Optimise appending UTF-16 strings for formatting
...
If the string being appended to already uses unichar as the underlying
character type, append the new characters using memcpy() instead of
looping over them individually. Also includes test cases to verify that
nothing breaks.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38969 72102866-910b-0410-8b05-ffd578937521
2015-09-04 09:48:07 +00:00
Richard Frith-MacDonald
a4d1a09c89
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
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
f0fdeca45c
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
Richard Frith-MacDonald
ca81536515
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