Commit graph

406 commits

Author SHA1 Message Date
rfm
09ca29c3fc a few queue tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37554 72102866-910b-0410-8b05-ffd578937521
2014-01-07 15:51:12 +00:00
rfm
648aee4906 remove unused pool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37552 72102866-910b-0410-8b05-ffd578937521
2014-01-07 10:53:51 +00:00
rfm
7a55fc9773 fix logic error in test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37550 72102866-910b-0410-8b05-ffd578937521
2014-01-07 10:37:20 +00:00
rfm
3fcd66bdba proper variable checked for objc2
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37542 72102866-910b-0410-8b05-ffd578937521
2014-01-06 11:36:40 +00:00
rfm
9fbd816b5a add test for release of associated objects
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37541 72102866-910b-0410-8b05-ffd578937521
2014-01-06 11:32:39 +00:00
rfm
3363ab4282 improve build on windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37483 72102866-910b-0410-8b05-ffd578937521
2013-12-20 13:28:45 +00:00
rfm
fe5528ec35 iUUID for unix by leeg
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37480 72102866-910b-0410-8b05-ffd578937521
2013-12-20 12:26:22 +00:00
rfm
bcbb4d0e50 Fix for singleton stdin,stdout,stderr retention
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37289 72102866-910b-0410-8b05-ffd578937521
2013-10-27 05:42:40 +00:00
theraven
5814ca0029 Fix a bug whereby the singleton NSFileHandle instances (stdin, stdout, stderr) are autoreleased and become dangling pointers on exit.
Reported on Stack Overflow:
http://stackoverflow.com/questions/19389749/why-gnustep-nsrunloop-quits-immediately-with-arc



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37245 72102866-910b-0410-8b05-ffd578937521
2013-10-16 13:08:38 +00:00
rfm
852b3ff8e5 add a few character encoding tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37064 72102866-910b-0410-8b05-ffd578937521
2013-09-10 15:54:30 +00:00
rfm
b53f054489 test for overlong mantissa in double value
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37009 72102866-910b-0410-8b05-ffd578937521
2013-08-22 19:56:43 +00:00
rfm
2048ee28da fix for word size issues with arrays
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36905 72102866-910b-0410-8b05-ffd578937521
2013-07-18 15:40:11 +00:00
rfm
da5934191c tests by Graham
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36863 72102866-910b-0410-8b05-ffd578937521
2013-07-10 14:04:29 +00:00
rfm
be2e93e98e remove libobjc2 specific tests David is now doing (better) in objc2 testsuite
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36794 72102866-910b-0410-8b05-ffd578937521
2013-07-02 04:21:32 +00:00
lubosd
eacd4a4a48 * Source/NSTimeZone.m
Implement nextDaylightSavingTimeTransitionAfterDate:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36709 72102866-910b-0410-8b05-ffd578937521
2013-06-08 19:02:10 +00:00
fredkiefer
22cc232988 * Tests/base/NSArchiver/stringEncoding.m: Use PASS_EQUAL instead
of PASS.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36617 72102866-910b-0410-8b05-ffd578937521
2013-05-13 20:55:37 +00:00
rfm
d1c37454fd some small fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36616 72102866-910b-0410-8b05-ffd578937521
2013-05-13 07:09:41 +00:00
theraven
6ca63cef45 Add a test case for notifications using dynamic lookup. Currently passes on OS
X, fails on GNUstep.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36605 72102866-910b-0410-8b05-ffd578937521
2013-05-09 13:37:28 +00:00
rfm
309c73345c add some base64 test vectors
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36521 72102866-910b-0410-8b05-ffd578937521
2013-04-14 07:59:58 +00:00
rfm
eccc43e0a2 add trivial https test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36505 72102866-910b-0410-8b05-ffd578937521
2013-04-11 13:55:15 +00:00
rfm
7f9100cb96 improve double scanning
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36501 72102866-910b-0410-8b05-ffd578937521
2013-04-10 22:03:52 +00:00
rfm
0c977df4a7 add some notification tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36488 72102866-910b-0410-8b05-ffd578937521
2013-04-08 08:27:58 +00:00
rfm
eed9d7ddec tidy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36464 72102866-910b-0410-8b05-ffd578937521
2013-04-04 08:12:51 +00:00
rfm
6da5d98af9 skip test if we can't expect it to run as root
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36462 72102866-910b-0410-8b05-ffd578937521
2013-04-03 21:54:43 +00:00
rfm
90548a1c95 fix entity parsing in quoted strings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36458 72102866-910b-0410-8b05-ffd578937521
2013-04-03 15:28:28 +00:00
rfm
fecb266355 add 64bit archive data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36438 72102866-910b-0410-8b05-ffd578937521
2013-03-26 10:26:16 +00:00
rfm
ee2731f49b alter code to check 64bit data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36437 72102866-910b-0410-8b05-ffd578937521
2013-03-26 10:24:29 +00:00
rfm
cd6f06ce97 a few more tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36435 72102866-910b-0410-8b05-ffd578937521
2013-03-26 09:59:35 +00:00
rfm
d4717ee469 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36433 72102866-910b-0410-8b05-ffd578937521
2013-03-26 06:00:15 +00:00
rfm
2f4027d542 test a few more methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36432 72102866-910b-0410-8b05-ffd578937521
2013-03-26 05:56:40 +00:00
rfm
15f378e72a add tests for abbreviation of home directory with tilde
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36429 72102866-910b-0410-8b05-ffd578937521
2013-03-25 14:14:04 +00:00
rfm
acf7b640fc fix keyed decoding of identity affine transform
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36425 72102866-910b-0410-8b05-ffd578937521
2013-03-25 11:29:55 +00:00
rfm
983edbe0ef add some keyed coding tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36424 72102866-910b-0410-8b05-ffd578937521
2013-03-25 11:05:32 +00:00
rfm
cb1874874d Set minimum days in first week so we number weeks in December 2012 from 0
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36398 72102866-910b-0410-8b05-ffd578937521
2013-03-22 16:26:42 +00:00
rfm
deaa8b820e add calendar tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36390 72102866-910b-0410-8b05-ffd578937521
2013-03-20 17:08:00 +00:00
rfm
b2c85a7b0a add some set tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36374 72102866-910b-0410-8b05-ffd578937521
2013-03-17 12:58:51 +00:00
fredkiefer
d1d4e0e106 * Tests/base/NSLocale/general.m,
* Tests/base/NSTimeZone/use.m: Mark more tests that depend on
        locale setting as hopes.
        * Tests/base/GSXML/basic.m: Set the timezone of the GSXMLRPC to
        get the same date string in the output.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36371 72102866-910b-0410-8b05-ffd578937521
2013-03-16 17:40:56 +00:00
buzzdee
d00afefed0 remove snucked in header
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36317 72102866-910b-0410-8b05-ffd578937521
2013-03-09 18:14:03 +00:00
rfm
970638b746 a few new methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36311 72102866-910b-0410-8b05-ffd578937521
2013-03-08 14:07:34 +00:00
rfm
2f99ae8e99 tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36275 72102866-910b-0410-8b05-ffd578937521
2013-03-05 14:06:25 +00:00
rfm
5039bf29c9 a few comparison tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36274 72102866-910b-0410-8b05-ffd578937521
2013-03-05 13:42:37 +00:00
rfm
7dc9323110 corrected tests to pass on OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36271 72102866-910b-0410-8b05-ffd578937521
2013-03-05 12:14:36 +00:00
rfm
6b1ab15210 new test by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36270 72102866-910b-0410-8b05-ffd578937521
2013-03-05 11:51:14 +00:00
rfm
9ea54505c8 tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36209 72102866-910b-0410-8b05-ffd578937521
2013-02-28 17:01:38 +00:00
rfm
60c04b53e6 fix for overrun when searching backwards (spotted by Fred using valgrind)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36204 72102866-910b-0410-8b05-ffd578937521
2013-02-28 12:51:27 +00:00
rfm
97a68beea2 a few more tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36151 72102866-910b-0410-8b05-ffd578937521
2013-02-16 08:11:35 +00:00
rfm
5149ddcfe0 add some tests from mystep
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36147 72102866-910b-0410-8b05-ffd578937521
2013-02-15 20:04:11 +00:00
rfm
3eb496c438 add a couple of tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36145 72102866-910b-0410-8b05-ffd578937521
2013-02-15 17:13:31 +00:00
rfm
e00d6cb53d add a couple of substitution tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36143 72102866-910b-0410-8b05-ffd578937521
2013-02-15 09:59:26 +00:00
rfm
b892e8f9bd add test for cookie field constants
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36142 72102866-910b-0410-8b05-ffd578937521
2013-02-15 09:45:46 +00:00
rfm
778ec037c4 add some byte swapping tests based on mySTEP
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36141 72102866-910b-0410-8b05-ffd578937521
2013-02-15 09:35:45 +00:00
rfm
862da70b18 add a few more tests derived from mystep
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36140 72102866-910b-0410-8b05-ffd578937521
2013-02-15 09:21:32 +00:00
rfm
ea8a9d825c 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
rfm
56b55f6ce8 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
rfm
f8e9c64d7a add test for Ludovic
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35974 72102866-910b-0410-8b05-ffd578937521
2013-01-14 17:46:30 +00:00
rfm
6965163efb fix error in final boundary of multipart
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35880 72102866-910b-0410-8b05-ffd578937521
2012-12-12 09:31:57 +00:00
rfm
242d748861 add intersection of empty rects test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35753 72102866-910b-0410-8b05-ffd578937521
2012-10-28 06:35:05 +00:00
ericwa
27c13ff71d * Tests/base/NSArchiver/stringEncoding.m: add test for last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35698 72102866-910b-0410-8b05-ffd578937521
2012-10-16 03:45:45 +00:00
rfm
8ec0deff44 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
thebeing
b9b63476ef Completely overhaul how we do sorting in -base. GSSorting.h now defines an
interface that can be used for all sorting tasks in the library. The actual sort
algorithms to use are now plugable. Timsort is the new default sorting
algorithm, the existing algorithms, shellsort and quicksort, can still be
selected using a configure switch.

Also implement the new NSComparator (blocks) based sorting and insertion index
searching methods for NSMutableArray and NSArray.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35573 72102866-910b-0410-8b05-ffd578937521
2012-09-19 13:31:09 +00:00
rfm
adc4c8d5e6 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
fredkiefer
0fea583bc5 Add new CDATA XML test case based on code by John Duff <nico.bin@hotmail.fr>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35528 72102866-910b-0410-8b05-ffd578937521
2012-09-04 21:29:11 +00:00
rfm
87db54ef18 OSX compatibility tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35325 72102866-910b-0410-8b05-ffd578937521
2012-07-27 18:02:11 +00:00
rfm
e357aab701 crude KVO setter for structs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35324 72102866-910b-0410-8b05-ffd578937521
2012-07-27 16:48:49 +00:00
rfm
cefcd6ab7a fix for bug #34815
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35272 72102866-910b-0410-8b05-ffd578937521
2012-07-09 05:22:03 +00:00
rfm
a29118d5a0 Error handling tweaks based on code/ideas by Sergey Golovin
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35266 72102866-910b-0410-8b05-ffd578937521
2012-07-08 15:50:58 +00:00
rfm
5366f619c5 reenable test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35264 72102866-910b-0410-8b05-ffd578937521
2012-07-08 14:43:02 +00:00
fredkiefer
e970570954 Use raise instead of @throw.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35108 72102866-910b-0410-8b05-ffd578937521
2012-04-23 20:24:32 +00:00
fredkiefer
0abd6bc5a9 Get new test to run with older compilers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35107 72102866-910b-0410-8b05-ffd578937521
2012-04-23 20:19:36 +00:00
theraven
121673c6d3 Fix a bug in the new autorelease pool implementation when pools are destroyed in the wrong order.
Test cast by Chris Armstrong!



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35105 72102866-910b-0410-8b05-ffd578937521
2012-04-23 12:47:09 +00:00
fredkiefer
4b86775102 * Source/NSXMLDocument.m:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m: Remove compiler warnings for clang
reported by David Chisnall.
* Tests/base/NSAutoreleasePool/basic.m: Get to compile again
without -C99.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35043 72102866-910b-0410-8b05-ffd578937521
2012-04-06 22:27:55 +00:00
theraven
ecfd46edb2 Support for collection subscripting (NSArray and NSDictionary).
Yes, the syntax is ugly, but no doubt people will start using it in June...



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35033 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:23:10 +00:00
theraven
889cad62db Use the runtime's ARC autorelease pools if available.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35031 72102866-910b-0410-8b05-ffd578937521
2012-04-06 12:02:59 +00:00
fredkiefer
7fd8c5e1ce * Source/NSXMLNode.m (+_objectForNode:): Don't create a document
object for a private document.
* Tests/base/NSXMLNode/transfer.m: New code for test case
contributed by Doug Simons.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35026 72102866-910b-0410-8b05-ffd578937521
2012-04-04 21:39:12 +00:00
thebeing
a5c6cfa9f7 Detect the presence of libdispatch and, if available, use it for collection
enumeration methods that take blocks as arguments. This allows us to implement
the NSEnumerationConcurrent option of those methods with minimal effort.

The searching methods on NSIndexSet and all the sorting methods are still
missing.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35010 72102866-910b-0410-8b05-ffd578937521
2012-03-27 17:05:19 +00:00
thebeing
849ed6b9f4 Add completion block support to NSOperation.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34996 72102866-910b-0410-8b05-ffd578937521
2012-03-26 14:47:07 +00:00
fredkiefer
511ebc6580 * Source/NSXMLNode.m (-copyWithZone_): Use value 1 instead of 2
for deep copy. Bug found by Doug Simons <doug.simons@testplant.com>.
* Source/NSXMLNode.m (-rootDocument): Don't return the private
document.
* Source/NSXMLNode.m (-nextSibling, -previousSibling): Protect
against namspace nodes.
* Tests/base/NSXMLNode/transfer.m: New test case for problem
reported by Doug Simons.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34988 72102866-910b-0410-8b05-ffd578937521
2012-03-23 09:48:24 +00:00
fredkiefer
07cd15dd72 * Source/NSXMLElement.m,
* Source/NSXMLNode.m: Fix memory leak for attribute private
documents found by valgrind.
* Tests/base/NSXMLNode/namespace.m: Use drain instead of
release.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34976 72102866-910b-0410-8b05-ffd578937521
2012-03-22 17:33:09 +00:00
fredkiefer
2079071716 * Source/NSXMLDocument.m (-URI, -setURI:): Specific implementation.
* Source/NSXMLPrivate.h: Remove URI ivar.
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Full support for namespaces.
* Tests/base/NSXMLNode/namespace.m: Test code borrowed from
Google data project.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34972 72102866-910b-0410-8b05-ffd578937521
2012-03-22 09:34:54 +00:00
thebeing
ecec748337 Implement a few blocks related enumeration methods on NSDictionary (with
unit tests).


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34965 72102866-910b-0410-8b05-ffd578937521
2012-03-20 20:17:45 +00:00
fredkiefer
fbccdda56f * Source/NSXMLPrivate.h: Remvoe unused ivars.
* Source/NSXMLDocument.m: Get DTD from node and and validation
in init methods.
* Source/NSXMLDTD.m: Implement.
* Source/NSXMLNode.m: No children for attribute nodes.
* Tests/base/NSXMLNode/basic.m: Test empty attribute children


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34943 72102866-910b-0410-8b05-ffd578937521
2012-03-17 13:57:58 +00:00
fredkiefer
95c6da91e9 * Source/NSXMLNode.m (-detach): Don't handle the namespace case.
* Source/NSXMLElement.m (-removeNamespaceForPrefix:): Implement.
* Tests/base/NSXMLNode/basic.m: Move tests from here ...
* Tests/base/NSXMLElement/basic.m: ... to here.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34927 72102866-910b-0410-8b05-ffd578937521
2012-03-12 22:33:27 +00:00
fredkiefer
f2ffb6dab9 * Source/NSXMLElement.m: Correct used namespace field.
* Source/NSXMLNode.m: Implement special handling for namespace
nodes.
* Tests/base/NSXMLNode/basic.m: Correct method name for
namespace node.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34926 72102866-910b-0410-8b05-ffd578937521
2012-03-12 19:50:51 +00:00
fredkiefer
adf7878f84 * Source/NSXMLNode.m (-copyWithZone:): Don't set object value of
copy if it is nil.
* Source/NSXMLNode.m (+_objectForNode:): Use correct sub class
for decl nodes.
* Tests/base/NSXMLNode/basic.m: More tests.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34912 72102866-910b-0410-8b05-ffd578937521
2012-03-09 10:08:48 +00:00
rfm
e6d6db7df8 add NSURLConnection chunked test and tidy up a bit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34901 72102866-910b-0410-8b05-ffd578937521
2012-03-07 08:05:43 +00:00
rfm
719178bc2e Add chunked encding test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34899 72102866-910b-0410-8b05-ffd578937521
2012-03-07 07:30:06 +00:00
fredkiefer
06a892ed28 * Tests/base/NSXMLElement/attributes.m: Test for changed
exception.
* Tests/base/NSXMLNode/basic.m: More tests.
* Source/NSXMLNode.m: Rewrite object value handling.
* Source/NSXMLElement.m (-objectValue): Return @"" when the
value is nil.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34881 72102866-910b-0410-8b05-ffd578937521
2012-03-05 22:48:18 +00:00
fredkiefer
391c16f630 * Source/NSXMLElement.m (-addAttribute:): Raise correct exception.
* Tests/base/NSXMLNode/children.m: Add test cases for attributes.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34879 72102866-910b-0410-8b05-ffd578937521
2012-03-05 09:41:40 +00:00
ericwa
b2e4fadd62 * Tests/base/NSString/locale.m: Expand test of compare:
and rangeOfString:. Mark as hopeful for the moment. All pass
on Mac OS 10.7.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34878 72102866-910b-0410-8b05-ffd578937521
2012-03-05 07:08:46 +00:00
rfm
b1bf12f146 add simple chunked decoding test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34874 72102866-910b-0410-8b05-ffd578937521
2012-03-03 18:51:10 +00:00
fredkiefer
81fd43b4ce * Source/NSXMLNode.m: Remove all the extra reference handling code
and the special retain and release methods.
* Tests/base/NSXMLNode/basic.m,
* Tests/base/NSXMLNode/children.m: A few more test
cases. Validated on MacOSX 10.6.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34873 72102866-910b-0410-8b05-ffd578937521
2012-03-03 11:37:49 +00:00
rfm
11e6e068de redo commit for minor bugfix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34872 72102866-910b-0410-8b05-ffd578937521
2012-03-03 09:19:41 +00:00
ericwa
0e7c60f779 * Tests/base/NSString/locale.m: Add a simple test for locale sensitive
compare: and rangeOfString: methods.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34869 72102866-910b-0410-8b05-ffd578937521
2012-03-02 22:03:27 +00:00
rfm
fc5be9646b add substring test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34864 72102866-910b-0410-8b05-ffd578937521
2012-03-02 18:59:45 +00:00
rfm
c7d0d1c1f5 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
rfm
97b04c6d4e add tests for replacing percent escapes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34859 72102866-910b-0410-8b05-ffd578937521
2012-03-02 08:13:49 +00:00
gcasa
82e85dab93 * Source/NSXMLDocument.m
* Source/NSXMLDTD.m
	* Source/NSXMLDTDNode.m
	* Source/NSXMLElement.m
	* Source/NSXMLNode.m
	* Source/NSXMLPrivate.h: Reimplementation of all DOM classes based on
	libxml2.  Implementation of all methods using libxml2 functions.
	* Tests/base/NSXMLDocument/basic.m
	* Tests/base/NSXMLElement/attributes.m
	* Tests/base/NSXMLElement/children.m
	* Tests/base/NSXMLNode/basic.m
	* Tests/base/NSXMLNode/children.m
	* Tests/base/NSXMLNode/kinds.m: Changes to test for new functionality.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34789 72102866-910b-0410-8b05-ffd578937521
2012-02-20 03:40:15 +00:00
rfm
b1aa536855 Add placeholder for NSOrderedSet testing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34747 72102866-910b-0410-8b05-ffd578937521
2012-02-08 17:42:24 +00:00
rfm
5272cb5ae8 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
rfm
ae9a3339fb JSON fixups thanks to Lubomir Rintel <lubo.rintel@gooddata.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34681 72102866-910b-0410-8b05-ffd578937521
2012-01-31 16:32:40 +00:00
rfm
f2d0bb8ab0 improve encoding tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34680 72102866-910b-0410-8b05-ffd578937521
2012-01-31 10:37:13 +00:00
rfm
ffb2895109 make +initialize test a hope since it's not actually important
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34677 72102866-910b-0410-8b05-ffd578937521
2012-01-31 08:07:20 +00:00
fredkiefer
5e8157165f * Tests/base/NSURLRequest/basic.m: Remove two astray @ characters.
These were blocking the file from compiling with gcc 4.6



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34672 72102866-910b-0410-8b05-ffd578937521
2012-01-30 23:20:40 +00:00
rfm
564bbf5fec add tests for new mutable request
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34620 72102866-910b-0410-8b05-ffd578937521
2012-01-24 09:40:29 +00:00
rfm
9cb78b1fa9 make test terminate on deadlock
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34461 72102866-910b-0410-8b05-ffd578937521
2012-01-08 16:10:46 +00:00
rfm
3fd1294c53 add thread safety test for initialize methods in different classes calling each other
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34460 72102866-910b-0410-8b05-ffd578937521
2012-01-08 15:57:43 +00:00
rfm
ccc4e39fc5 fix retain/release error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34455 72102866-910b-0410-8b05-ffd578937521
2012-01-07 07:54:28 +00:00
rfm
39c4f035ba check setting nil document root.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34454 72102866-910b-0410-8b05-ffd578937521
2012-01-07 07:26:18 +00:00
rfm
51d002c196 sheck setting children to nil
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34453 72102866-910b-0410-8b05-ffd578937521
2012-01-07 07:10:45 +00:00
rfm
0c97209ee1 Add missed commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34452 72102866-910b-0410-8b05-ffd578937521
2012-01-07 07:02:14 +00:00
rfm
22eb9818a2 simple tests to set root of document
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34443 72102866-910b-0410-8b05-ffd578937521
2012-01-06 13:56:46 +00:00
rfm
4e6fcf1697 tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34440 72102866-910b-0410-8b05-ffd578937521
2012-01-06 11:27:58 +00:00
rfm
de0e5ddf1f more child checks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34439 72102866-910b-0410-8b05-ffd578937521
2012-01-06 11:17:51 +00:00
rfm
7f03a31a28 some basic child handling tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34438 72102866-910b-0410-8b05-ffd578937521
2012-01-06 11:01:44 +00:00
rfm
3d91f00521 some basic setter/getter tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34437 72102866-910b-0410-8b05-ffd578937521
2012-01-06 09:46:50 +00:00
rfm
8042dedeeb add basic equality tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34436 72102866-910b-0410-8b05-ffd578937521
2012-01-06 09:24:51 +00:00
rfm
0681b25521 fix typo
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34426 72102866-910b-0410-8b05-ffd578937521
2012-01-05 20:46:51 +00:00
rfm
b9ce94a828 add trivial document tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34422 72102866-910b-0410-8b05-ffd578937521
2012-01-05 18:52:57 +00:00
rfm
c21cdfad4d 64bit printf tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34400 72102866-910b-0410-8b05-ffd578937521
2012-01-03 14:47:12 +00:00
gcasa
73273b7e75 2012-01-02 02:26-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLNode.m>: Minor correction. Move setName out of 
	private category.
	* Tests/base/NSXMLNode/children.m: Update test.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34385 72102866-910b-0410-8b05-ffd578937521
2012-01-02 07:27:56 +00:00
gcasa
f2604e1d43 First cut at NSXMLDocument changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34371 72102866-910b-0410-8b05-ffd578937521
2011-12-30 21:40:12 +00:00
rfm
f539c1aba4 add tests for removal of a default directly and via -setObject:forKey:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34138 72102866-910b-0410-8b05-ffd578937521
2011-11-09 13:51:55 +00:00
rfm
c28138f3fa make base64 decoding more tolerant.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34128 72102866-910b-0410-8b05-ffd578937521
2011-11-07 08:15:00 +00:00
fredkiefer
8870a4331f * Tests/base/NSMutableString/basic.m: Add test for
replaceOccurrencesOfString:...range:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34080 72102866-910b-0410-8b05-ffd578937521
2011-10-28 12:21:14 +00:00
rfm
83f4855240 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
rfm
e57d983f5e check bom values
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33985 72102866-910b-0410-8b05-ffd578937521
2011-10-14 12:58:52 +00:00
rfm
48fa5991ab Tweaks to support UTF-8 literal string encoding supported by more recent
compilers.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33972 72102866-910b-0410-8b05-ffd578937521
2011-10-12 14:28:44 +00:00
rfm
04c72fb364 fix to reture respnse for synchronous request.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33949 72102866-910b-0410-8b05-ffd578937521
2011-10-07 09:17:14 +00:00
rfm
4b08c19756 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
rfm
f3901684e8 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
rfm
574456553e 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
rfm
6b8dc7ef6c Provisional IPv6 support added.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33933 72102866-910b-0410-8b05-ffd578937521
2011-10-03 16:03:19 +00:00
rfm
6efa3c983e Add a few OSX compatibility methods
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33929 72102866-910b-0410-8b05-ffd578937521
2011-10-02 11:17:49 +00:00
thebeing
a8bcdd81c1 Started working on NSXMLNode.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33927 72102866-910b-0410-8b05-ffd578937521
2011-10-01 18:43:29 +00:00
thebeing
4432b3d54d Add test for child de-/re-attachment behaviour in NSXML.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33920 72102866-910b-0410-8b05-ffd578937521
2011-10-01 00:05:27 +00:00
thebeing
3271491ce1 Add some initial tests for NSXMLNode (will only pass on OS X, marked testHopeful for now).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33903 72102866-910b-0410-8b05-ffd578937521
2011-09-28 18:10:18 +00:00
rfm
f9d6895627 Add test for +initialize being called whether or not it's implemented.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33844 72102866-910b-0410-8b05-ffd578937521
2011-09-16 08:33:05 +00:00
fredkiefer
0b9867ab87 iUse SKIP correctly by providing a test set around it.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33785 72102866-910b-0410-8b05-ffd578937521
2011-08-25 09:07:41 +00:00
fredkiefer
be8cee55f2 Don't run the initialize test if we cannot stop it with a signal.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33784 72102866-910b-0410-8b05-ffd578937521
2011-08-25 09:00:41 +00:00
fredkiefer
2c42f05b7f Make test usable on MinGW
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33783 72102866-910b-0410-8b05-ffd578937521
2011-08-25 08:46:31 +00:00
rfm
16657e5ff4 improve mime tests for excess data
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33737 72102866-910b-0410-8b05-ffd578937521
2011-08-15 08:59:24 +00:00
theraven
6ecc626629 Fix the test on 64-bit (am I the first person to run this test on LP64?). NSTemporaryDirectory was not declared, so its return type was int, and so the object pointer was truncated.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33730 72102866-910b-0410-8b05-ffd578937521
2011-08-13 18:32:10 +00:00
theraven
f72d31cd68 Clean up NSRegularExpression, so that it compiles without warnings with or without ICU, but we don't pretend that we support things that we don't and silently return nonsense results to make debugging difficult for GNUstep users.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33688 72102866-910b-0410-8b05-ffd578937521
2011-08-03 12:04:27 +00:00
theraven
a04ed1a9ff Make base do unintuitive and stupid things in the name of Apple compatibility (hopefully Apple will fix their implementation in 10.7.something...).
Fix some tests.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33687 72102866-910b-0410-8b05-ffd578937521
2011-08-03 09:04:12 +00:00
fredkiefer
3104649bc8 Remove warnings generated by tests.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33686 72102866-910b-0410-8b05-ffd578937521
2011-08-03 08:41:26 +00:00
fredkiefer
5134f51320 Small fixes on tests.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33681 72102866-910b-0410-8b05-ffd578937521
2011-08-02 08:52:15 +00:00
theraven
8a8836129c Added some tests for round-trips through NSNumber.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33650 72102866-910b-0410-8b05-ffd578937521
2011-07-27 08:57:30 +00:00
theraven
407c9d0053 Tweak the weak tests so that they should still work, even if -base was compiled
with something that doesn't do a very good job of optimising autorelease
operations away.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33644 72102866-910b-0410-8b05-ffd578937521
2011-07-26 20:12:32 +00:00
theraven
60b9752943 Remove an NSLog() line I left in the test by mistake.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33638 72102866-910b-0410-8b05-ffd578937521
2011-07-26 18:42:13 +00:00
theraven
1d43e6de35 Added NSJSONSerialization (10.7) implementation. The code path reading from an NSInputStream is not well tested - please try and break it!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33631 72102866-910b-0410-8b05-ffd578937521
2011-07-25 15:50:51 +00:00
theraven
ceba92a265 Lots of little fixes to make -base compile with -Werror (now builds without warnings).
Richard: I'm unsure about three of these, which were fixes in memset() calls in:
- NSConcreteMapTable.m
- NSConcreteHashTable.m
- Additions/NSData+GNUstepBase.m

Please can you check them?  I think they are intended to zero the entire object
(rather than the first word), but the lack of comments makes me unsure.

Most changes were just tweaks to variable types.  I've also removed some dead code from NSInvocation.  This was small group of things that were marked for internal use only, but not actually referenced in the code anywhere.

Other improvements:

- NSArray / NSDictionary fixed up to use the 10.7 (ARC-friendly) prototypes.
- getObjects:andKeys: implemented for NSDictionary (10.5 method)
- NSPointerArray and NSHashTable now properly support weak objects.
- Tests for weak objects in collections.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33621 72102866-910b-0410-8b05-ffd578937521
2011-07-24 13:09:22 +00:00
theraven
fc206e3169 Add support (and test) for weak keys and values in NSMapTable. This support should work in GC mode. It also works if the runtime supports ARC, even if the compiler does not use this support.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33617 72102866-910b-0410-8b05-ffd578937521
2011-07-23 16:16:01 +00:00
theraven
b45d78dfa7 Added NSRegularExpressionSearch (10.7) support to NSString.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33600 72102866-910b-0410-8b05-ffd578937521
2011-07-21 13:17:27 +00:00
theraven
accb4a97dc Added some tests for lazy allocated thread behaviour.
These show deviation from OS X behaviour (the first test passes by accident - it's actually doing the wrong thing in two different ways that cancel each other out).



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33520 72102866-910b-0410-8b05-ffd578937521
2011-07-11 14:07:16 +00:00
theraven
7fea03e697 Added test for creating class / adding methods. Based on Wolfgang Lux' test example.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32997 72102866-910b-0410-8b05-ffd578937521
2011-05-07 09:50:42 +00:00
rfm
01b098e28a tweak to handle concurrency failure better.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32974 72102866-910b-0410-8b05-ffd578937521
2011-05-03 19:39:08 +00:00
theraven
408cec80d5 Made initialize test abort if it deadlocks for too long.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32950 72102866-910b-0410-8b05-ffd578937521
2011-04-29 14:59:24 +00:00
theraven
e23cad7454 On closer inspection, the runtimes / compilers were doing the right thing - the type encoding provided in Apple's documentation was wrong.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32945 72102866-910b-0410-8b05-ffd578937521
2011-04-29 11:11:37 +00:00
theraven
9b2b826548 Added test for property attribute encodings. These are based on the Apple documentation here:
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtPropertyIntrospection.html

Several of the things in the documentation are wrong:

- The encoding of structures does not include the field names in property
  encodings.  This encoding format appears to only be used in ivars (yes, it is
  frustrating)

- Apple appears to encode long as q on LP64 platforms.  This is probably a
  compiler bug.

- The N flag is not set for non-atomic properties.  This appears to be a clang
  bug, since the non-atomic flag is not set in the AST - both the Mac and
  GNUstep runtimes generate the same wrong result.



git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32944 72102866-910b-0410-8b05-ffd578937521
2011-04-29 10:50:00 +00:00
theraven
2735e3cb8b Added test for correct behaviour of +initialize in a multithreaded environment.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32912 72102866-910b-0410-8b05-ffd578937521
2011-04-20 09:41:12 +00:00
rfm
bf055f4e56 Minor fixups for release ... mostly avoid failed testcases.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32837 72102866-910b-0410-8b05-ffd578937521
2011-04-12 05:41:53 +00:00
rfm
49b2b9c764 Apply patch for bug #32899
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32794 72102866-910b-0410-8b05-ffd578937521
2011-04-07 05:09:08 +00:00
wlux
387687ccbf Fix bogus byte swap code for big-endian hosts.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32785 72102866-910b-0410-8b05-ffd578937521
2011-04-05 18:47:06 +00:00
rfm
e662ca46d2 fix byte order error
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32782 72102866-910b-0410-8b05-ffd578937521
2011-04-05 13:08:16 +00:00
rfm
94f95cd118 fixup for signedness ... charValue always returns a signed char
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32777 72102866-910b-0410-8b05-ffd578937521
2011-04-04 16:35:20 +00:00
rfm
c078d97164 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
rfm
b1a7add38e GC fixup
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32765 72102866-910b-0410-8b05-ffd578937521
2011-04-03 08:20:57 +00:00
rfm
f11cf6ae9a fix ifdefs
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32723 72102866-910b-0410-8b05-ffd578937521
2011-03-28 13:57:27 +00:00
rfm
efb095506b improved use of developer testing conditionals
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32719 72102866-910b-0410-8b05-ffd578937521
2011-03-28 13:22:57 +00:00
rfm
213d36b7d0 make relative link test into a hope
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32696 72102866-910b-0410-8b05-ffd578937521
2011-03-24 05:40:57 +00:00
rfm
e1b6677bf8 fix test of expansion of relative symlinks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32695 72102866-910b-0410-8b05-ffd578937521
2011-03-24 05:17:47 +00:00
rfm
7d51172308 cleanup to avoid tests which won't work on most systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32687 72102866-910b-0410-8b05-ffd578937521
2011-03-22 19:59:36 +00:00
rfm
224616a0f2 tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32686 72102866-910b-0410-8b05-ffd578937521
2011-03-22 19:47:10 +00:00
theraven
403d4741a6 Test that we properly support Apple's silly EH semantics for ObjC++, and that we can turn them off if we don't need to be compatible with code that relies on them.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32672 72102866-910b-0410-8b05-ffd578937521
2011-03-21 18:30:18 +00:00
rmottola
d1798099ab added new test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32670 72102866-910b-0410-8b05-ffd578937521
2011-03-21 18:15:37 +00:00
theraven
fb8ad303e3 Added test that makes sure that void* doesn't catch id. Currently crashes on OS X, but is a known bug.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32666 72102866-910b-0410-8b05-ffd578937521
2011-03-21 11:52:30 +00:00
rfm
74f0642938 increase timeout for slow machines
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32665 72102866-910b-0410-8b05-ffd578937521
2011-03-21 09:53:01 +00:00
theraven
3367fd283b Added test for Apple-compatible unified exception model.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32661 72102866-910b-0410-8b05-ffd578937521
2011-03-20 22:06:44 +00:00
theraven
4529ebcb0d Check that Foundation.h can be correctly imported into an ObjC++ program (i.e. we haven't used things like template or class as identifier names anywhere).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32636 72102866-910b-0410-8b05-ffd578937521
2011-03-17 15:27:00 +00:00
theraven
d5be261c5f Added test to check that C++ constructors / destructors are called in the correct order when C++ 'objects' are ObjC ivars.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32635 72102866-910b-0410-8b05-ffd578937521
2011-03-17 15:26:09 +00:00
rfm
ba8877299f remove unused files
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32621 72102866-910b-0410-8b05-ffd578937521
2011-03-16 17:05:09 +00:00
rfm
0cd0210518 check for failures
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32615 72102866-910b-0410-8b05-ffd578937521
2011-03-16 15:25:09 +00:00
rfm
1214410b14 don't call pass directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32614 72102866-910b-0410-8b05-ffd578937521
2011-03-16 15:12:49 +00:00
rfm
e1f08c60be use standardised locale for testing
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32606 72102866-910b-0410-8b05-ffd578937521
2011-03-16 14:01:09 +00:00
rfm
8f2ecfa9d5 fix am/pm issues and incorrect test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32605 72102866-910b-0410-8b05-ffd578937521
2011-03-16 13:17:48 +00:00
stefanbidi
65a5ff0f71 Remove redundant tests.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32591 72102866-910b-0410-8b05-ffd578937521
2011-03-14 23:26:40 +00:00
stefanbidi
1105063c2f Moved -getObjectValue:... test to NSLocale set (this method requires libicu for NSNumberFormatterBehavior10_4.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32590 72102866-910b-0410-8b05-ffd578937521
2011-03-14 23:17:32 +00:00
rfm
1812ce2707 tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32569 72102866-910b-0410-8b05-ffd578937521
2011-03-14 09:56:46 +00:00
rfm
234755c849 remove obsolete tests
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32490 72102866-910b-0410-8b05-ffd578937521
2011-03-07 17:49:41 +00:00
rfm
194166de96 link expansion checks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32469 72102866-910b-0410-8b05-ffd578937521
2011-03-06 05:49:36 +00:00
rfm
328152bfbc tests conditional on gc
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32464 72102866-910b-0410-8b05-ffd578937521
2011-03-05 17:41:38 +00:00
rfm
c518b0f246 tweak for mswindows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32458 72102866-910b-0410-8b05-ffd578937521
2011-03-05 14:47:58 +00:00
stefanbidi
f838cc8382 Set test as hopeful.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32452 72102866-910b-0410-8b05-ffd578937521
2011-03-04 20:10:42 +00:00
rfm
80f133ce16 Updated to pass on OSX
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32449 72102866-910b-0410-8b05-ffd578937521
2011-03-04 09:24:06 +00:00
rfm
0d6ac39d8b tweak
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32448 72102866-910b-0410-8b05-ffd578937521
2011-03-04 09:16:40 +00:00
rfm
e94b16ae4e Fix test ordering as reported by Philippe
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32447 72102866-910b-0410-8b05-ffd578937521
2011-03-04 08:56:10 +00:00
stefanbidi
99f65a83db Modified NSNumberFormatter tests. Still trying to figure out what goes on here.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32445 72102866-910b-0410-8b05-ffd578937521
2011-03-04 00:48:32 +00:00
rfm
6d21d67c23 re-introduce thread pool
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32442 72102866-910b-0410-8b05-ffd578937521
2011-03-03 15:14:29 +00:00
rfm
11c393b2dc Add support for 'concurrent' NSOperations, but remove the pools of theads and
and run normal operations each in their own until we re-instate pools.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32440 72102866-910b-0410-8b05-ffd578937521
2011-03-03 10:56:47 +00:00
rmottola
2edfecc95f Add test cor checking leading zeroes in fractional part
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32433 72102866-910b-0410-8b05-ffd578937521
2011-03-02 12:09:23 +00:00