Commit graph

775 commits

Author SHA1 Message Date
Hugo Melder
2e65ee34f1 Disable tilde abbreviation test on Windows 2022-08-04 17:05:55 +02:00
Hugo Melder
98ff5d2a16 Check for UTF8String in NSProgress unit test 2022-08-04 17:05:55 +02:00
Hugo Melder
e052d5764a Change Objective-C string to cstring in NSProgress unit test 2022-08-04 17:05:55 +02:00
Hugo Melder
52b8752776 Check for nil in NSData Test 2022-08-04 17:05:55 +02:00
Hugo Melder
096f6e7fec Missing semicolon and misplaced code in GSTLS unit test 2022-08-04 17:05:55 +02:00
Hugo Melder
c70ba22b0c Remove modified GNUmakefile 2022-08-04 13:13:55 +02:00
Hugo Melder
0eae4f67de Add modified GNUmakefile 2022-08-04 13:12:05 +02:00
Hugo Melder
57233b1332 Remove .type files and add it to gitignore 2022-08-04 13:07:50 +02:00
Hugo Melder
e6789cb7ed Fix coding unit test and tolerate size differences 2022-08-04 13:05:43 +02:00
Hugo Melder
6fac511e43 Fix NSBundle test on Windows MSVC 2022-08-03 16:15:45 +02:00
Frederik Seiffert
8ca4381676 Add userInfo accessor to NSProgress. 2022-04-29 19:54:09 +02:00
Richard Frith-Macdonald
d18cba351c Add test for repeated combining characters 2022-04-07 14:34:26 +01:00
Gregory John Casamento
9cc7266931 Move era/hour/min/sec tests to it's own file. 2022-04-06 16:01:41 -04:00
Gregory John Casamento
e99dd4ec6b Add implementation for getEra:... and getHour:... method in NSCalendar. Add documentation to all methods. 2022-04-06 14:19:36 -04:00
Richard Frith-Macdonald
ae72ee4593 Fix for #243 2022-03-07 10:13:44 +00:00
Levin Li
d971813d2a Add test for zh-Hans_CN 2021-12-30 21:26:54 +08:00
Frederik Seiffert
1980f9bdf6 Extended tests for concurrent NSOperations
- trigger isFinished KVO notification when not being finished
- add test for completion handler
2021-12-27 21:52:34 +01:00
Fred Kiefer
e797128a03
Merge pull request #226 from levinli303/master
Support more DOS/Windows string encodings
2021-12-26 13:08:56 +01:00
Levin Li
fe2f41c7f1 Use encoding number values from Apple 2021-12-26 14:22:04 +08:00
Richard Frith-Macdonald
1c81bc1193 Update to have helper subtask tell master when it is ready for tests to start 2021-12-03 13:36:51 +00:00
Richard Frith-Macdonald
b7d82408a6 Make URL loading tests more reliable 2021-11-19 11:44:20 +00:00
Mads Marquart
4033ee28a8 Fix NSGetSizeAndAlignment usage
The argument order is (*sizep, *alignp), but it was often incorrectly used the other way around.
2021-11-02 10:18:05 +01:00
Mads Marquart
9684c9fda1 Add test to ensure that NSData assigns bytes and length
Specifically on initWithBytesNoCopy:length:deallocator:
2021-10-29 10:17:39 +02:00
Nuntius
b2983dc77a Workaround for the session retain loop 2021-09-04 13:07:14 +02:00
rfm
1e8ff8e628
Merge branch 'master' into nstimezone 2021-08-18 14:52:24 +01:00
Richard Frith-Macdonald
e3f558810f Remove unused test files 2021-08-18 14:36:45 +01:00
Richard Frith-Macdonald
c43ea6d474 Update for handling more future dates, and further testing. 2021-08-14 11:25:23 +01:00
Frederik Seiffert
f56d2689b6 Add test for NSFastEnumeration 2021-08-11 19:32:21 +02:00
Richard Frith-Macdonald
5162d888dc timezone updates for version2 files 2021-08-11 08:43:20 +01:00
Frederik Seiffert
852ec7be7d Tests: skip NSData gzip tests without zlib 2021-08-08 17:27:40 +02:00
Frederik Seiffert
5120069a88 Fix running tests under Windows MSVC
Remove -rpath flag when running tests with MSVC toolchain to fix build errors for tests as there is no rpath on Windows, and instead add object directory to PATH for Windows to find DLLs.
2021-08-08 17:27:40 +02:00
Frederik Seiffert
abfe4e2a04 Use native threading and locking APIs on Windows
Removes dependency on pthread library and uses fast Slim Reader/Writer (SRW) locks for NSLock/NSRecursiveLock/NSCondition/NSConditionLock as well as all internal locks. Adds GS_MUTEX_*() macros in GSPThread.h, that are being used for all internal locking instead of pthread APIs.

Also adds support for thread priorities on Windows, fixes method signature of +[NSThread setThreadPriority:] to match Apple platforms, and adds error handling in same method.
2021-07-29 14:22:27 +02:00
Richard Frith-Macdonald
49ba7d1ed1 fixup name of end of set 2021-07-19 10:54:42 +01:00
Frederik Seiffert
8f31087119 Fix compilation of NSTask test processgroup helper on Windows. 2021-07-14 10:09:45 +02:00
Frederik Seiffert
4ceea4159c Fix NSObject initialize test on Windows. 2021-07-14 10:09:45 +02:00
Frederik Seiffert
2212e08863 Fix NSJSONSerialization test on Windows.
"small" is defined as a macro in windows.h.
2021-07-14 10:09:45 +02:00
Frederik Seiffert
f492e50308 Make NSLock recursive lock test more robust.
Removed assumption that mutext ownership availability is tied to Windows platform and use config variable instead.
2021-07-14 10:09:45 +02:00
Frederik Seiffert
4a0e308383 Fix isa access in NSMethodSignature test. 2021-07-14 10:09:45 +02:00
Frederik Seiffert
1b826663f5 Add missing import statement in NSNumber test.
Fixes linker error on Windows MSVC.
2021-07-14 10:09:45 +02:00
Richard Frith-Macdonald
e2cbf5e871 Simple test of creating self-signed certificate credentials 2021-05-31 13:09:45 +01:00
Richard Frith-Macdonald
802c82cf33 Simple NSConnection client/server test tools 2021-05-31 13:08:40 +01:00
Richard Frith-Macdonald
8d75688048 Make test write a large request, not just a small one. 2021-05-19 11:07:45 +01:00
Richard Frith-Macdonald
782e7aed31 Fix for -setHTTPMaximumConnectionLifetime: 2021-05-05 12:04:28 +01:00
Richard Frith-Macdonald
9aa17b452c Merge branch 'master' of github.com:gnustep/libs-base 2021-04-14 09:15:27 +01:00
Richard Frith-Macdonald
a0fd4bde68 a few more bom tests 2021-04-14 09:14:51 +01:00
Richard Frith-Macdonald
91e071bcb4 a few tests for 24hour clock 2021-04-14 09:11:58 +01:00
Richard Frith-Macdonald
67faee95f9 a few bom generation checks 2021-04-13 17:36:46 -04:00
Frederik Seiffert
b05481a8c8 Don't resurrect GSFileHandle singletons.
It seems to be no longer possible to call -retain from -dealloc with the latest libobjc2, which was causing the tests to fail.

We are also throwing an exception in this case, which would need to be specifically caught in order for the resurrection to be of value to users, so this simply removes the -retain call and resets the singleton variables to nil in order to not have invalid pointers and for the singletons to be re-created on subsequent access.
2021-03-26 13:17:36 +01:00
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
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
Gregory Casamento
61b2cbe527
Merge pull request #65 from gnustep/NSProgress_fixes_branch
NSProgress fixes branch
2019-08-14 05:17:08 -04:00
Gregory John Casamento
0f09fefac3 Fix crash due to dictionary 2019-08-14 04:30:52 -04:00
Richard Frith-Macdonald
c4f3ae77fd fix to cmpile with older versions of C 2019-08-13 06:45:13 +01:00
Richard Frith-Macdonald
9a055f93ad Bugfix and improved logging 2019-08-12 16:37:38 +01:00
Gregory John Casamento
57f6c8b491 Add NSProgress tests 2019-08-10 01:40:44 -04:00
Gregory John Casamento
9c4d2ca982 Add NSProgress 2019-08-10 01:40:09 -04:00
Gregory John Casamento
ac5983cc1f Add test 2019-07-08 08:11:28 -04:00
Gregory John Casamento
679403c8d6 Add tests for NSUbiquitousKeyValueStore 2019-07-07 06:20:58 -04:00
Gregory Casamento
75f3f0b57d
Merge pull request #46 from gnustep/add_nsorderedset_classcluster
Add nsorderedset classcluster
2019-07-02 12:46:20 -04:00
Wolfgang Lux
7eb0858c4a Use fixed time zone in test case 2019-07-02 10:08:09 +02:00
Gregory John Casamento
458958554b Fixed test 2019-07-02 01:00:41 -04:00
Gregory John Casamento
ae46b02ee2 Add new tests for indexOfObjectAtIndexes:... 2019-07-01 19:23:45 -04:00
Gregory John Casamento
3b88b49eb0 Additional test for method requested to be tested 2019-07-01 18:40:32 -04:00
Gregory John Casamento
2d94f5d17f Add new test for indexesOfOobjectsMPassingTest: 2019-07-01 09:11:05 -04:00
Gregory John Casamento
d814df7311 Add new test for indexOfObjectPassingTest 2019-06-28 13:58:12 -04:00
fredkiefer
05233e64d6 Remove broken test. This code gave a bad access exception when run on a Mac. 2019-06-27 19:02:03 +02:00
fredkiefer
eff6575d9f Add test for isSubsetOfSet: and correct implementation to fit the test. 2019-06-27 15:26:01 +02:00
fredkiefer
ff675b2e78 Format the test code. 2019-06-27 15:10:14 +02:00
Gregory John Casamento
d826bb5a25 Reduce repetitive implementation of the same algorithm in the code. Make sure that insertion happens in one method only 2019-06-18 22:07:11 -04:00
Gregory John Casamento
f2ba8a3093 Add macos archive test 2019-06-17 20:00:50 -04:00
Gregory John Casamento
3278eaa2ca Add new test, fix replaceObjectsAtIndexes:withObjects: 2019-06-13 06:00:40 -04:00
Gregory John Casamento
0a2f885456 Reimplement some methods to fix some issues. 2019-06-12 11:23:33 -04:00
Gregory John Casamento
6ad1e47ab7 Fix issue with move method 2019-06-12 08:21:32 -04:00
Gregory John Casamento
966c31f43d Fix a number of comments by Fred 2019-06-10 10:20:26 -04:00
Gregory John Casamento
c53336b29e Add new tests 2019-06-09 14:53:06 -04:00
Gregory John Casamento
f8994e1049 New tests and corrected code for NSOrderedSet/NSMutableOrderedSet. Submitting for review. 2019-06-09 07:17:57 -04:00
Gregory John Casamento
48cf585c46 Rudimentary NSOrderedSet tests 2019-06-08 08:56:18 -04: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
06019034b0 header line folding fix 2019-02-15 14:13:14 +00:00
Richard Frith-Macdonald
d6ef10f224 fixes for encoding in mime header encoded word 2019-02-14 11:19:33 +00:00
Richard Frith-Macdonald
9afe522216 fixup for new guard condition 2019-02-13 09:27:49 +00:00
Richard Frith-Macdonald
6f3bd6ac97 Expose GNU TLS wrappers and add methods to get certificate expiry 2019-01-16 09:56:08 +00:00
Ivan Vučica
786c7aa30a Tests/base/NSBundle/resources.m: Fixed undefined NSArray* arr.
This fixes the accidental breakage from 2107c82ca4
which made arr invisible due to the change of "NSBundle GNUstep resources"
testset scope.
2019-01-06 20:06:24 +00:00
Richard Frith-Macdonald
2107c82ca4 fixup errors in set names and nesting 2019-01-05 15:41:15 +00:00
David Chisnall
00472f14d0 Fix the message telling you how to run the tests.
'make check' tells me that I must use GNU make.  The message now tells
me to use gmake (or whatever make I used that worked for the build).
2018-12-27 13:44:45 +00: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
fredkiefer
4ebe918306 * Tests/base/NSProcessInfo/general.m: Mark test for -systemUptime
as hopeful as it may fail in GNU Hurd.
Fixes bug #53941.
Based on idea by Yavor Doganov  <yavor@gnu.org>
2018-05-27 14:13:48 +02:00
fredkiefer
09da1e6894 * Tests/base/NSNumberFormatter/basic10_4.m: Avoid test failure on
big-endian platforms by converting unichar to an NSString.
2018-05-18 15:00:06 +02:00
Richard Frith-Macdonald
ee968e6eff tweak the deabug option 2018-03-21 14:02:47 +00:00
Richard Frith-Macdonald
f6f9483076 Add -rpath as suggested bym David 2018-03-21 12:16:17 +00:00
Richard Frith-Macdonald
146d823689 add a couple more tests for stack info 2018-03-19 09:42:34 +00: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
2f3fcb98e0 add a few more replacement tests 2018-02-27 14:08:12 +00:00
Richard Frith-Macdonald
776c0bbcd8 Fix boundary checks searching for unicode strings 2018-02-25 22:30:08 +00:00
Richard Frith-Macdonald
908a712cdf Use Yavor's patch for tests 2018-02-16 07:03:34 +00:00
Richard Frith-Macdonald
eb6e83e1bb Fix for testing consistently 2018-02-15 07:45:50 +00:00
Richard Frith-Macdonald
4aa8ca1e6d just one more testcase 2018-02-09 08:30:08 +00:00
Richard Frith-Macdonald
14c2d9402d Remove dead code and improve testing 2018-02-07 09:48:56 +00:00
Richard Frith-Macdonald
7045f84acc OSX compatibility fixes for zero width space character and initialising an NSURL
with bad strings.
2018-01-26 12:53:47 +00:00
Richard Frith-Macdonald
0e12e226c9 new test 2018-01-26 12:31:20 +00:00
Richard Frith-Macdonald
925f1dd5e1 Add Yavor Doganov's patches for tests and config. Add fixes for GSXML
validation of xml documents
2018-01-14 12:30:13 +00:00
Richard Frith-Macdonald
31257785d6 External entity resolution turned off by default for security 2018-01-11 16:39:21 +00:00
Richard Frith-Macdonald
0f9aab86c3 Update for compatibility with latest OSX 2018-01-11 16:33:09 +00:00
Richard Frith-Macdonald
93389bb357 Minore xml parsing fixes 2018-01-11 13:50:39 +00:00
Richard Frith-Macdonald
562414810e Add test for appending component to a an http URL without a path 2018-01-03 16:46:49 +00:00
Richard Frith-Macdonald
dae9b8973e OSX compatibility tweaks based on running testcases on 10.13.2 (high sierra). 2018-01-03 15:42:09 +00:00
Richard Frith-Macdonald
6150b3fd62 Fix for bug #51592 2018-01-02 12:48:18 +00:00
Graham Lee
186d840ce6
Merge branch 'master' into json-signed-integers 2017-12-18 12:56:28 +00:00
David Chisnall
7a7b18a090 Fix typo in test. 2017-12-13 18:56:32 +00:00
David Chisnall
e35eb61dbc Make object allocation and deallocation use the runtime.
All objects are now created and destroyed by the runtime, so we have
clean layering between -base and libobjc.
2017-12-13 18:22:08 +00:00
Graham Lee
910f086e26 add test 2017-11-26 08:40:28 +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
Daniel Ferreira
cbfa4d8cc9 NSProcessInfo: implement getting system uptime
Introduce the systemUptime property to NSProcessInfo, which can compute
platform-independently what is the uptime of the system.
2017-06-29 21:18:16 +01:00