Commit Graph

1226 Commits

Author SHA1 Message Date
Max Moiseev
8209749489 [stdlib][swift-3-indexing-model] fixing CoreAudio tests 2016-04-06 10:11:30 -07:00
Max Moiseev
42732de835 [stdlib][swift-3-indexing-model] fixing CollectionDiagnostics test 2016-04-06 10:11:30 -07:00
Jordan Rose
5f04b8c4fe [test] Speculative fix for failing WatchKit test. 2016-04-06 09:16:39 -07:00
Dmitri Gribenko
af92162f6b Migrate validation-test/stdlib/NewArray.swift.gyb to LifetimeTracked 2016-04-05 15:39:30 -07:00
Dmitri Gribenko
65044f2d29 New indexing model: fix validation-test/stdlib/NewArray.swift.gyb 2016-04-05 15:39:30 -07:00
Dmitri Gribenko
d5911124cf New indexing model: fix validation-test/stdlib/RangeReplaceable.swift.gyb 2016-04-05 15:39:30 -07:00
Dmitri Gribenko
cc417c160c Validation tests: remove tests that are duplicate with validation-test/stdlib/Collection 2016-04-04 18:53:04 -07:00
Dmitri Gribenko
9c392bfdcb StdlibCollectionUnittest: generalize MutableCollection.SubSequence.subscript(_: Range)/Set tests 2016-04-04 18:38:11 -07:00
Dmitri Gribenko
1fe5f04ce5 New indexing model: fix the validation-test/stdlib/Sort.swift.gyb test 2016-04-04 16:13:45 -07:00
Dmitri Gribenko
3e8dd1fa7c New indexing model: fix the validation-test/stdlib/String.swift test 2016-04-04 15:43:29 -07:00
Dmitri Gribenko
536107c35f New indexing model: fix the validation-test/stdlib/StringViews.swift test 2016-04-04 14:23:18 -07:00
Dmitri Gribenko
8965e53907 New indexing model: fix the validation-test/stdlib/UnicodeTrie.swift.gyb test 2016-04-04 12:59:28 -07:00
Dmitri Gribenko
6985b958fd Merge remote-tracking branch 'origin/master' into swift-3-indexing-model 2016-04-04 11:42:17 -07:00
practicalswift
abfecfde17 [gardening] if ([space]…[space]) → if (…), for(…) → for (…), while(…) → while (…), [[space]x, y[space]] → [x, y] 2016-04-04 16:22:11 +02:00
Mike Ferris
a3b880a9bf <rdar://problem/25034414> Enable unit tests for test methods that throw once the open source CI is on 7.3 2016-04-02 07:26:55 -07:00
Dmitri Gribenko
a5ad2b802c Remove a test that was migrated to StdlibCollectionUnittest 2016-04-02 02:50:12 -07:00
Dmitri Gribenko
6830edd210 New indexing model: fix validation-test/stdlib/Unicode.swift 2016-04-02 02:45:35 -07:00
Dmitri Gribenko
7d82037309 Slice tests: update expectations: creating out of bounds indices traps now 2016-04-01 14:14:56 -07:00
Dmitri Gribenko
37c4d70eb9 Split collection tests for better parallelism 2016-04-01 14:14:56 -07:00
Dmitri Gribenko
4066326c6c Move GenerateSliceTests.py to utils/split-generated-tests, it will be used for other tests, too 2016-04-01 14:12:19 -07:00
Max Moiseev
171169b01f [stdlib][swift-3-indexing-model] fixing Arrays tests 2016-04-01 14:12:17 -07:00
Dmitri Gribenko
5a12349e9c Merge remote-tracking branch 'origin/master' into swift-3-indexing-model 2016-04-01 14:12:13 -07:00
Max Moiseev
2fd41315d2 [stdlib][swift-3-indexing-model] fixing SequenceType tests 2016-04-01 14:11:54 -07:00
Dmitri Gribenko
8fbe94fe01 New indexing model: make validation-test/stdlib/CollectionType.swift.gyb compile (but not pass yet) 2016-04-01 14:11:53 -07:00
Dmitri Gribenko
dcf919c2a2 New indexing model: fix validation-test/stdlib/Join.swift.gyb 2016-04-01 14:11:53 -07:00
Dmitri Gribenko
4750f3ba50 New indexing model: fix validation-test/stdlib/Index.swift.gyb 2016-04-01 14:11:52 -07:00
Dmitri Gribenko
208e34275f New indexing model: fix test/1_stdlib/Collection.swift 2016-04-01 14:11:52 -07:00
Dmitri Gribenko
7e0661b31f New indexing model: re-generate Slice* tests 2016-04-01 14:11:50 -07:00
Slava Pestov
49c54870c1 Serialization: Auto-linking recursively walks modules imported from -sil-serialize-all modules 2016-04-01 12:21:36 -07:00
Dmitri Gribenko
c5a11b0dc0 stdlib testing: make PRNG from SwiftPrivate deterministic 2016-03-30 19:35:23 -07:00
Han Sangjin
5c1854bfcf stdlib: Portable random function
Changed rand32() implementation using a random engine in C++11 <random>.
2016-03-31 04:39:46 +09:00
Dmitri Gribenko
3e8ffae660 New indexing model: update the test generator for Slice* tests 2016-03-29 17:34:03 -07:00
Max Moiseev
c93fcb98ae [stdlib][swift-3-indexing-model] fixing Concatenate tests
The 'reversed' tests are marked as XFAILing, because required methods
are not implemented on `ReversedCollection`.
2016-03-29 14:56:22 -07:00
Dave Abrahams
8e4f85277b Merge remote-tracking branch 'refs/remotes/origin/master' into merge 2016-03-29 09:19:34 -07:00
Dave Abrahams
97baefffc7 Fix up use of limitedBy: in a test 2016-03-28 17:07:53 -07:00
Dave Abrahams
eda98cddde Spelling error: s/Avance/Advance/ 2016-03-28 17:07:53 -07:00
Dave Abrahams
cfcc21e395 Update successor/predecessor in validation tests 2016-03-28 17:07:52 -07:00
Dave Abrahams
393ca5d362 Warning suppression 2016-03-28 17:07:52 -07:00
Dave Abrahams
a5c3c63c3d [stdlib] Indexing model: nix RangeOfStrideable
Instead, use CountableRange which is constrained to have a Strideable
Bound whose Stride conforms to Integer.
2016-03-28 17:06:09 -07:00
Dave Abrahams
a95cea9868 Merge branch 'swift-3-indexing-model' of github.com:apple/swift into swift-3-indexing-model 2016-03-28 13:35:30 -07:00
Dave Abrahams
da5c4036ac func index(n: IndexDistance, stepsFrom i: Index)
M-x findr-query-replace

\<func advance(\([^(),]*\|[^(),]+([^()]*)[^(),]*\)\(,[
]*\)by \([^(),]*\|[^(),]+([^()]*)[^(),]*\)

func index(\3\2stepsFrom \1
2016-03-28 13:23:04 -07:00
Dave Abrahams
81d3e8ca83 limit: => limitedBy:, pt 2
M-x findr-query-replace

\<limit: \([^(),]*\|[^(),]+([^()]*)[^(),]*\))\( *\(?:[^ -]\|-[^>]\)\)

limitedBy: \1)\2
2016-03-28 13:12:02 -07:00
Ted Kremenek
3c988c7d25 Remove fixed seed, as apparently it causes a crash. Will investigate more. 2016-03-26 09:17:38 -07:00
Ted Kremenek
a2d775401e Fix seed in Hashing.swift test. 2016-03-26 08:57:41 -07:00
Ted Kremenek
19b0a09f05 Try to *really* disable tests by moving them out of the same folder. 2016-03-26 08:20:37 -07:00
Ted Kremenek
dcc093f179 Try and disable these two tests for real. 2016-03-26 07:55:41 -07:00
Dave Abrahams
01127b32d5 index(n, stepsFrom: i)
M-x findr-query-replace

\<advance(\([^:]+?\),\([
]+\)by: *\([^(),]*\|[^(),]+([^()]*)[^(),]*\)\(,\(?:[
]+\)limit: *\(?:[^()]*\|[^()]+([^()]*)[^()]*\)\)?)

index(\3,\2stepsFrom: \1\4)
2016-03-25 17:54:39 -07:00
practicalswift
d00a5ef814 [gardening] Weekly gardening: typos, duplicate includes, header formatting, etc. 2016-03-24 22:41:10 +01:00
Max Moiseev
e7511620cf [stdlib][swift-3-indexing-model] adding a tag to find and fix the skipped test later 2016-03-24 10:24:25 -07:00
Max Moiseev
d721a03d90 [stdlib][swift-3-indexing-model] fixing Index tests 2016-03-23 16:07:20 -07:00