Commit graph

472 commits

Author SHA1 Message Date
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
Daniel Ferreira
277ae581a6 NSHTTPCookie: fix bug in Set-Cookie parser
Fix a bug in NSHTTPCookie's Set-Cookie parser where it would fail to
parse more than one key-only cookie (such as "Secure; HTTPOnly;") in a
header.
2017-06-29 21:18:16 +01:00
Daniel Ferreira
644b676949 NSHTTPCookie: add support for HTTPOnly cookies
Add support for parsing HTTPOnly cookies (those that cannot be accessed
by clients). Implement -[NSHTTPCookie isHTTPOnly].
2017-06-29 21:18:16 +01:00
Daniel Ferreira
a9df1b104a NSGeometry: create NSEdgeInsets struct
Create the NSEdgeInsets struct in NSGeometry, introduced in OSX 10.7.
Add helper functions for creating these insets.

This struct is not used in Base. Rather, it is used as part of newer
APIs in GUI.
2017-06-29 21:18:16 +01:00