Commit graph

708 commits

Author SHA1 Message Date
Sergei Golovin
cbfcf6d8cf remove obsoleted files 2024-03-11 19:18:58 +04:00
Sergei Golovin
1284446609 release memory when done with it 2024-03-11 19:18:58 +04:00
Sergei Golovin
2d55f14799 restore connection closing on client request
listening ports are made different by one of previous commits
  so a hanging out instance is no issue for consequent tests
2024-03-11 19:18:58 +04:00
Sergei Golovin
30a8cfd2b9 simplified with one hunk of code instead of two 2024-03-11 19:18:58 +04:00
Sergei Golovin
9cb56a03a0 style tweak 2024-03-11 19:18:58 +04:00
Sergei Golovin
25f2df8374 remove commented out hunk 2024-03-11 19:18:58 +04:00
Sergei Golovin
450c545c2c fix memory leaks 2024-03-11 19:18:58 +04:00
Sergei Golovin
2ad623d0b3 use the macro AUTORELEASE instead of -autorelease 2024-03-11 19:18:58 +04:00
Sergei Golovin
da1d980d17 remove unnecessary method call 2024-03-11 19:18:58 +04:00
Sergei Golovin
d498642de5 pick the debug mode from environment 2024-03-11 19:18:57 +04:00
Sergei Golovin
1cf39479b6 update the pair certificate/key (the old pair is about to expire soon) 2024-03-11 19:18:57 +04:00
Sergei Golovin
5656be567a change ports auxilliary instances are listen to in consequent tests...
... to avoid "Address already in use"
2024-03-11 19:18:57 +04:00
Sergei Golovin
683bf4f707 use different server ports in tests to avoid errors like "address in use" 2024-03-11 19:18:57 +04:00
Sergei Golovin
151948312c remove debug log messages 2024-03-11 19:18:57 +04:00
Sergei Golovin
b60f950630 enable NSURLConnection tests with a local web server on Windows 2024-03-11 19:18:57 +04:00
Sergei Golovin
fc07538462 fix issue with HTTP socket wasn't freed at the end of request-response cycle
Connection closing by client demand doesn't work but
   it isn't important for purposes of testing so commented out
2024-03-11 19:18:57 +04:00
Sergei Golovin
a426fab700 change to use NSFileHandle instead of streams 2024-03-11 19:18:57 +04:00
Sergei Golovin
aae267ab13 update actual mail address 2024-03-11 19:18:57 +04:00
Frederik Carlier
d609147bc2 Avoid -rpath on Windows 2024-02-21 08:45:58 +01:00
rfm
6052d4e8ae adjust for difference between windows and unix 2024-02-15 13:45:39 +00:00
rfm
01573cb25e add simple tests for create/reading/remove empty file 2024-02-15 11:16:20 +00:00
rfm
98a8e6cc4d Remove spurious GSPrintf lines 2024-02-13 12:39:32 +00:00
rfm
be12e91109 locale method fixup with testcase 2024-02-11 15:03:37 +00:00
rfm
1cf38dee99 avoid a couple of compiler warnings 2024-01-29 19:38:03 +00:00
Riccardo Mottola
75fd9549ef make test user locale independent 2024-01-22 21:35:10 +01:00
Страхиња Радић
ecc5d8008c Tests/base/NSCalendar/era.m: Fix testing with non-English locale
Signed-off-by: Страхиња Радић <contact@strahinja.org>
2024-01-14 17:24:02 +01:00
hmelder
992377c6fd Replace dot notation with method call 2023-12-28 12:02:04 +01:00
hmelder
153fe3f7f0 Replace NSArray subscripting with traditional method call 2023-12-28 12:02:04 +01:00
hmelder
cb05d93167 Remove array and dictionary literals 2023-12-28 12:02:04 +01:00
hmelder
4f2cb0672c Remove redefinition in Tests/KVC/nsnull.m 2023-12-28 12:02:04 +01:00
hmelder
6f3c7ce76b KVC nsnull.m add trailing newline 2023-12-28 12:02:04 +01:00
hmelder
7b657f4777 NSPredicate: Check if predicates with NSNull work as expected 2023-12-28 12:02:04 +01:00
hmelder
4e45c968d5 Add unit test for NSNull and KVC 2023-12-28 12:02:04 +01:00
rfm
c739ac81bd Another path fix 2023-12-19 14:24:13 +00:00
Frederik Seiffert
3b3687afb3 Fix NSURLRequest test
We can't use parameters containing commas in macros.
2023-11-15 08:59:57 +01:00
Frederik Seiffert
fd7f11a134 Support deleting NSMutableURLRequest headers by calling setValue:forHTTPHeaderField: with nil value. 2023-11-14 23:04:42 +01:00
rfm
e8b67e3e0b fix for #292 2023-11-14 20:55:22 +00:00
rfm
1db5b071ee Deal with systems which don't dfefine pi in the normal place 2023-11-13 19:19:03 +00:00
Hugo Melder
ac38295f64
NSRegularExpression: Improved Error and Exception handling to match macOS behaviour (#343)
* NSRegularExpression: Match macOS error handling

* Add test cases for error handling

* NSRegularExpression: Raise an NSInvalidArgumentException instead of NSInternalInconsistencyException

* Check if NSRegularExpression throws an exception
2023-11-13 19:55:49 +01:00
rfm
ec051d1d30 Add a couple of trivial testcases to compare floats 2023-11-06 15:47:36 +00:00
rfm
1942313dea NSISO8601DateFormatter bugfix (as reported by kevinpeizner) and tweaks. 2023-10-26 14:19:06 +01:00
Richard Frith-Macdonald
f0f841c01f test for non existent directory 2023-10-10 18:12:17 +01:00
Richard Frith-Macdonald
531d3b8559 Small array keyword fixes for NSPredicate 2023-10-08 13:48:33 +01:00
Gregory John Casamento
48ccee0beb Update tests to cover removeObserver:fromObjectsAtIndexes:forKeyPath:context: 2023-10-07 20:51:47 -04:00
Gregory John Casamento
3c7e13244f Update tests to test removeObserver:forKeyPath:context method 2023-10-07 20:51:47 -04:00
Richard Frith-Macdonald
1feeb27b08 Make testcases more robust. 2023-09-17 23:35:24 -04:00
Richard Frith-Macdonald
65163ebf48 Add testcases and corrected code to check for GSMacOSXCompatibility mode
when unlocking fails.  Also put more detail in the warning message
2023-09-17 23:35:03 -04:00
Richard Frith-Macdonald
ef9ad60627 Add Yavor Doganov's patches 2023-08-01 14:46:44 +01:00
Frederik Seiffert
48c8a1a6a1 Fix NSURL path on Windows for UNC paths 2023-07-26 18:21:07 +02:00
Richard Frith-Macdonald
5fd4dd1f16 Add interface for category ... needed on sme architectures in order to
get argumentds passed correctly.
2023-07-10 21:39:49 +01:00