summaryrefslogtreecommitdiff
path: root/test/files
Commit message (Collapse)AuthorAgeFilesLines
* Fixing a couple more tests, no review.Paul Phillips2011-04-152-2/+2
|
* Adding some docs refactorings.Aleksandar Pokopec2011-04-141-0/+5
| | | | | | | Also, added some docs variables to Gen* traits that were missing. No review.
* Of late the test which fires up the window serv...Paul Phillips2011-04-142-42/+0
| | | | | | | | Of late the test which fires up the window server, which has already been the source of undue quantities of inconvenience, has taken to hanging indefinitely when I run the test suite on a remote machine. Rope at end, goodbye test, no review.
* This time, fixed #4283. no review.Iulian Dragos2011-04-143-0/+14
|
* Tests which run have to be called "Test".Paul Phillips2011-04-141-2/+1
| | | | | and renames file to avoid ant's brainlessness, no review.
* Revert "Closes #4283.Iulian Dragos2011-04-133-14/+0
|
* New starr based on r24749. No review.Paul Phillips2011-04-133-409/+0
|
* Added test case for #4459.Aleksandar Pokopec2011-04-131-0/+13
| | | | | No review.
* Fixed some tests, renamed from Any to Gen.Aleksandar Pokopec2011-04-134-9/+9
| | | | | No review.
* Refactoring the collections api to support diff...Aleksandar Pokopec2011-04-136-22/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 #4283. no review.Iulian Dragos2011-04-133-0/+14
|
* Test cases for #1071 and #4275 since I don't se...Paul Phillips2011-04-132-0/+30
| | | | | | Test cases for #1071 and #4275 since I don't see a lot of test cases, hint hint, no review.
* closes #4426.Hubert Plociniczak2011-04-121-0/+24
|
* Closes #4432. review by dragosHubert Plociniczak2011-04-121-0/+42
|
* Closes #4402. Review by plocinic.Martin Odersky2011-04-113-0/+18
|
* 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.
* Closes #4431. Review by extempore.Martin Odersky2011-04-082-0/+23
|
* 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.
* Misc cleanups and crash avoidance, no review.Paul Phillips2011-04-063-1/+14
|
* make natives test run on win64. no reviewLukas Rytz2011-04-052-0/+3
|
* Enhancing the repl-testing code by turning it i...Paul Phillips2011-04-059-250/+464
| | | | | | | | | | 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.
* Fixed failing presentation compiler test.Iulian Dragos2011-03-311-1/+1
|
* One breakage too many, this test is a pest -> d...Iulian Dragos2011-03-312-215/+0
| | | | | One breakage too many, this test is a pest -> disabled. 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.
* Modified some typer logic to allow annotation a...Paul Phillips2011-03-311-1/+1
| | | | | | | | | | Modified some typer logic to allow annotation arguments for constants which don't have the form Literal(_). The current logic seems to be avoided most of the time, but scaladoc breaks when it runs into it. This closes #4301. I can't figure out from the ticket what the deal is with #2764 and what is presently happening, but it seems like this patch could only improve the situation. Review by rytz.
* 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.
* Disabled all the script tests.Paul Phillips2011-03-2911-138/+0
| | | | | breaking the distribution build. 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.
* Looks like another java5/java6 difference gets ...Paul Phillips2011-03-281-5/+13
| | | | | | Looks like another java5/java6 difference gets me on a test. At least this time I was looking for that. No review.
* Expanding the test which tries to use the colle...Paul Phillips2011-03-281-9/+60
| | | | | | Expanding the test which tries to use the collections from java. No review.
* Added some implicitNotFound annotations to comm...Paul Phillips2011-03-282-2/+2
| | | | | | | Added some implicitNotFound annotations to commonly used classes, and some documentation to Manifest. (Said documentation is invisible for the moment due to #4404.) 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-244-57/+21
| | | | | | | | | | | | | 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.
* Looks like I accidentally committed a test log,...Paul Phillips2011-03-241-2/+0
| | | | | Looks like I accidentally committed a test log, no review.
* Restoring my higher-kinded-Array signature chec...Paul Phillips2011-03-242-0/+6
| | | | | | Restoring my higher-kinded-Array signature check which martin callously blew away while fixing all our other problems. Review by odersky.
* 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.
* Simple test case to see whether Java understand...Martin Odersky2011-03-231-0/+16
| | | | | | Simple test case to see whether Java understands mixed in signatures. This should be extended with more cases. 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-227-58333/+28
| | | | | No review.
* Implementing foreach to work in parallel in Par...Aleksandar Pokopec2011-03-228-20/+58337
| | | | | | | | | | | | 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.
* closes #4345.Adriaan Moors2011-03-221-0/+7
|
* closes #4205: quick&dirty fix to force loading ...Adriaan Moors2011-03-222-0/+7
| | | | | | closes #4205: quick&dirty fix to force loading of info's and thus avoid order-dependency until we fix unsafeTypeParams for good. no review
* Not yet learned my lesson about partest and emp...Paul Phillips2011-03-225-0/+0
| | | | | | | | | | Not yet learned my lesson about partest and empty directories. Rather than reapply that bandaid, went after partest. Attempts to make partest ignore empty directories. Discover directory tests aren't run when the command line tool is used, make them run like everyone else. Find more tests which due to misplacement are silently ignored, move them into tested locations. No review.