Commit graph

549 commits

Author SHA1 Message Date
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
Richard Frith-Macdonald
2a24e8d080 fixups for setting/getting nil/empty query string values 2020-04-04 22:37:40 +01:00
fredkiefer
b0c763de36 Build the string instead of the URL.
Build the URL on the fly.
2020-04-04 20:33:55 +02:00
Gregory John Casamento
d691df9cbf Fix error in test compilation 2020-04-04 12:34:15 -04:00
Gregory John Casamento
213344d862 Add tests and modifications to pass them 2020-04-04 12:15:17 -04:00
Gregory John Casamento
564f61d572 Add tests for NSURLComponents 2020-04-04 09:44:22 -04:00
Niels Grewe
115d41738a
NSBundle tests: Rely on executable -rpath, not on TestInfo environment 2020-03-09 07:43:14 +01:00
Niels Grewe
62cd15a74c
NSBundle tests: fix framework linkage with older linkers 2020-03-08 13:24:03 +01:00
fredkiefer
eda24a2c02 Set test framework version to two. 2020-03-07 10:49:26 +01:00
fredkiefer
baa8e2465b Extend NSBundle test to check for framework resource loading. 2020-03-01 10:41:14 +01:00
Richard Frith-Macdonald
0cd9843f5f workaround for conflisct with clang/unistd.h 2020-02-08 16:37:42 +00:00
Frederik Seiffert
d8565b075f Skip NSHashTable/NSMapTable weak objects tests if ARC is unavailable 2019-12-10 11:57:50 +01:00
Fred Kiefer
260a2cb969
Merge branch 'master' into add-weak-table-tests 2019-12-07 11:00:44 +01:00
Niels Grewe
b238f8169b
Merge remote-tracking branch 'origin/master' into swift-corelibs-libdispatch 2019-12-03 09:37:27 +01:00
Niels Grewe
b39c9e499c
fix a concurrency issue in NSArray enumeration test 2019-12-02 23:58:22 +01:00
Niels Grewe
ecd2d85cb9
Fix runloop integration for libdispatch from swift 2019-11-28 19:12:13 +01:00
Frederik Seiffert
79ac00e42c Added tests for NSHashTable/NSMapTable weak objects 2019-11-04 16:01:36 +01:00
Richard Frith-Macdonald
d7d4400836 fix typo 2019-09-30 09:36:31 +01:00
Gregory Casamento
f8bdca966f
Merge pull request #74 from gnustep/NSFile_changes_branch
NSFile changes branch
2019-09-28 01:29:34 -04:00
Gregory John Casamento
2037a42bb5 Remove generated GNUmakefile. 2019-09-27 02:05:29 -04:00
Gregory John Casamento
ced9f127e9 Fix issue with name parser 2019-09-27 00:00:59 -04:00
Gregory John Casamento
8e6a4cc18d Add tests 2019-09-26 19:10:01 -04:00
Gregory John Casamento
17418f6ffc Add tests 2019-09-26 16:16:58 -04:00
Richard Frith-Macdonald
ecc770e5a9 work with other C standards 2019-09-26 15:40:09 +01:00
rfm
51092fac8d
Merge pull request #68 from gnustep/fix-dict-sort-kbv
Fixing NSDictionary keysSortedByValueUsingComparator:
2019-09-26 15:39:01 +01:00
Richard Frith-Macdonald
8363a7f3a1 Added check for blocks availability. Added testcase for sort by selector.
Tidied to match coding style
2019-09-26 12:44:25 +01:00
Richard Frith-Macdonald
ddcff45b89 add test for removing all the objects in an array.
cleanup other tests a bit
2019-09-25 10:36:41 +01:00
Patryk Laurent
a4ec3d9d6f add missing imports 2019-09-02 16:00:17 -07:00
Patryk Laurent
155bec0aca Add (failing) test for keysSortedByValueUsingComparator: 2019-09-02 15:38:35 -07:00