Commit graph

29 commits

Author SHA1 Message Date
rfm
5b46efa8cd More leak fixes 2024-11-16 21:11:56 +00:00
Hugo Melder
273776a3c6
Fix CI and make libcurl a hard-dependency when using libobjc2 (#447)
* Do not enable Win32 threads and locks when using GCC

* Fix compiler check when CC has arguments appended

* Add NSConstantString literal as global variable to avoid linker error

* Make libcurl a hard-dependency on ObjC 2.0 Toolchain

* Bump TOOLS_WINDOWS_MSVC_RELEASE_TAG

* Remove x86 runner for MSVC toolchain

* Add libcurl to MinGW x64 Clang toolchain

* MSVC toolchain requires Windows 1903 and newer but windows-2019 runner is Redstone 5 (1809)

* MinGW GCC adds .exe suffix

* Some tests timeout after 30s. Increase timeout

* Mark late unregister as hopeful on Win32 with GCC

* Mark NSURL test depending on network connection as hopeful
2024-10-10 11:16:47 +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
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
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
Frederik Seiffert
48c8a1a6a1 Fix NSURL path on Windows for UNC paths 2023-07-26 18:21:07 +02:00
Frederik Seiffert
7e14fd1979 Change NSURL tests to use example.com
httpbin.org has lately been unreliable, leading to spurious test failures on CI.
2023-06-13 14:33:40 +02:00
Hugo Melder
a8c421d485
Skip all NSURL* test cases using GSInetServerStream on Windows (#268)
* Mark all test cases using GSSocketStream as hopeful on win32

* Update ChangeLog

* Remove allow-test-failures flag
2022-09-27 20:21:50 +02:00
Richard Frith-Macdonald
15b97442cb Use httpbin.org rather than www.w3.org since the latter no longer supports http 2022-09-15 10:07:57 +01: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
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
Richard Frith-Macdonald
61bd73832f use PASS_EQUAL for better diagnostics 2020-04-10 14:23:22 +01: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
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
62d2bcbabc changes for use of _WIN32 define on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39492 72102866-910b-0410-8b05-ffd578937521
2016-03-09 13:16:16 +00:00
Richard Frith-MacDonald
35e931398b add test for base and relative URLs with different schemes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36101 72102866-910b-0410-8b05-ffd578937521
2013-02-10 06:20:26 +00:00
Richard Frith-MacDonald
a75d344aac add test for relative data URL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36100 72102866-910b-0410-8b05-ffd578937521
2013-02-10 05:23:44 +00:00
Richard Frith-MacDonald
cc42a0110d formatting/coding style fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35574 72102866-910b-0410-8b05-ffd578937521
2012-09-19 14:20:01 +00:00
Richard Frith-MacDonald
ae328505c2 add support for data:,xxx style URL
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35568 72102866-910b-0410-8b05-ffd578937521
2012-09-16 07:39:18 +00:00
Richard Frith-MacDonald
6f351c362b add some percent escape tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34860 72102866-910b-0410-8b05-ffd578937521
2012-03-02 08:55:27 +00:00
Richard Frith-MacDonald
fc710f36cd add more URL checks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34698 72102866-910b-0410-8b05-ffd578937521
2012-02-02 17:00:07 +00:00
Richard Frith-MacDonald
d928b08ba5 fix method name
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34077 72102866-910b-0410-8b05-ffd578937521
2011-10-27 11:58:32 +00:00
Richard Frith-MacDonald
49c91de79d another nil arg test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33938 72102866-910b-0410-8b05-ffd578937521
2011-10-04 05:33:40 +00:00
Richard Frith-MacDonald
4335b7e995 another nil arg check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33937 72102866-910b-0410-8b05-ffd578937521
2011-10-04 05:15:51 +00:00
Richard Frith-MacDonald
4000d7891e test for exception
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33936 72102866-910b-0410-8b05-ffd578937521
2011-10-04 05:05:03 +00:00
Richard Frith-MacDonald
d9d0d1b6fd portability bugfixes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32769 72102866-910b-0410-8b05-ffd578937521
2011-04-04 10:57:49 +00:00
Richard Frith-MacDonald
0e02133729 import testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32187 72102866-910b-0410-8b05-ffd578937521
2011-02-16 08:21:17 +00:00