Dmitri Hrybenko
37135f441b
XCTest requires objc_interop
...
Swift SVN r29198
2015-06-01 01:32:46 +00:00
Dmitri Hrybenko
29ec6ab6b5
Re-enable the XCTest overlay for OSX
...
And add the first smoketest for the XCTest overlay to prevent
regressions in future.
Swift SVN r29197
2015-06-01 01:09:31 +00:00
Dmitri Hrybenko
ffe26aa69c
stdlib: dissolve the Array.swift test in other tests
...
Swift SVN r29129
2015-05-29 01:33:07 +00:00
Greg Parker
9e23ebcec6
[test] Un-XFAIL GameplayKit tests. Reverts r29021.
...
Swift SVN r29024
2015-05-26 05:04:05 +00:00
Greg Parker
d7f92109a4
[test] Temporarily XFAIL GameplayKit tests on iOS until the test devices update
...
Swift SVN r29021
2015-05-26 04:06:01 +00:00
Dave Abrahams
abf8e2f921
[stdlib] ~>_copyToNativeArrayBuffer() => method
...
Swift SVN r29001
2015-05-25 03:28:54 +00:00
Dave Abrahams
0fdc73bf43
[stdlib] Minimize and rename _UnsignedIntegerType
...
The protocol is still needed in order to make sure mixed signed/unsigned
arithmetic doesn't compile, but after pulling all its "real"
requirements into UnsignedIntegerType, that's now its only function.
Thus, rename it to _DisallowMixedSignArithmetic.
Swift SVN r28980
2015-05-24 02:09:14 +00:00
Chris Lattner
ffddcf1023
update validation test for diagnostic change.
...
Swift SVN r28967
2015-05-23 16:15:57 +00:00
Joe Groff
32fb006386
Clang Importer: Enable OptionSetType import.
...
Update the tests to match.
Swift SVN r28906
2015-05-22 05:47:37 +00:00
Doug Gregor
2b01e748fd
Remove uses of parameter ‘#’ from the validation testsuite.
...
Swift SVN r28843
2015-05-20 20:21:45 +00:00
Dmitri Hrybenko
fe239e3d03
stdlib: de-underscore sort() and partition() methods
...
Swift SVN r28839
2015-05-20 19:34:36 +00:00
Dmitri Hrybenko
53f3ccf850
stdlib: change CollectionType.count() into a property
...
Swift SVN r28829
2015-05-20 09:14:43 +00:00
Dmitri Hrybenko
ca1cdefb76
tests: fix the names of fake collections in tests for partition()
...
Swift SVN r28821
2015-05-20 03:44:59 +00:00
Dmitri Hrybenko
4a677190eb
stdlib: move partition() to a protocol extension
...
Swift SVN r28816
2015-05-20 03:12:55 +00:00
Jordan Rose
5e74224140
[test] Move stdlib/Algorithm test to validation-test suite.
...
It takes a long time to compile (at least partly due to rdar://problem/20875936)
and then takes a long time to run (because it's a very large collection of
test cases). Dmitri says he prefers not to split it up into multiple tests.
This cuts my debug compiler / debug stdlib local testing time by over 15%.
Swift SVN r28811
2015-05-20 01:23:23 +00:00
Greg Parker
15b99a26d9
Test: Add %target-clang substitution.
...
Swift SVN r28758
2015-05-19 06:08:36 +00:00
Dmitri Hrybenko
abc7677337
GameplayKit overlay: adjust to SDK changes
...
Swift SVN r28738
2015-05-19 01:55:30 +00:00
Dmitri Hrybenko
47595ee1db
stdlib: change sort() and sorted() into protocol extensions
...
Swift SVN r28736
2015-05-19 01:55:29 +00:00
Dmitri Hrybenko
17cafb6b3a
Revert "stdlib: don't use doc comment markup for non-doc comments"
...
This reverts commit 28724. It contains unintended changes.
Swift SVN r28725
2015-05-18 21:51:53 +00:00
Dmitri Hrybenko
e964eb7384
stdlib: don't use doc comment markup for non-doc comments
...
rdar://problem/20976063
Swift SVN r28724
2015-05-18 21:50:24 +00:00
Dmitri Hrybenko
a2096f187c
Add the WatchKit overlay
...
rdar://20438380
Swift SVN r28654
2015-05-16 00:32:42 +00:00
Dmitri Hrybenko
1b61cefb44
The ObjectiveC test requires objc_interop
...
Swift SVN r28594
2015-05-15 00:51:40 +00:00
Dmitri Hrybenko
25d9a4fe32
stdlib: protocol extensions: de-underscore filter()
...
The API was adjusted according to the API review previously.
Swift SVN r28592
2015-05-15 00:37:01 +00:00
Dmitri Hrybenko
7c8a394cb1
Move NSObject extensions to the ObjectiveC overlay
...
NSObject is defined in the ObjectiveC module, not in Foundation.
rdar://20526438
Swift SVN r28591
2015-05-15 00:34:25 +00:00
Dmitri Hrybenko
3a2bb97cd6
Fix tests for expectCrashLater() for iOS
...
On iOS we recieve a different signal. That's not the point of the test,
and since we FileCheck the message anyway, the exact signal name does
not really matter.
Swift SVN r28513
2015-05-13 08:47:33 +00:00
Dmitri Hrybenko
e315581f74
StdlibUnittest tests: use a runtime trap to test expectCrashLater
...
This change makes the test output the same in normal runs and in ASan
builds.
Swift SVN r28507
2015-05-13 06:36:15 +00:00
Dmitri Hrybenko
843d8a4eb7
stdlib: protocol extensions: de-underscore map()
...
Swift SVN r28502
2015-05-13 01:58:46 +00:00
Ted Kremenek
6884540019
Revert "Re-enable validation-test/stdlib/SceneKit.swift."
...
This is failing on the bots.
Swift SVN r28501
2015-05-13 00:24:10 +00:00
Ted Kremenek
86dc008e5b
Adjust test to new #available syntax.
...
Swift SVN r28497
2015-05-12 23:36:13 +00:00
Dmitri Hrybenko
c8e1ac8435
Add the GameplayKit overlay
...
Swift SVN r28495
2015-05-12 23:12:06 +00:00
Ted Kremenek
b564dd5e02
Re-enable validation-test/stdlib/SceneKit.swift.
...
Implements rdar://problem/20738811
Swift SVN r28494
2015-05-12 22:56:47 +00:00
Dmitri Hrybenko
945259f704
SDK overlay: add a smoketest for the CoreMedia overlay
...
Swift SVN r28493
2015-05-12 22:53:12 +00:00
Dmitri Hrybenko
61214ec55b
stdlib: remove Sliceable conformance from String
...
Swift SVN r28442
2015-05-11 20:58:31 +00:00
Dmitri Hrybenko
0d42ed3eb2
StdlibUnittest: provide explanatory output about failing crash tests
...
Swift SVN r28404
2015-05-10 23:17:44 +00:00
Dmitri Hrybenko
bdd9250f12
stdlib: add tests for ${ArrayType}.init(SequenceType)
...
Swift SVN r28362
2015-05-09 03:32:37 +00:00
Dmitri Hrybenko
f46f16ae82
stdlib: implement new print() API
...
rdar://20775683
Swift SVN r28309
2015-05-08 01:37:59 +00:00
Ted Kremenek
9f9bb725cf
Rename '_ErrorType' to 'ErrorType'.
...
Swift SVN r28293
2015-05-07 21:59:29 +00:00
Dmitri Hrybenko
10ab07ade5
Revert "Remove {Dictionary,Set,UnsafeMutableBufferPointer,UnsafeBufferPointer}.count"
...
This reverts commit r28248 while we discuss the change.
Swift SVN r28291
2015-05-07 21:45:28 +00:00
Dmitri Hrybenko
8ac6c7cf8f
Remove {Dictionary,Set,UnsafeMutableBufferPointer,UnsafeBufferPointer}.count
...
These APIs are redundant with APIs that come from protocol extensions.
Swift SVN r28248
2015-05-07 00:30:43 +00:00
Dmitri Hrybenko
c109ec9125
stdlib: protocol extensions: de-underscore count()
...
Swift SVN r28246
2015-05-07 00:30:38 +00:00
Dmitri Hrybenko
e253881b02
stdlib: protocol extensions: de-underscore indices
...
Swift SVN r28245
2015-05-07 00:30:35 +00:00
Dmitri Hrybenko
f76ca6243e
stdlib: protocol extensions: de-underscore indexOf()
...
Swift SVN r28244
2015-05-07 00:30:33 +00:00
Dmitri Hrybenko
25e74d21db
stdlib: protocol extensions: de-underscore last
...
Swift SVN r28243
2015-05-07 00:30:32 +00:00
Dmitri Hrybenko
e96ade89a9
stdlib: protocol extensions: de-underscore isEmpty
...
Swift SVN r28241
2015-05-07 00:30:29 +00:00
Dmitri Hrybenko
97db2def53
stdlib: protocol extensions: de-underscore flatMap()
...
Swift SVN r28239
2015-05-07 00:30:27 +00:00
Dmitri Hrybenko
a474641f66
stdlib: protocol extensions: de-underscore reverse()
...
Swift SVN r28238
2015-05-07 00:30:26 +00:00
Dmitri Hrybenko
035d72d5a7
stdlib: protocol extensions: de-underscore contains()
...
Swift SVN r28236
2015-05-07 00:30:24 +00:00
Dmitri Hrybenko
78d1196f33
stdlib: protocol extensions: de-underscore elementsEqual
...
Swift SVN r28234
2015-05-07 00:30:22 +00:00
Dmitri Hrybenko
7e9063a4af
stdlib: protocol extensions: de-underscore enumerate()
...
Swift SVN r28231
2015-05-07 00:30:12 +00:00
Joe Pamer
3b57cabae7
Consider default argument patterns, as they relate to actual arguments, when deciding on a specific overload to favor for a function application. Doing so addresses another class of exponential behavior bugs in the type checker (rdar://problem/19779591 and rdar://problem/20772053). There's still some work left to do, though - hence the change to Concatenate.swift, to work around rdar://problem/20789500.
...
Swift SVN r28221
2015-05-06 22:32:07 +00:00