summaryrefslogtreecommitdiff
path: root/test/files/presentation
Commit message (Collapse)AuthorAgeFilesLines
* remove -Xoldpatmat where test no longer needs itAdriaan Moors2012-05-021-1/+0
|
* Presentation Compiler tests for visibility of members.Iulian Dragos2012-04-309-415/+681
| | | | Removed some unneeded indirection in the testing framework.
*-. Merge commit 'refs/pull/437/head'; commit 'refs/pull/438/head' into developPaul Phillips2012-04-256-5/+80
|\ \
| | * updated tests now matches aren't translated if forInteractiveAdriaan Moors2012-04-252-5/+2
| |/ |/|
| * Added a Presentation Compiler test for hyperlinking.Iulian Dragos2012-04-254-0/+78
|/ | | | | | This test ensures hyperlinking works inside and around pattern matching. The new virtual pattern matcher synthesizes trees that are not properly nested, and whose positions make it impossible to retrieve the correct tree/symbol for a given position. Therefore, the current test is using the old pattern matcher. However, once the virtual pattern matcher is fixed, remove the corresponding line from patmat.flags to re-enable virtpatmat.
* migrates stdlib and compiler to tagsEugene Burmako2012-04-231-1/+1
| | | | | * all usages of ClassManifest and Manifest are replaced with tags * all manifest tests are replaced with tag tests
* virtpatmat on by default; chicken out: -XoldpatmatAdriaan Moors2012-04-142-2/+5
| | | | | | | some tests (unreachability, exhaustivity, @switch annotation checking) are still run under -Xoldpatmat, but that will change before we go into RC mode (then the test/ partest of this commit will be reverted) removed irrelevant dependency on patmat
* Disabling failing tests.Paul Phillips2012-04-123-985/+0
| | | | | | | | | | I turn them over to the responsible parties. Iulian knows about the deadlock test; for philipp I presume, 07:10:29 [partest] concurrent-future.scala:97: error: not found: type FutureTimeoutException 07:10:29 [partest] throw new FutureTimeoutException(null) 07:10:29 [partest] ^ 07:10:29 [partest] one error found
* Bumped the number of samples of the memory leaks test to 50. This should ↵Iulian Dragos2012-04-092-10/+51
| | | | make it much more resilient against spikes. Also removed usedmem file dumps.
* Added presentation memory leak test.Iulian Dragos2012-04-032-0/+139
|
* Pushed Symbol/Type creation partitioning further.Paul Phillips2012-04-011-1/+1
| | | | | Yet more funnelling of immutable creation-time known information into the identities of symbols and types.
* Increased the timeout from 5s to 60s to make the presentation compiler ↵Iulian Dragos2012-03-221-1/+1
| | | | shutdown test more resilient on slow machines.
* Fix deadlocks occurring during presentation compiler shutdown.Iulian Dragos2012-03-053-0/+985
| | | | | | | During shutdown, other threads can still post work items on the work queue. They will never be serviced, leading to clients waiting forever. The fix is to replace the implementation of the queue with a 'always fail' implementation during shutdown. Review by @odersky.
* Disambiguate some type printing.Paul Phillips2012-01-121-1/+1
| | | | Functions of functions use parens for grouping.
* Updated checkfile with IndexedSeq signature.Paul Phillips2012-01-111-1/+1
|
* Disabled another presentation compiler test.Paul Phillips2011-12-093-215/+0
| | | | | | It foiled me right on the cusp of a successful windows nightly. https://scala-webapps.epfl.ch/jenkins/job/scala-nightly-windows/1170/consoleText
* Disabled non-deterministic tests.Paul Phillips2011-12-0561-11380/+0
| | | | | | Everyone's favorite "will they or won't they" tests, akka and timeofday. They will be welcomed back into the fold once they can stick to a decision on whether to pass or fail.
* Reverted ProductN parent for case classes.Paul Phillips2011-11-161-4/+2
| | | | | Looks like we will need blood, toil, tears, and sweat. No review.
* Enabled Presentation Compiler test for IDE tick...Micro Dotta2011-11-113-0/+17
| | | | | | Enabled Presentation Compiler test for IDE ticket #1000609, which has been fixed by odersky. no review.
* Enabled Presentation Compiler test for IDE tick...Micro Dotta2011-11-113-0/+50
| | | | | | Enabled Presentation Compiler test for IDE ticket #1000349, which has been fixed by odersky in r25625. no review.
* Updates for the ten tests I broke recently.Paul Phillips2011-11-088-17/+34
| | | | | Wow, ten tests, that's unexpected. No review.
* Third collections commit from Todd Vierling.Paul Phillips2011-11-071-6/+6
| | | | | | | Misc cleanups associated with the previous commits: limiting overly expanded types, fixing externally visible types for scaladoc, utilizing abstract collection classes where possible, etc.
* Changed presentation tests to use .flags instea...Iulian Dragos2011-11-062-0/+0
| | | | | | Changed presentation tests to use .flags instead of .opts for passing options to the presentation compiler.
* Fixed askLinkPos problem in reported by failing...Martin Odersky2011-11-061-1/+1
| | | | | | Fixed askLinkPos problem in reported by failing test in presentation/akka.
* Added akka.opts file (for presentation compiler...Micro Dotta2011-11-051-0/+18
| | | | | | | Added akka.opts file (for presentation compiler test) which allows to set settings on the compiler's instance. Lines that begin with a sharp are skipped. review by odersky.
* Begone t1737...Hubert Plociniczak2011-11-029-33/+33
|
* attempt to bring trunk build to normal state.Hubert Plociniczak2011-11-252-13/+17
|
* Fixed failing pc tests. no reviewHubert Plociniczak2011-10-317-26/+40
|
* Selective dealiasing when printing errors.Paul Phillips2011-10-039-141/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | *** Important note for busy commit log skimmers *** Symbol method "fullName" has been trying to serve the dual role of "how to print a symbol" and "how to find a class file." It cannot serve both these roles simultaneously, primarily because of package objects but other little things as well. Since in the majority of situations we want the one which corresponds to the idealized scala world, not the grubby bytecode, I went with that for fullName. When you require the path to a class (e.g. you are calling Class.forName) you should use javaClassName. package foo { package object bar { class Bippy } } If sym is Bippy's symbol, then sym.fullName == foo.bar.Bippy sym.javaClassName == foo.bar.package.Bippy *** End important note *** There are many situations where we (until now) forewent revealing everything we knew about a type mismatch. For instance, this isn't very helpful of scalac (at least in those more common cases where you didn't define type X on the previous repl line.) scala> type X = Int defined type alias X scala> def f(x: X): Byte = x <console>:8: error: type mismatch; found : X required: Byte def f(x: X): Byte = x ^ Now it says: found : X (which expands to) Int required: Byte def f(x: X): Byte = x ^ In addition I rearchitected a number of methods involving: - finding a symbol's owner - calculating a symbol's name - determining whether to print a prefix No review.
* Shuffling classes around.Paul Phillips2011-10-013-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old Man Reflection is coming home and he's not going to like finding out a bunch of beans have moved into his reflecting room. We had better evict those guys before he blows his stack. scala.reflect.*Bean* --> scala.beans.* scala.beans, that's kind of a fancy package name for some beans. I figure it's time to start fishing or cutting bait on this kind of thing. I don't even know what beans are, but if we're going to have them in the mainline, the least surprising place to find them is scala.beans. If we don't want to put them in scala.beans for whatever reason, then I say they don't belong in trunk at all. Bonus round: scala.annotation.target --> scala.beans.meta I don't know if there is any more unfortunate name for a package possible than "target". Maybe ".svn" or ".git" if you could have dots in package names. Package CVS wouldn't hit too hard these days. Package lib_managed? I'll try to come up with something. In any case this golden opportunity could not be squandered. There is a new starr included, because GenJVM contains all kinds of shooting-from-the-hip Bean-related name hardcoding. (Yes, still. I ran out of stones. So a few birds escape with their lives... this time.)
* Moved test for scala-ide ticket-1000508 under /...Micro Dotta2011-09-053-169/+0
| | | | | | | | Moved test for scala-ide ticket-1000508 under /disabled/presentation/ directory, as the current test's result is wrong (the ticket is still opened). It will be moved back only once the ticket is closed. No review.
* fixed svn props and presentation check filesmichelou2011-08-1910-23/+23
|
* Major rewrite of the testing infrastructure for...Micro Dotta2011-08-1792-92/+12505
| | | | | | | | | Major rewrite of the testing infrastructure for the presentation compiler. Added several new tests that will be part of the nightly build. Once the move to SBT is completed I will look into how to extract the test infrastructure (as it should really not be living in the compiler codebase). Review by dragos
* New starr based on r24749. No review.Paul Phillips2011-04-133-409/+0
|
* 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.
* Made the .opts file in presentation compiler te...Iulian Dragos2011-03-071-1/+2
| | | | | | Made the .opts file in presentation compiler tests be 'platform independent'. Paths are given in Unix notation. no review.
* Long overdue rehaul of presentation compiler te...Iulian Dragos2011-03-012-15/+24
| | | | | | | | | | | | | | | | | Long overdue rehaul of presentation compiler tests. Added support for options file, and switched simple-tests to use the STARR library on the test classpath. Put any options you need passed to the presentation compiler in a file with the same name as the test, ending in '.opts'. Currently it's used to set the -bootclasspath for simple-tests. Check the contents of simple-tests.opts for all the options. IMPORTANT: when committing a new STARR, you need to check this test. Most likely, you *will* break it otherwise. review by extempore
* Fixing yon broken test.Paul Phillips2011-02-231-1/+2
| | | | | (only to make you aware of the commit message in r24263.)
* Changes to startup.Paul Phillips2011-02-221-4/+8
| | | | | | | | | | | | | | default. The -toolcp option now works. -D and -J options are passed as arguments to the runner program as well as to the underlying JVM, because they may be needed for such things as fsc talking to a server compiler. Added a new Settings type for -D and -J options. Deleted some dead settings code. There are dummy settings for -toolcp and -nobootcp so they can be seen in the help output, which needs a big cleanup. No review.
* Added new setting -Ygen-javap, which takes a di...Paul Phillips2011-02-141-1/+2
| | | | | | | | Added new setting -Ygen-javap, which takes a directory as an argument and generates javap output for every generated classfile. There is still a lot of noise in a diff: still todo is postprocessing the output to remove diff-noise-generating numbers and such. No review.
* Created invisible setting to expose empty packa...Paul Phillips2011-02-101-2/+5
| | | | | | | | | Created invisible setting to expose empty package members outside of the empty package, so the repl can use packages without going blind to the empty package. This commit also eliminates a deadlock which hits when the compiler starts logging before a lazy val has pulled its head from the noose. Closes #4228, review by odersky.
* In support of project "A Better IDE...Paul Phillips2011-02-104-0/+605
| | | | | | | | | | | | | | | | reinstate the disabled test. COMMITTERS: the test is very fragile. If you don't run the whole test suite (it's the very last one which runs!) then you broke the build. Upon your toes you should be. For anyone unaware, test/partest --update-check path/to/test will magically pass any test and update the checkfile to resemble whatever output it just produced. Incautious use of this feature may negatively impact the mood of certain extempores. No review.
* After seeing the 481 line diff I had to apply t...Paul Phillips2011-02-104-616/+0
| | | | | | | | | | After seeing the 481 line diff I had to apply to bring the checkfile up to date, I concluded this test cannot be in the general pool: this is the third build break in the last few days, because it changes output like some people change socks. (Hygenic people.) Sorry to move it to disabled iulian, but I don't know what else to do with it on short notice. Review by dragos.
* Fixed failing test. no reviewHubert Plociniczak2011-02-081-2/+3
|
* Fix for failing test.Paul Phillips2011-02-061-1/+2
| | | | | | anything fail. This test might be a bit overly output-sensitive to be in the general pool... no review.
* Switched back to StoreReporter for presentation...Iulian Dragos2011-02-034-0/+614
| | | | | | | | Switched back to StoreReporter for presentation compiler tests. This eats up error messages, but if the output is correct we don't mind a spurious error here and there. Renabled simple presentation compiler tests. no review.
* Forgot to commit the updated tests in my previo...Iulian Dragos2011-01-282-3/+0
| | | | | Forgot to commit the updated tests in my previous commit. no review.
* Re-enabled one presentation compiler test.Iulian Dragos2011-01-273-0/+95
|
* Disabled presentation compiler tests.Iulian Dragos2011-01-267-495/+0
|