summaryrefslogtreecommitdiff
path: root/test/files/run/sequenceComparisons.scala
Commit message (Collapse)AuthorAgeFilesLines
* Cull extraneous whitespace.Paul Phillips2013-09-181-20/+20
| | | | | | | | | | | | | | | | | | | | | One last flurry with the broom before I leave you slobs to code in your own filth. Eliminated all the trailing whitespace I could manage, with special prejudice reserved for the test cases which depended on the preservation of trailing whitespace. Was reminded I cannot figure out how to eliminate the trailing space on the "scala> " prompt in repl transcripts. At least reduced the number of such empty prompts by trimming transcript code on the way in. Routed ConsoleReporter's "printMessage" through a trailing whitespace stripping method which might help futureproof against the future of whitespace diseases. Deleted the up-to-40 lines of trailing whitespace found in various library files. It seems like only yesterday we performed whitespace surgery on the whole repo. Clearly it doesn't stick very well. I suggest it would work better to enforce a few requirements on the way in.
* SI-7003 Partest redirects stderr to log fileSom Snytt2013-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some scalac output is on stderr, and it's useful to see that in the log file, especially for debugging. Adds a line filter for logs, specified as "filter: pattern" in the test source. Backslashes are made forward only when detected as paths. Test alignments: Deprecations which do not pertain to the system under test are corrected in the obvious way. When testing deprecated API, suppress warnings by deprecating the Test object. Check files are updated with useful true warnings, instead of running under -nowarn. Language feature imports as required, instead of running under -language. Language feature not required, such as casual use of postfix. Heed useful warning. Ignore broken warnings. (Rarely, -nowarn.) Inliner warnings pop up under -optimise only, so for now, just filter them out where they occur. Debug output from the test required an update.
* Begone t1737...Hubert Plociniczak2011-11-021-20/+20
|
* Reversed the values of "is" and "is not" in rec...Paul Phillips2011-08-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Reversed the values of "is" and "is not" in recent for comprehension deprecation. DO NOT BLOW HATCH REPEAT DO NOT BLOW HATCH "Roger! Hatch blown." Events reveal it was all baby, no bathwater. It turns out that the specification is merely a document, not infallible holy writ as we had all previously believed. So it is not the ABSENCE of val in a for comprehension assignment which is deprecated, it is the PRESENCE of val. Summarizing again, more accurately perhaps: for (x <- 1 to 5 ; y = x) yield x+y // THAT's the one for (val x <- 1 to 5 ; y = x) yield x+y // fail for (val x <- 1 to 5 ; val y = x) yield x+y // fail for (x <- 1 to 5 ; val y = x) yield x+y // deprecated No review.
* Minimally integrated the semi-orphaned immutabl...Paul Phillips2009-12-211-1/+1
| | | | | | | Minimally integrated the semi-orphaned immutable.Stack into the collections hierarchy and enabled it in the sequence tests. Closes #2822. review by community.
* new doc comment generation, including some new ...Martin Odersky2009-12-071-4/+4
| | | | | | new doc comment generation, including some new style doc comments in collection classes.
* Fixed test cases to the new method names (index...Iulian Dragos2009-11-261-1/+1
| | | | | | Fixed test cases to the new method names (indexOfSeq -> indexOfSlice). See r19892
* built new starr and fixed test casesTiark Rompf2009-10-211-1/+1
|
* renamed Vector to IndexedSeqTiark Rompf2009-10-211-1/+1
|
* Sequence->SeqMartin Odersky2009-10-021-10/+10
|
* fixed headers/comments/svn props, made some pro...michelou2009-09-151-2/+2
| | | | | | fixed headers/comments/svn props, made some progress with serializable classes
* Created plausibly sensible equals and hashCode ...Paul Phillips2009-09-091-2/+2
| | | | | | | | | | Created plausibly sensible equals and hashCode methods in collection.{ Set, Map, Sequence } and made sure that none of the derived collections is getting too excited about doing its own thing and in so doing either breaking equals/hashCode consistency or creating an asymmetric equals (or both.)
* Removed some identical code from the collection...Paul Phillips2009-07-181-7/+5
| | | | | | | Removed some identical code from the collections classes in hopes of finding some consistency in collections equality. Added more test cases to the sequenceComparisons test.
* A start on a more comprehensive test suite for ...Paul Phillips2009-07-171-0/+123
A start on a more comprehensive test suite for sequences. It performs 3600 different tests attempting to exercise the potentially buggy variations of startsWith, endsWith, indexOfSeq, and sameElements. And, a KMP implementation of indexOfSeq which in addition to being a lot faster for definite sized sequences, should give the wrong answer somewhat less frequently.