Commit Graph

54 Commits

Author SHA1 Message Date
extempore 99c8042d37 Renamed tests named bugXXX to tXXX, no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25564 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-08-24 17:11:55 +00:00
extempore ed090c3b42 Attacked classpaths to get "." off of it when it's not actually
specified. The commit makes me nervous, but there's no invisible way to
fix something like this.

 ** Attention, this commit changes classpath handling **

We desperately need some way of testing that the classpath has
certain qualities and does not have others; partest is not that way.
Closes SI-4857, no review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@25452 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-08-06 13:08:36 +00:00
odersky 5d7682d97d Fixes underlying "... is not an enclosing class problem of" #3152.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24386 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-03-05 18:10:07 +00:00
extempore 3c701c836f Moved and removed a bunch of tests from pending. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@24021 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2011-01-19 03:53:44 +00:00
extempore d1fead05c5 Some work on error messages, somewhat based on ideas in #3092.
No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23603 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-11-26 23:53:26 +00:00
extempore 49d5eef338 A modifier's work is never done. Another mortal embrace with
protected and its bevy of corner cases.  Closes #3939, #3947.
This patch is intended for both trunk and 2.8.1.  Already reviewed
and co-authored by moors, and review by oderksy.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23355 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-10-26 04:37:09 +00:00
rytz 47fb24f070 oh well.. so let's remove that test. no review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23341 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-10-21 10:03:51 +00:00
extempore dd62f9e895 One last batch of test cleanups and I think I'll call it a day.
If you're worried I didn't leave any for anyone else, let me put
your fears to rest.  PLENTY left to sift through.  No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23172 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-10-03 03:19:21 +00:00
extempore 762e976f03 The next batch of tests put up a little more struggle, but only a little.
See test/pending/pos/unappgadteval.scala (the changes for which were
in the previous commit) for an example of a test which might be on
to something.  Any idea what it would take to get it working?

  // the key lines
  case i @ Suc()          => { (y: Int) => y + 1 }      // a = Int => Int
  case f @ Lam[b,c](x, e) => { (y: b) => eval(e, env.extend(x, y)) }  // a = b=>c

No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23171 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-10-02 23:19:16 +00:00
extempore 1e9fdc869b Sorting through the tests in pending from oldest to newest because
I don't believe in having useless appendages.  The verdict on the
oldest fifteen tests is: 15/15 are fixed.  Many were already in
files under a different name.  I moved a few and deleted the rest.
Fun fact of the day: apparently there was a time when to call into
java varargs with no arguments you might have to write something like:

  getClass().getMethod("getCount", Array[java.lang.Class[T] forSome { type T }]())

On this basis I retract any complaints I've ever had about anything.

There is one question mark outlined in pos/testCoercionThis.scala,
a file formerly called pos/moors.scala and therefore... review by moors.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23169 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-10-02 22:43:10 +00:00
extempore 0d987595eb Cleaning up the contents of test. Revived all the scalacheck tests,
including "CheckEither", written against scalacheck 1.2 in the year 471 AD.
Removed all the duplicates I could find, mostly between pending and files.
Renamed a bunch of tests so they wouldn't look like likely duplicates next
time around.  Nominated somebody else to do this once in a while.

No review.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@23117 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-09-28 00:51:25 +00:00
rytz 3a449e4c6d pending test for #3663
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22695 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-08-06 16:20:51 +00:00
extempore 8ec219d87f Reverts r21973, the patch I characterized as "hacky but no-risk"
in my commit message, for causing #3480.  Closes #3480.  I'd say
no review but who can trust a guy who throws around "no risk"
with such abandon.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@22159 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-06-04 02:39:10 +00:00
extempore f2addd7755 If I work on this patch any longer without checking in I
will go stark raving mad.  It is broken up into a couple
pieces.  This one is the changes to test/.  It includes
fixing a bunch of tests, removing deprecated constructs,
moving jars used by tests to the most specific plausible
location rather than having all jars on the classpath of
all tests, and some filesystem layout change (continuations
get their whole own srcpath.) This would be the world's
most tedious review, so let's say no review.

[Note: after this commit, I doubt things will build very
smoothly until the rest of the partest changes follow.  Which
should only be seconds, but just in case.]

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@21329 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-04-05 06:24:22 +00:00
phaller ba2d61c6c9 Moved plugin neg tests to pending. No review.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@20366 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2010-01-05 16:57:30 +00:00
odersky 6fb8f549dd Closed #2629 #2639 #2669
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19814 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-11-24 15:50:06 +00:00
odersky f2d0c8159b Fixed #2422 abd #2461
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@19074 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-13 15:39:22 +00:00
odersky 196a95f000 Sequence->Seq
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18895 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-10-02 17:57:16 +00:00
dubochet 7f0b1d145a [no content change] Fixed all SVN properties: mimes, EOL, executable. Id expansion is consistently enabled for Scala/Java/C# sources in 'src/' and consistently disabled and removed from everywhere else: there should not be any dead Id tags anymore.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18773 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-09-24 13:09:40 +00:00
extempore b6a22ad13d removed t1701 from pending as it's now in files.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18507 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-08-18 18:10:03 +00:00
phaller c0df335693 Added test for #2079.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18077 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-06-22 13:50:49 +00:00
phaller e9f439d846 Added test for #2078.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18076 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-06-22 13:46:34 +00:00
dubochet 6c839dac1a Added a series of pending test cases.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@18012 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-06-09 13:22:01 +00:00
extempore 1394022120 Began evaluation of the tests in pending, and moved/updated/removed
.scala and .check files as warranted.

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@17119 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-02-16 16:28:31 +00:00
rytz af5815b481 added pending test for #1701
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@17066 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2009-02-09 15:44:07 +00:00
washburn d837b208ba Moved successful tests from pending.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@16217 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-10-08 14:30:28 +00:00
washburn a0067be697 These tests have already been moved from pending to files.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15697 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-08-05 10:16:48 +00:00
washburn cb1e345395 Moving currently problematic tests to pending.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15696 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-08-05 09:55:58 +00:00
pradel 5e15d94c34 test for #1049
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15406 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-06-20 07:22:55 +00:00
pradel 4f9a77ee1a added tests for #1035 and #1038 to pending
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@15384 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-06-17 09:32:02 +00:00
maier c327564295 Pending test for #673, #695
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14473 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-04-01 09:18:11 +00:00
maier b2c6474925 Pending test for #699
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14472 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-03-31 19:07:26 +00:00
maier c1a843abe0 Pending test for #653
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14469 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-03-31 13:36:09 +00:00
maier 94a3069c5b Pending test for #605
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14410 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-03-18 20:15:14 +00:00
maier 061a74c567 Pending test for #625
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14366 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-03-12 11:37:25 +00:00
odersky 0423d9a81f 1. changed combinator parsers to accommodate regexp parsing
2. Added * operator to RichString
3. changed zip in Array to accept arrays of different length
4. changed takeWhile/dropWhile in Array to yield Projections
5. Added Manifest types

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14347 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-03-10 12:00:03 +00:00
maier 5ae230aca3 Pending test for #606
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@14327 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2008-03-07 16:50:44 +00:00
moors 2b5477efd5 quick fix for the first part of bug1210 (compiler loops in normalize), so that the other problem is revealed: escaping variable is not detected. For the first part, I added an ugly explicit if to `normalize` -- I haven't figured out why it's needed yet.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@12373 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-07-20 09:22:00 +00:00
mihaylov 48b00aa2be Moved some test from pending/ to files/
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10712 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-17 12:05:31 +00:00
moors aaed85822c adding test files from tcpoly branch without history -- much faster this way, sorry
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10644 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-06 09:39:53 +00:00
moors 9f254e3fe3 copying tests from tcpoly branch
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10643 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-04-06 09:31:59 +00:00
mcdirmid 26f0de1d02 Revamped scala-doc. Fixed documentation in the collection library. Moved some methods out of Seq and into Iterable.
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10556 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-03-28 10:44:12 +00:00
spoon 7a42b2d081 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@10365 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2007-03-16 13:13:30 +00:00
emir 64bbbd7c70 added colon to check files in pending
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9574 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2007-01-08 14:04:14 +00:00
michelou a0d2429a45 moved from pending
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9520 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-12-13 17:09:39 +00:00
michelou 25b1b5cdb1 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9518 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-12-13 17:08:10 +00:00
michelou 252e3d43c9 added test for already defined values
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9509 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-12-12 17:03:01 +00:00
mcdirmid 2b111a8189 For bug838
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9376 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-11-25 12:59:17 +00:00
odersky 84b5098e90 Bug fixes
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7364 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
2006-05-08 16:34:57 +00:00
spoon 457af8fab0 git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@7161 5e8d7ff9-d8ef-0310-90f0-a4852d11357a 2006-04-19 11:54:09 +00:00