Commit Graph

11 Commits

Author SHA1 Message Date
Dave Abrahams
ac3f047496 [stdlib] Renaming fallout from Mirror API review
toString(x)      => String(x)
toDebugString(x) => String(reflecting: x)
Printable        => CustomStringConvertible
DebugPrintable   => CustomDebugStringConvertible

Also updated comments to clarify these protocols

Swift SVN r27090
2015-04-07 20:32:26 +00:00
Dave Abrahams
5228d9e350 [stdlib] Add "copy init" methods for bridged types
Fixes <rdar://problem/19755780>

Swift SVN r25187
2015-02-11 19:27:09 +00:00
Graham Batty
83b4384fac Update test flags for linux failures and support.
Also removed the sdk 'feature' in favour of the more specific
objc_interop.

Swift SVN r24856
2015-01-30 21:31:48 +00:00
Maxwell Swadling
754122f601 [stdlib] Fixed bug in NSIndexSet for empty sets
Swift SVN r24331
2015-01-09 23:13:26 +00:00
Maxwell Swadling
7668402747 [stdlib] added SequenceType to NSIndexSet
Fixes rdar://problem/17799474

Swift SVN r24329
2015-01-09 22:55:25 +00:00
Maxwell Swadling
c889977b52 [stdlib] Makes NSSet and NSOrderedSet ArrayLiteralConvertible
Fixes rdar://problem/14661748
Also adds missing SequenceType to NSOrderedSet

Swift SVN r23863
2014-12-11 19:11:37 +00:00
Maxwell Swadling
f5c427bf29 [stdlib] fixed inconsistent syntax in test
Swift SVN r23704
2014-12-05 00:24:34 +00:00
Graham Batty
83f27a8af7 Revert "Mark tests that don't pass on linux as XFAIL."
This reverts commit 2711ca86de7bf6a7885ccea24219a48a590b1e95.

Swift SVN r23577
2014-11-24 17:42:13 +00:00
Graham Batty
198402dcfe Mark tests that don't pass on linux as XFAIL.
Swift SVN r23573
2014-11-24 17:40:37 +00:00
David Farler
14159d942b Use string description in test sequence comparison
Using ObjectIdentifiers on the 32-bit simulator isn't a reliable
comparison method. For the purposes of these tests, it's better to
do a string comparison of the description instead.

rdar://problem/19013004

Swift SVN r23415
2014-11-18 21:55:32 +00:00
Maxwell Swadling
034eab605c [stdlib-unittest] Added tests for NSSet / NSArray
Swift SVN r23216
2014-11-11 00:24:22 +00:00