summaryrefslogtreecommitdiff
path: root/test/files/run
Commit message (Collapse)AuthorAgeFilesLines
* Removes SUnit (long deprecated!) from the stand...Paul Phillips2011-05-195-764/+506
| | | | | | | | | | | | Removes SUnit (long deprecated!) from the standard library. the relatively small number of partest tests in Scala's suite that were still using SUnit now either just use regular asserts, or they print stuff that partest checks with a .check file. Also fixed some bad indentation, removed ancient useless-looking commented-out code, etc. Contributed by Seth Tisue (way to go seth) no review.
* Apparent assumption that Literal(0) would be ad...Paul Phillips2011-05-192-0/+16
| | | | | | | Apparent assumption that Literal(0) would be adapted to Literal(0.0f) as necessary mercilessly invalidated. Fixed mkZero to account for all types explicitly. Closes #4617, no review.
* Fixes and closes #4608.Aleksandar Pokopec2011-05-191-0/+11
| | | | | No review.
* Closes 4560. Review by dragos.Martin Odersky2011-05-162-0/+17
|
* Temporarily sending lisp.scala to be interprete...Paul Phillips2011-05-152-544/+0
| | | | | | | | Temporarily sending lisp.scala to be interpreter.scala's equally memory hungry buddy in pending. References #4512. This should be straightened out imminently, but I will solve this more easily by looking forward, not backward. No review.
* Fix for view+groupBy closes #4558, no review.Paul Phillips2011-05-141-0/+6
|
* Regenerated automated tests for inner objects.Iulian Dragos2011-05-112-5802/+1053
| | | | | | single threaded and multi-threaded access, plus private objects. Should catch most possible nesting of objects.
* Renaming the inner objects test file. no review.Iulian Dragos2011-05-112-0/+0
|
* New test. No review.Martin Odersky2011-05-112-0/+24
|
* Closes #4565.Hubert Plociniczak2011-05-114-0/+6921
|
* close #4441. no reviewLukas Rytz2011-05-101-0/+5
|
* Good, I got the whitespace wrong, trying to emb...Paul Phillips2011-05-071-2/+1
| | | | | | | Good, I got the whitespace wrong, trying to embed a working checkfile for windows so I don't have to abandon my one javap test. I think I'm ready for NASA. No review.
* Attempting to make the :javap test pass on wind...Paul Phillips2011-05-071-0/+26
| | | | | Attempting to make the :javap test pass on windows, no review.
* Help :javap find nested repl-defined objects.Paul Phillips2011-05-062-0/+24
| | | | | no review.
* Be silent when compiling the repl extraction ob...Paul Phillips2011-05-052-0/+33
| | | | | | | Be silent when compiling the repl extraction object to suppress spurious warnings. Also corrected the busted logic for spotting repl wrappers. Closes #4542, no review.
* Makes BigInt's isValidThing methods make some k...Paul Phillips2011-05-051-0/+20
| | | | | | | Makes BigInt's isValidThing methods make some kind of sense. I wish I hadn't written so much code for the numerical classes which languishes in git tributaries. Closes #4540, no review.
* Fixes and closes #4461. No review.Aleksandar Pokopec2011-05-042-0/+26
|
* Fixes and closes #4535.Aleksandar Pokopec2011-05-042-0/+33
| | | | | No review.
* rewrite of nested objects implementation.Hubert Plociniczak2011-05-031-5/+0
| | | | | review by odersky, dragos and whoever feels like it.
* Since I don't want to commit anything "interest...Paul Phillips2011-05-011-1/+1
| | | | | | | | Since I don't want to commit anything "interesting" until we ship 2.9, a few uninteresting cleanups involving how types are printed, getting some debugging code in shape to prepare for the long winter ahead, etc. No review.
* Fixing the pattern matcher regression I introdu...Paul Phillips2011-04-292-0/+580
| | | | | | | | Fixing the pattern matcher regression I introduced between rc1 and rc2. Not done with this situation but at least I managed to boil out the big problem and keep my five closed pattern matcher tickets to boot. Closes #4523, no review.
* Fixed a booch I made in io.Position's positioning.Paul Phillips2011-04-272-0/+13
| | | | | Closes #4498, no review.
* Removed restriction on case classes having only...Paul Phillips2011-04-242-0/+17
| | | | | | Removed restriction on case classes having only two parameter lists. Closes #1333, no review.
* Working my way through pattern matcher sequence...Paul Phillips2011-04-235-6/+102
| | | | | | | | | Working my way through pattern matcher sequence issues mostly caused by the special handling of Lists. Also deleting all kinds of useless or almost useless code which is presently only clutter. Closes #2756, #2800, #3050, #3530, #3972, no review.
* Adding some docs refactorings.Aleksandar Pokopec2011-04-141-0/+5
| | | | | | | Also, added some docs variables to Gen* traits that were missing. No review.
* Tests which run have to be called "Test".Paul Phillips2011-04-141-2/+1
| | | | | and renames file to avoid ant's brainlessness, no review.
* Added test case for #4459.Aleksandar Pokopec2011-04-131-0/+13
| | | | | No review.
* Fixed some tests, renamed from Any to Gen.Aleksandar Pokopec2011-04-131-3/+3
| | | | | No review.
* Refactoring the collections api to support diff...Aleksandar Pokopec2011-04-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring the collections api to support differentiation between referring to a sequential collection and a parallel collection, and to support referring to both types of collections. New set of traits Gen* are now superclasses of both their * and Par* subclasses. For example, GenIterable is a superclass of both Iterable and ParIterable. Iterable and ParIterable are not in a subclassing relation. The new class hierarchy is illustrated below (simplified, not all relations and classes are shown): TraversableOnce --> GenTraversableOnce ^ ^ | | Traversable --> GenTraversable ^ ^ | | Iterable --> GenIterable <-- ParIterable ^ ^ ^ | | | Seq --> GenSeq <-- ParSeq (the *Like, *View and *ViewLike traits have a similar hierarchy) General views extract common view functionality from parallel and sequential collections. This design also allows for more flexible extensions to the collections framework. It also allows slowly factoring out common functionality up into Gen* traits. From now on, it is possible to write this: import collection._ val p = parallel.ParSeq(1, 2, 3) val g: GenSeq[Int] = p // meaning a General Sequence val s = g.seq // type of s is Seq[Int] for (elem <- g) { // do something without guarantees on sequentiality of foreach // this foreach may be executed in parallel } for (elem <- s) { // do something with a guarantee that foreach is executed in order, sequentially } for (elem <- p) { // do something concurrently, in parallel } This also means that some signatures had to be changed. For example, method `flatMap` now takes `A => GenTraversableOnce[B]`, and `zip` takes a `GenIterable[B]`. Also, there are mutable & immutable Gen* trait variants. They have generic companion functionality.
* closes #4426.Hubert Plociniczak2011-04-121-0/+24
|
* Closes #4380. No review.Martin Odersky2011-04-112-0/+18
|
* Closes #4396. No review.Martin Odersky2011-04-112-0/+22
|
* More fun with xml and elements not appearing eq...Paul Phillips2011-04-101-0/+12
| | | | | | More fun with xml and elements not appearing equal. Closes #4387, no review.
* The beautification of repl pasting had the prob...Paul Phillips2011-04-063-33/+42
| | | | | | | The beautification of repl pasting had the problem that the new beautiful output was not itself pastable. Now I have achieved "paste idempotence". No review.
* Enhancing the repl-testing code by turning it i...Paul Phillips2011-04-058-150/+225
| | | | | | | | | | Enhancing the repl-testing code by turning it into a transcript producing machine. "Here's some code." "Here's a transcript!" "Good day to you, sir!" "No, good day to YOU!" These changes are awesome. Look at the checkfile diffs for god's sake, they'll make you weep with joy. No review.
* Fix for interpreter issue with missing newlines...Paul Phillips2011-03-312-0/+24
| | | | | | Fix for interpreter issue with missing newlines wreaking havoc. No review.
* A change to a test to defend against output cha...Paul Phillips2011-03-291-1/+1
| | | | | | A change to a test to defend against output change when run with a plugin enabled. No review.
* And so my attempt to have a performance test dr...Paul Phillips2011-03-291-38/+0
| | | | | | And so my attempt to have a performance test draws the final curtain, no review.
* Learned an interesting lesson about having an i...Paul Phillips2011-03-281-1/+1
| | | | | | | | Learned an interesting lesson about having an implicit object with a "def apply(x: Any): List[String]" method imported into power mode. Let's just say this is not advised. This and other rough edges eliminated from power mode, no review.
* Fix for linked lists closes #4080 and proves my...Paul Phillips2011-03-273-4/+15
| | | | | | | | | | | | | | | | | | | | | | | Fix for linked lists closes #4080 and proves my desire not to ship obviously broken code is even greater than my will to hold out for any help. I threw in a free fix for this which I noticed while in there. scala> scala.collection.mutable.LinkedList[Int]().head res0: Int = 0 Also was reminded how useless tests can be: val ten = DoubleLinkedList(1 to 10: _*) ten.insert(DoubleLinkedList(11)) // Post-insert position test require(ten.last == 11) Fortunately a test confirming buggy behavior still serves a purpose by breaking when you fix the bug which allowed it to pass, thus letting you fix the broken test too. Life's (very) little compensations. Linked list code should still be presumed broken. No review.
* I guess windows can show a < 500x difference an...Paul Phillips2011-03-251-2/+2
| | | | | | | | | I guess windows can show a < 500x difference and still give us confidence there isn't a 100,000x difference. Testing situation continues to confound and amaze. Trying to make 4279 not fail on windows, one more time and I will delete it and burn the bodies. No review.
* Added a temporary fix for #4351, but disabled i...Aleksandar Pokopec2011-03-242-57/+0
| | | | | | | | | | | | | Added a temporary fix for #4351, but disabled it because the extend specialized class with nonspecialized type-parameters is used in the stdlib already. Disabling scala.parallel package, adding the currently disabled scala.concurrent package which will be implemented in some of the next releases. Review by phaller.
* Moved failing tests to pending after having dia...Martin Odersky2011-03-246-158/+0
| | | | | | | | Moved failing tests to pending after having diagnosed that the only problem is a difference in output between Java 1.5 and 1.6 reflection libraries. Can we moved back once that's fixed. For now, it's more important to ghet the build back.
* Changed App-using tests to use main() to see if...Paul Phillips2011-03-243-19/+25
| | | | | | Changed App-using tests to use main() to see if that's our trouble. No review.
* Spiced up the signature test infrastructure a b...Paul Phillips2011-03-236-15/+148
| | | | | | Spiced up the signature test infrastructure a bunch, wrote some more tests, restored the tests in pending. No review.
* Moving signature tests to pending, because they...Martin Odersky2011-03-234-39/+0
| | | | | | Moving signature tests to pending, because they operate under wrong assumptions now that mixed in members are bridges. Review by extempore.
* My early attempts to implement non-integral ran...Paul Phillips2011-03-231-0/+7
| | | | | | | | | | | | | | My early attempts to implement non-integral ranges in a way which was useful without having lots of floating point traps were less than successful. One of the bigger backfires is that the requirement not to round (trying, and failing anyway, to avoid surprises with methods like "contains") inflicts runtime errors. The simple way to improve this, which seems a good idea anyway, is to make the default math context something less inclined to exceptions. Default BigDecimal mc is now DECIMAL128. References #1812, #4201 and puts #4201 back to normal priority. Review by community.
* Adding some tests for #3651.Aleksandar Pokopec2011-03-223-58333/+0
| | | | | No review.
* Implementing foreach to work in parallel in Par...Aleksandar Pokopec2011-03-224-16/+58333
| | | | | | | | | | | | Implementing foreach to work in parallel in ParIterableLike. Doing a bunch of refactoring around in the collection framework to ensure a parallel foreach is never called with a side-effecting method. This still leaves other parts of the standard library and the compiler unguarded. No review.
* Oh the irony, disabling the failing test made t...Paul Phillips2011-03-222-222/+0
| | | | | | | Oh the irony, disabling the failing test made the build fail, because another test is hardcoded to use its paths. Disabled that test too. We'll put humpty back together again. No review.