Commit graph

758 commits

Author SHA1 Message Date
rfm
a1514249f3 Tweaks to match OSX pointer array behaviors more accurately. 2024-07-22 12:22:40 +01:00
Richard Frith-Macdonald
d2fec6b222 a few GC related tests 2024-07-21 09:43:21 +01:00
Richard Frith-Macdonald
42a3e55499 simple test for pointer array and weak objects 2024-07-18 12:43:46 +01:00
Richard Frith-Macdonald
6dd13deac2 fix typo 2024-07-17 16:34:57 +01:00
rfm
7aa05d2591 reinstate lost change 2024-07-17 16:32:50 +01:00
rfm
f6b8c83bd0 Don't crash when built with gcc 2024-07-17 14:14:46 +01:00
Richard Frith-Macdonald
a0a62fbde4 make tests pass on os-x 14.5 2024-07-17 11:32:52 +01:00
rfm
1a1e7f7fc5 Acquiring existing memory does not use a funtion on OSX, copy that behavior. 2024-07-16 19:43:28 +01:00
rfm
8c722deb0c Fix error in testcases due to uninitialsed padding in struct 2024-07-16 14:37:41 +01:00
rfm
d32065b322 fix non-portable testcases 2024-07-16 13:46:09 +01:00
rfm
b677ea402a Add some simple pointer functions personality tests 2024-07-16 12:07:32 +01:00
rfm
3fedf31c2d
Revert "NSURLSession Reimplementation (#411)"
This reverts commit 07233534e6.
2024-07-02 19:19:14 +01:00
Hugo Melder
07233534e6
NSURLSession Reimplementation (#411)
* clang-format: Do not use tabs

* Ignore clangd cache and compile_commands

* NSBlockOperation: Fix memory leak

* NSHTTPCookie: Fix expires date parsing

* NSOperation: Remove all objects at end of execution

* Reimplementation of NSURLSession

* Update ChangeLog
2024-07-02 15:58:48 +02:00
rfm
c79b9844bd fix non-portable code in testcase 2024-06-23 08:20:52 +01:00
Gregory Casamento
ced4cd0531
Merge pull request #410 from gnustep/NSExpression_branch 2024-06-11 11:46:56 -04:00
rfm
3bcb484691
Merge pull request #416 from gnustep/enumerateSubstringInRange
Fix broken enumerateSubstringsInRange:options:usingBlock: implementation
2024-06-11 13:29:48 +01:00
rfm
930b901558 remove obsolete test 2024-06-10 15:27:35 +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
hmelder
8024082027 NSPredicate: Add tests for constant expressions 2024-05-31 14:24:57 +02:00
Gregory John Casamento
d3d53ab23f Clean up tests 2024-05-31 00:20:09 -04:00
Gregory John Casamento
392a626444 Add missing enum values, add skeleton implementations for metods, add simple tests 2024-05-25 00:39:34 -04:00
Gregory John Casamento
84e1ef9881 Add extremely simple tests to make sure that each of the methods returns non-nil 2024-05-24 23:04:13 -04:00
Doug Simons
0935f77d8f
Merge pull request #405 from gnustep/small_xml_fixes
Two small xml fixes
2024-05-15 09:26:57 -06:00
Frederik Seiffert
6e2bd5c4e8 Fixed missing semicolon in NSURLConnection test 2024-05-15 17:09:00 +02:00
Doug Simons
50f447f5b8
Fix execute_xpath() to return an NSError when expression can't be evaluated; Remove previous attributes when setting attributes; Add related tests 2024-05-14 15:25:07 -06:00
rfm
adbc7c2631
Merge pull request #400 from gnustep/nsurlhandle_cache
GSFileURLHandle: Remove file handle caching
2024-05-12 10:11:28 +01:00
rfm
1fdf6395bd
Merge pull request #370 from ethanc8/ethanc8-3
Implement +[NSRegularExpression escapedPatternForString:] and -[NSString enumerateSubstringsInRange:options:usingBlock]
2024-05-12 09:32:34 +01:00
hmelder
c09bf52ef7 Format tests using clang-format 2024-05-08 16:06:44 +02:00
hmelder
e4a5e275de NSIndexSet: Add tests for enumerateRangesInRange 2024-05-08 16:06:44 +02:00
hmelder
a1dff584a4 GSFileURLHandle: Remove caching functionality 2024-05-06 18:06:50 +02:00
hmelder
e1fcc2db35 GSFileURLHandle: Use NSCache and limit cache size 2024-05-06 10:38:07 +02:00
Frederik Carlier
7ec9667505
Merge pull request #398 from qmfrederik/win64-hopeful
win64/clang+msvc: Skip failing tests and mark flaky test as hopeful
2024-04-29 17:35:29 +02:00
hmelder
3c3417fabe Remove Windows Include and correctly release thread obj 2024-04-28 23:22:20 +02:00
hmelder
80c3d66677 Add NSThread unit test for name: and setName: on win32 2024-04-28 23:22:20 +02:00
Frederik Carlier
6173861248
win64/clang+msvc: Skip failing tests and mark flaky test as hopeful 2024-04-28 22:16:45 +02:00
hmelder
2918bd992e Refactor +[NSTimeZone timeZoneArray] 2024-04-17 23:32:56 +02:00
rfm
509a29cc5b make stack symbols tests more ionformative ... check that class and method names are reported 2024-04-14 12:02:13 +01:00
rfm
6a796f145c temporary fix: revert ot using httpbin.org - a proper fix would be to use a local server controlled by the test process 2024-04-14 10:06:55 +01:00
rfm
9be55cc80a
Merge pull request #379 from svgol/refactor_NSURLConnection_tests
Refactor NSURLConnection tests
2024-04-04 13:39:07 +01:00
rfm
d573c02c9c check buildng preserves multipart order 2024-04-04 11:27:57 +01:00
Frederik Carlier
3415de14c0 Tests/base/NSURL/basic.m: Use https://gnustep.github.io instead of http://example.com
http://example.com/silly-file-name is currently returning 500 instead of 404, breaking tests.  Use https://gnustep.github.io instead.
2024-03-30 16:01:02 +00:00
Sergei Golovin
b963a79d95 update the actual mail address 2024-03-11 19:18:58 +04:00
Sergei Golovin
81108c46f5 Update Tests/base/NSURLConnection/Helpers/SimpleWebServer.m
Co-authored-by: Hugo Melder <service@hugomelder.com>
2024-03-11 19:18:58 +04:00
Sergei Golovin
2b086b335d Update Tests/base/NSURLConnection/Helpers/SimpleWebServer.m
Co-authored-by: Hugo Melder <service@hugomelder.com>
2024-03-11 19:18:58 +04:00
Sergei Golovin
1db3a482fb disable HTTPS tests if no gnutls is found 2024-03-11 19:18:58 +04:00
Sergei Golovin
70b4c87af6 fix a possible memory leak 2024-03-11 19:18:58 +04:00
Sergei Golovin
9ca1f91e2d fix memory leak 2024-03-11 19:18:58 +04:00
Sergei Golovin
0e72736b12 fix memory leak 2024-03-11 19:18:58 +04:00
Sergei Golovin
cbfcf6d8cf remove obsoleted files 2024-03-11 19:18:58 +04:00