51 Commits

Author SHA1 Message Date
szegedia%freemail.hu
ec2f7deef1 Fix: opt1.skip was used for interpreted, not for compiled mode...
git-svn-id: svn://10.0.0.236/trunk@237904 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 10:27:23 +00:00
nboyd%atg.com
d80357ed01 Skip recent inapplicable tests.
git-svn-id: svn://10.0.0.236/trunk@237860 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-18 13:26:07 +00:00
szegedia%freemail.hu
92d4ed4e1f Adding @version tags with CVS ids
git-svn-id: svn://10.0.0.236/trunk@237607 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 19:44:10 +00:00
szegedia%freemail.hu
72487c3ac0 Create HTML reports
git-svn-id: svn://10.0.0.236/trunk@237588 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 14:09:52 +00:00
szegedia%freemail.hu
dc20249155 Must call Thread.stop *before* status.timedOut, as JUnitStatus actually throws an assertion error
git-svn-id: svn://10.0.0.236/trunk@237587 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-11 13:50:44 +00:00
szegedia%freemail.hu
94b5b0efa4 I just noticed that running tests spins up GUI. Shouldn't happen, and this should take care of it.
git-svn-id: svn://10.0.0.236/trunk@237373 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-07 17:21:29 +00:00
szegedia%freemail.hu
b11f2312fc Adding a bit of additional diagnostics -- printing to stdout the name of file being run, and the threads carry the file name in their name too
git-svn-id: svn://10.0.0.236/trunk@237365 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-06 17:44:54 +00:00
nboyd%atg.com
967d234377 New skips for new tests.
git-svn-id: svn://10.0.0.236/trunk@237264 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-04 13:21:22 +00:00
nboyd%atg.com
127f7d994e Enable catching of all Java exceptions through a Rhino FEATURE (disabled
by default).


git-svn-id: svn://10.0.0.236/trunk@235547 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-12 16:57:09 +00:00
nboyd%atg.com
0154979581 Start running some tests for features we now implement, and skip another
bad test.


git-svn-id: svn://10.0.0.236/trunk@235492 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 12:43:51 +00:00
nboyd%atg.com
dd37262628 Tests for fix for bug 392481.
Contributed by donnamalayeri@google.com.


git-svn-id: svn://10.0.0.236/trunk@232448 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-21 13:05:08 +00:00
nboyd%atg.com
5ffc998918 Skip bad test that will occaisionally fail due to changes in system clock
git-svn-id: svn://10.0.0.236/trunk@232409 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 20:37:43 +00:00
nboyd%atg.com
12c37370a2 Fix miscellaneous Java compilation warnings.
git-svn-id: svn://10.0.0.236/trunk@232386 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 14:16:25 +00:00
nboyd%atg.com
39cae2da94 Update for latest tests.
git-svn-id: svn://10.0.0.236/trunk@232382 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 12:53:16 +00:00
nboyd%atg.com
52ab7c65e5 Removed unused private member.
git-svn-id: svn://10.0.0.236/trunk@232359 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-20 00:32:12 +00:00
nboyd%atg.com
cd958f74cc Remove unused import.
git-svn-id: svn://10.0.0.236/trunk@232263 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-17 13:47:00 +00:00
szegedia%freemail.hu
c81fb96dde Make sure all *Tests.class classes are picked up
git-svn-id: svn://10.0.0.236/trunk@232210 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-16 13:14:33 +00:00
nboyd%atg.com
9443a444a7 Implement JavaScript 1.7 feature destructuring assignment.
Currently does not honor the scope implied by "var [a,b] = ..." or
"let [a,b] = ...".


git-svn-id: svn://10.0.0.236/trunk@231649 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 13:01:24 +00:00
nboyd%atg.com
7e5af192f8 add more passing tests
git-svn-id: svn://10.0.0.236/trunk@231091 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 01:14:48 +00:00
nboyd%atg.com
29d57c9514 Fix for last generator codegen bug (nested functions in generators).
Patch from Roshan James <roshanj@google.com>.


git-svn-id: svn://10.0.0.236/trunk@231086 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-27 00:46:57 +00:00
nboyd%atg.com
d83af3e36d Implement JavaScript 1.7 generators for bytecode generation mode.
Patch from Roshan James <roshanj@google.com>.


git-svn-id: svn://10.0.0.236/trunk@231072 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-26 21:48:05 +00:00
szegedia%freemail.hu
253b54a5b8 Download junit and emma jar files from ibiblio maven repo
git-svn-id: svn://10.0.0.236/trunk@230572 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 16:27:24 +00:00
szegedia%freemail.hu
d1bb036a16 Added JUnit test task that produces code coverage report
git-svn-id: svn://10.0.0.236/trunk@230560 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 07:36:08 +00:00
szegedia%freemail.hu
ec00014c57 Use skip files
git-svn-id: svn://10.0.0.236/trunk@230559 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-21 07:35:15 +00:00
nboyd%atg.com
fcd5dc4054 Update to sync with latest tests.
git-svn-id: svn://10.0.0.236/trunk@230361 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-20 12:37:48 +00:00
nboyd%atg.com
89be6b838e Add testsrc to the distribution, and clean up some build.xml formatting.
git-svn-id: svn://10.0.0.236/trunk@230179 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 12:42:40 +00:00
nboyd%atg.com
a813befbb5 New skips of new tests.
git-svn-id: svn://10.0.0.236/trunk@229715 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 16:53:38 +00:00
nboyd%atg.com
4ab45fa564 Implement block scope (let) and array comprehensions.
This required significant changes to symbol table management.


git-svn-id: svn://10.0.0.236/trunk@229709 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 16:00:03 +00:00
nboyd%atg.com
58578294be Add support for JavaScript 1.7 Iterators in Rhino. See bug 379377.
git-svn-id: svn://10.0.0.236/trunk@227867 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 15:34:15 +00:00
nboyd%atg.com
d71e9843a3 Initial checkin for Rhino 1.7. Add JavaScript 1.7 version number.
Initial implementation of 1.7 generators for interpretive mode. See bug 379377.


git-svn-id: svn://10.0.0.236/trunk@227537 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-05 18:23:49 +00:00
nboyd%atg.com
5850ef43e6 Classify another failure
git-svn-id: svn://10.0.0.236/trunk@227483 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-04 20:33:42 +00:00
nboyd%atg.com
178ce6e8d6 Move skip lists to the testsrc directory.
git-svn-id: svn://10.0.0.236/trunk@227477 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-04 18:24:58 +00:00
inonit%inonit.com
8a36b82922 Revert to jsDriver.pl-compatible -l and -L options
Ignore unrecognized options (rather than terminating option processing)


git-svn-id: svn://10.0.0.236/trunk@226972 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 21:10:38 +00:00
nboyd%atg.com
8a78f6f125 Fix bug 381819. Patch from Bob Clary <bclary@bclary.com>.
git-svn-id: svn://10.0.0.236/trunk@226950 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 14:17:10 +00:00
nboyd%atg.com
fd2191202b Move test classes out of org.mozilla.javascript package. Updates to JsDriver
to allow for loading test lists from files using '@' syntax.


git-svn-id: svn://10.0.0.236/trunk@226198 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 18:22:59 +00:00
szegedia%freemail.hu
75520cdeca Removed unused imports
git-svn-id: svn://10.0.0.236/trunk@225437 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 08:03:44 +00:00
inonit%inonit.com
ac0b2e3144 Include stack traces in XML output
git-svn-id: svn://10.0.0.236/trunk@224988 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 03:23:41 +00:00
inonit%inonit.com
d5945ac6de Identify tests run in XML output format
Translate text data into XML-ish (\n) line endings


git-svn-id: svn://10.0.0.236/trunk@224984 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 03:01:12 +00:00
inonit%inonit.com
f86beb956a Test driver now also emits results in XML format for possible postprocessing (includes things like performance data, complete output for all tests, etc.)
git-svn-id: svn://10.0.0.236/trunk@224983 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 02:50:20 +00:00
inonit%inonit.com
d184b2a9e8 Separate compilation of JsDriver from compilation of JUnit-based tests so that JUnit is not required to compile non-JUnit tests
git-svn-id: svn://10.0.0.236/trunk@224965 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 21:16:57 +00:00
nboyd%atg.com
ea1d5b9694 change to be conistent with 4 space indent in Rhino codebase.
git-svn-id: svn://10.0.0.236/trunk@222412 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 17:59:12 +00:00
nboyd%atg.com
aa2452939d Change tabs to 4 spaces for consistency with rest of Rhino codebase.
git-svn-id: svn://10.0.0.236/trunk@222411 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-26 17:56:45 +00:00
inonit%inonit.com
79c232c224 Fix up documentation in JsDriver.java source code
git-svn-id: svn://10.0.0.236/trunk@219698 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 11:30:56 +00:00
inonit%inonit.com
1b5f5cbe76 Fix license boilerplate on recent commits
git-svn-id: svn://10.0.0.236/trunk@219587 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 17:48:46 +00:00
inonit%inonit.com
139a1152d9 Fix bug in EXPECT EXIT
Emulate SpiderMonkey exit code for OutOfMemoryError


git-svn-id: svn://10.0.0.236/trunk@219537 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 23:41:15 +00:00
inonit%inonit.com
38ad891054 Remove CVS keywords (at least for now) to make merging easier
git-svn-id: svn://10.0.0.236/trunk@219497 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-05 14:56:40 +00:00
inonit%inonit.com
16764fecec Fix for #353501: Add Java port of jsDriver.pl; catch some additional failure cases in JUnit test driver
git-svn-id: svn://10.0.0.236/trunk@218855 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 22:15:00 +00:00
gerv%gerv.net
f31a42d169 Bug 236108 - changing licence from NPL/GPL to MPL/GPL to help the Apache people. The bug in question also suggests an eventual switch to MIT; that may come later.
git-svn-id: svn://10.0.0.236/trunk@215092 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 15:27:40 +00:00
szegedia%freemail.hu
fcdaeac01f Fixed line endings
git-svn-id: svn://10.0.0.236/trunk@212454 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-27 08:52:46 +00:00
szegedia%freemail.hu
f1594ce7dc Run on all three currently existing optimization levels
git-svn-id: svn://10.0.0.236/trunk@208890 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 10:17:48 +00:00