Commit graph

577 commits

Author SHA1 Message Date
Richard Frith-Macdonald
e6c387f8fd Fixup to perform a full load 2021-02-15 21:20:22 +00:00
Richard Frith-Macdonald
4b5e342c89 Check that a POST actually finishes 2021-02-15 20:41:58 +00:00
Frederik Seiffert
5c562c546f Windows MSVC fixes 2021-02-12 14:33:04 +01:00
Richard Frith-Macdonald
05542be4c7 iComment on why we have a hope 2021-02-09 21:29:40 +00: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
6977d9e759 Test for initialisation with nil string 2021-02-04 11:12:15 +00:00
Richard Frith-Macdonald
e2f6d591b3 Merge branch 'master' of ssh://github.com/gnustep/libs-base 2021-01-23 13:47:29 +00:00
Richard Frith-Macdonald
f4da566b94 Simple check for timezone adjustments around 1970 2021-01-22 10:34:06 +00:00
Richard Frith-Macdonald
0ece3b8980 avoid clash with strnstr() declaration on bsd systems 2021-01-22 03:47:16 -05:00
Richard Frith-Macdonald
68308540bd Add a couple of teswts for scanning zeros as doubles 2021-01-21 14:38:31 +00:00
Richard Frith-Macdonald
5026274f6c fix stupid mistake using wrong string value 2020-12-15 12:34:03 +00:00
Richard Frith-Macdonald
bcbdeb64a8 Fix initialisation of NSUUID from string (permit mixed case hex digits) 2020-12-15 10:40:55 +00:00
Richard Frith-Macdonald
aff02f4d08 Create temporarry file in current directory and delete it when done ... fixes testcase to work on windows. 2020-12-03 09:22:15 -05:00
Richard Frith-Macdonald
1b7bf26bea Merge changes for NSURLSession from EngageHub (formerly Brainstorm). 2020-11-29 06:57:47 -05:00
Richard Frith-Macdonald
a34beadb8e Merge branch 'gnustep_testplant_mergeback' of https://github.com/TestPlant/libs-base into TestPlant-gnustep_testplant_mergeback
Conflicts:
	ChangeLog
2020-11-13 05:39:15 +00:00
Richard Frith-Macdonald
9b8a84d936 allow more time for operations thread to exit on slow machines 2020-11-12 11:37:53 +00:00
Adam Fox
0b69d88ee2 Implementation of [NSData rangeOfData:options:range], adapted from [NSString rangeOfString:options:range]. 2020-10-12 12:22:00 -06:00
Richard Frith-Macdonald
2a522739cb add test for array as key 2020-09-23 08:39:33 +01:00
Richard Frith-Macdonald
689932aa10 add checks for rewriting a file 2020-07-31 15:02:15 +01:00
Richard Frith-Macdonald
15749a312d Add check for timestamp behavior when writing via NSData method 2020-07-31 14:34:07 +01:00
Richard Frith-Macdonald
5408a71964 add delay to be clear file date is in past before we copy it 2020-07-31 09:10:41 +01:00
Richard Frith-Macdonald
c1d4629a83 OSX, unlike Posix, sets the modification and creation dates of a copy to be the same as the original (within floating point limits). 2020-07-30 16:39:47 +01:00
Richard Frith-Macdonald
cf3fc4648c Add test that creation/modification dates of copy differ from original 2020-07-29 14:58:21 +01: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
Richard Frith-Macdonald
c04911d84f Fix by Yavor Doganiv ... disable certificate expiry test except on 64bit systems, because old 32bit systems can't cope with the test certificate end date. 2020-06-12 09:11:41 +01:00
Frederik Seiffert
e87d481f64 Add tests for NSValueTransformer. 2020-06-11 14:15:57 +02:00
Frederik Seiffert
b05c6d65bf Test replacing a weak value in NSMapTable. 2020-06-05 11:48:35 +02:00
Richard Frith-Macdonald
1be8a1375a tidy whitespace 2020-05-29 16:24:59 +01:00
Richard Frith-Macdonald
4da65fa4ff Add tests for exactly when notification of thread exit occurs 2020-05-26 16:26:35 +01:00
Frederik Seiffert
cd251a531a Extended general tests for NSUserDefaults. 2020-05-26 13:16:19 +02:00
fredkiefer
6c7defba24 * Tests/base/NSLocale/general.m: Mark more tests that depend on
locale setting as hopes.
* Tests/base/NSXMLParser/parse.m: Mark stream test as hopeful as
this isn't implemented at the moment.
* Tests/base/NSURL/basic.m: Use PASS_EQUAL in the downlaod test
to get the actual http status reported.
2020-05-09 15:46:32 +02:00
Richard Frith-Macdonald
2b704dd9d4 Update testcses to cover both parsers 2020-05-06 15:23:18 +01:00
rfm
ca2abf51f7
Merge pull request #130 from triplef/add-nsxmlparser-stream-support
Implement -[NSXMLParser initWithStream:].
2020-05-06 14:08:39 +01:00
Fred Kiefer
0b4f3b382a
Merge pull request #126 from alotorev/bugfix/NSURLComponents
Bugfix/nsurl components
2020-05-06 13:09:35 +02:00
Frederik Seiffert
5dfda50d82 Implement -[NSXMLParser initWithStream:]. 2020-05-05 19:41:22 +02:00
Richard Frith-Macdonald
dcfe2a2ce3 Fix -[NSCharacterSet invertedSet] to work by calling -invert on a mutable copy 2020-05-05 09:51:34 +01:00
alotorev
4aa11f3e48 Improvements suggested by Fred Kiefer for the current pull request 2020-05-04 10:55:41 +03:00
alotorev
57f3dd66f6 Added tests to highlight some problems of the current implementation of NSURLQueryItems and NSURLComponent. The tests passed on OSX. 2020-05-04 01:23:28 +03:00
Artem Lotorev
58e1b0ed48 Added param to run a test on a separate object or test file. Added .DS_Store to .gitignore 2020-04-30 14:18:05 +03: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
fredkiefer
a48694941c Add newer features for NSDateComponents and
started to clean up NSCalendar implementation.
2020-04-26 21:13:22 +02:00
Richard Frith-Macdonald
ccfb05525e Merge branch 'master' of github.com:gnustep/libs-base 2020-04-21 09:03:25 +01:00
Richard Frith-Macdonald
cd68b7e4da Add tests for notification equality 2020-04-21 09:02:34 +01:00
Richard Frith-Macdonald
6ee0cfff00 Add testcase for multiple clookies in a header. Fix error parsing a literal
string (writing nul terminator to read only memory)
2020-04-16 20:19:53 +01:00
Richard Frith-Macdonald
225de7f9b3 test the URL component character sets 2020-04-13 09:20:59 +01:00
Richard Frith-Macdonald
61bd73832f use PASS_EQUAL for better diagnostics 2020-04-10 14:23:22 +01:00
Richard Frith-Macdonald
4bc622bafd Add a few tests and fix a few warnings 2020-04-05 10:25:54 +01:00