summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-7003 Partest redirects stderr to log fileSom Snytt2013-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some scalac output is on stderr, and it's useful to see that in the log file, especially for debugging. Adds a line filter for logs, specified as "filter: pattern" in the test source. Backslashes are made forward only when detected as paths. Test alignments: Deprecations which do not pertain to the system under test are corrected in the obvious way. When testing deprecated API, suppress warnings by deprecating the Test object. Check files are updated with useful true warnings, instead of running under -nowarn. Language feature imports as required, instead of running under -language. Language feature not required, such as casual use of postfix. Heed useful warning. Ignore broken warnings. (Rarely, -nowarn.) Inliner warnings pop up under -optimise only, so for now, just filter them out where they occur. Debug output from the test required an update.
* Maintenance of Predef.Paul Phillips2013-02-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Deprecates much of Predef and scala.Console, especially: - the read* methods (see below) - the set{Out,Err,In} methods (see SI-4793) 2) Removed long-deprecated: - Predef#exit - Predef#error should have gone, but could not due to sbt At least the whole source base has now been future-proofed against the eventual removal of Predef#error. The low justification for the read* methods should be readily apparent: they are little used and have no call to be in global namespace, especially given their weird ad hoc semantics and unreasonably tempting names such as readBoolean(). 3) Segregated the deprecated elements in Predef from the part which still thrives. 4) Converted all the standard Predef implicits into implicit classes, value classes where possible: - ArrowAssoc, Ensuring, StringFormat, StringAdd, RichException (value) - SeqCharSequence, ArrayCharSequence (non-value) Non-implicit deprecated stubs prop up the names of the formerly converting methods.
* [no content change] Fixed all SVN properties: m...Gilles Dubochet2009-09-241-1/+0
| | | | | | | | [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.
* - added runtime.RichException with a getStackTr...mihaylov2006-11-021-1/+1
| | | | | | | - added runtime.RichException with a getStackTraceString method (the - .NET version will be more extensive) added a split(c: Char) method to - RichString
* Moved scala.runtime.compat to scala.compatmihaylov2006-10-081-1/+1
|
* 'test-nsc' has been moved to 'test'.Gilles Dubochet2005-12-161-0/+53
|
* Removed old scala tests from new Scala core mod...Gilles Dubochet2005-12-161-53/+0
| | | | | Removed old scala tests from new Scala core module.
* Made platform independantmihaylov2005-09-271-7/+5
|
* - Use scala.runtime.compat.Platform to make the...mihaylov2004-12-021-1/+1
| | | | | | - Use scala.runtime.compat.Platform to make the test case platform independant
* - added 'import java.lang.System' to allow the ...mihaylov2003-12-081-0/+2
| | | | | | - added 'import java.lang.System' to allow the tests to compile with the .NET backend
* replaces test file mics1.scalamichelou2003-08-121-0/+53