summaryrefslogtreecommitdiff
path: root/test/files/run/json.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-7198 Par-Test uses filters filesSom Snytt2013-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Partest will also read files/filters and files/kind/filters for filter expressions (one per line, trimmed, leading #comments) which are taken as regexes. A test/files/filters is provided which attempts to quell HotSpot warnings; the test for this commit requires it. The elided lines can be revealed using the lemon juice of verbosity: apm@mara:~/projects/snytt/test$ ./partest --verbose --show-diff files/run/t7198.scala [snip] >>>>> Transcripts from failed tests >>>>> > partest files/run/t7198.scala % scalac t7198.scala [snip] % filtering t7198-run.log --Over the moon --Java HotSpot(TM) 64-Bit Server VM warning: Failed to reserve shared memory (errno = 28). The filtering operation is part of the transcript, which is printed on failure. No attempt is made to be clever about not slurping the filters file a thousand times. Previous literal patterns had to be updated because there's parens in them thar strings. Future feature: pattern aliases, define once globally and invoke in test filters.
* SI-7003 Partest redirects stderr to log fileSom Snytt2013-05-251-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix documentation typo.Blair Zajac2011-12-061-1/+1
|
* Begone t1737...Hubert Plociniczak2011-11-021-8/+8
|
* Removing the code which has been deprecated sin...Paul Phillips2011-08-151-4/+4
| | | | | | | Removing the code which has been deprecated since 2.8.0. Contributed by Simon Ochsenreither, although deleting code is such fun one hesitates to call it a contribution. Still, we will. Closes SI-4860, no review.
* Renamed Application to App.Martin Odersky2011-02-211-1/+1
|
* Made some adjustments to toString formatting of...Derek Chen-Beker2010-10-081-23/+65
| | | | | | | | | | | Made some adjustments to toString formatting of JSON Closes #3605 Hopefully this is the last time I have to close this ticket. In addition to default behavior, the end user can specify their own JSON value formatting function if they want to customize it.
* Fix for #3284.Derek Chen-Beker2010-06-041-7/+90
| | | | | | | | but in the interest of not breaking backwards compatibility, the JSON.parse method has been marked deprecated for now. Unit tests have been fixed so that this won't break the build this time.
* Re-enabled a number of previously disabled tests;Antonio Cunei2010-05-281-0/+158
| | | | | according to my tests, they all currently work.
* Disabled failing json test.Martin Odersky2010-04-131-158/+0
|
* Applied patch from Ticket #330.Geoffrey Washburn2008-01-091-0/+1
| | | | | Fixed the parsing of 0 by the JSON library.
* fixed partest, removed mergeLines (useless)michelou2007-11-131-2/+98
|
* fixed ticket #136 (charSeq)michelou2007-11-091-0/+1
|
* fixed ticket #136 (cnt'd)michelou2007-11-091-0/+60