summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* 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-0/+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-0/+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-137-22/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
|
* Fixes my part of #4283 by inserting another cas...Martin Odersky2011-04-132-2/+15
| | | | | | | Fixes my part of #4283 by inserting another cast pre-emptively when an IllegalAccess error is possible in an erasure-inserted cast. Review by extempore.
* 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
|
* Added test to pending.Martin Odersky2011-04-123-0/+15
|
* [scaladoc] Closes #4452 again. Review by malayeri.Kato Kazuyoshi2011-04-122-5/+24
|
* Closes #4402. Review by plocinic.Martin Odersky2011-04-113-0/+18
|
* [scaladoc] Forget to add test case at r24732.Kato Kazuyoshi2011-04-111-0/+11
|
* [scaladoc] Closes #4452. Review by malayeri.Kato Kazuyoshi2011-04-111-0/+8
|
* 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
|
* [scaladoc] Fix failing test. No review.Donna Malayeri2011-04-051-4/+4
|
* 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.
* Every tag element (even @define and @usecase) e...Kato Kazuyoshi2011-04-042-0/+23
| | | | | | Every tag element (even @define and @usecase) end before the next recognised tag. Closes #4409. Review by extempore.
* Put "\n" between superclass's comment and subcl...Kato Kazuyoshi2011-04-012-0/+26
| | | | | | Put "\n" between superclass's comment and subclass's. Closes #4289. Review by pedrofurla.
* Fix for parsing bug in scaladoc closes #4420, n...Paul Phillips2011-04-012-0/+26
| | | | | Fix for parsing bug in scaladoc closes #4420, no review.
* Printing refinement types in scaladoc.Paul Phillips2011-03-312-0/+39
| | | | | | one-member refinements, for bigger ones printing the number of members. Should be improved. Closes #484, 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-0/+0
| | | | | One breakage too many, this test is a pest -> disabled. no review.
* [scaladoc] Don't link to syntetic companion.Kato Kazuyoshi2011-03-312-0/+38
|
* 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.
* [scaladoc] Scaladoc should expand macros recurs...Kato Kazuyoshi2011-03-302-0/+51
| | | | | | [scaladoc] Scaladoc should expand macros recursively. Closes #3484. Review by dubochet.
* 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.
* Fixing the scalap test rig to work like other t...Paul Phillips2011-03-291-2/+1
| | | | | | Fixing the scalap test rig to work like other test types so it doesn't break the distribution build. No review.
* Disabled all the script tests.Paul Phillips2011-03-2911-0/+0
| | | | | breaking the distribution build. No review.
* [scaladoc] Don't create broken link to private ...Kato Kazuyoshi2011-03-292-0/+29
| | | | | | [scaladoc] Don't create broken link to private companion object. Closes #4374. Review by pedrofurla.
* [scaladoc] Cleanup code. No review.Kato Kazuyoshi2011-03-293-7/+12
|
* [scaladoc] Add a test of colon and parentheses ...Kato Kazuyoshi2011-03-292-0/+17
| | | | | [scaladoc] Add a test of colon and parentheses (#4372). No review.
* And so my attempt to have a performance test dr...Paul Phillips2011-03-291-0/+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.