Граф коммитов

219 Коммитов

Автор SHA1 Сообщение Дата
norris%netscape.com b684dbee7f Test didn't work with the Rhino feature of reflecting bean properties as JavaScript propertes: getClass() becomes
a "class" property, and eval'ing a property name of "class" causes a syntax error.
2000-01-06 22:54:15 +00:00
rginda%netscape.com 9cceb99eaa Updated to match the js1.5 announcement's terminology 1999-12-18 00:53:53 +00:00
rogerl%netscape.com 67e41a2568 Fixed typeof test on enumerated object result - is always string now. 1999-12-17 01:53:48 +00:00
rginda%netscape.com ed76fb15f1 Updated README document.
formatting nit in jsDriver.pl
Added comment to the rhino neg list
1999-12-16 22:38:49 +00:00
rginda%netscape.com 2f79add8e9 Added verbose flag for testcase debugging purposes 1999-12-16 22:35:43 +00:00
rginda%netscape.com 3fa2af9bf1 Fix spacing nit. 1999-12-16 22:34:05 +00:00
rginda%netscape.com a25e8ff1ad Fixed 001 test, added 002 test 1999-12-16 22:32:52 +00:00
rginda%netscape.com 5580e045b2 Added apply test for bug 21836 1999-12-16 00:21:36 +00:00
rginda%netscape.com 088ed7cd3f Adding null throw and undefined throw tests 1999-12-15 21:17:25 +00:00
rginda%netscape.com eb94ffbdf1 Simple get/set test. 1999-12-13 22:47:31 +00:00
rginda%netscape.com 24be9ed036 Added printStatus function to shell.js
Added some catchguard tests
1999-12-13 00:37:01 +00:00
rogerl%netscape.com beb5b9cfda Fixed test of enumerated property to use isNaN - a previous bug fix in
enumerated types stopped it from returning anything but strings here.
1999-12-11 00:44:02 +00:00
rogerl%netscape.com 8de0af5814 Removed tests invalidated by new argument rules - java.lang.String is
preferred over java.lang.Double when coming from a Java Object and both
Double & Float have constructors that take a String - only the DataType
toString doesn't return the correct value for the test. (See Christine's
comment).
1999-12-11 00:42:43 +00:00
rogerl%netscape.com 4ef42618e3 Updated tests to account for new LiveConnect behaviour for JS array type
as input argumnet - it used to be handled as any other JS object, but there
are now new rules for arrays, invalidating portions of these tests.
1999-12-10 19:56:23 +00:00
norris%netscape.com 3e5be76cf6 Add list of inapplicable tests for rhino. 1999-12-08 22:42:18 +00:00
rginda%netscape.com 723ab02319 Fixing stupid mistake. 1999-12-08 22:26:19 +00:00
rginda%netscape.com 34d727d48c Turned off automatic fslash insertion for shellpath (it now takes a full exe name)
Added --noexitmunge option for systems that don't report the exitcode/exitsignal "properly"
1999-12-08 22:21:41 +00:00
rginda%netscape.com f0d3d00dfb Should be working on all platforms again. 1999-12-07 20:00:27 +00:00
rginda%netscape.com 9d9b8ecabf More windows dual-build tweaks (arg!) 1999-12-07 19:56:40 +00:00
rginda%netscape.com f4d35bb883 More tweaks to sm engine selection
Updated documentation to reflect tweaks
1999-12-07 19:47:06 +00:00
rginda%netscape.com 96f68f37e4 * jsDriver.pl
Fix it to know about the two kinds of spidermonkey make on windows
  (Makefile.ref and js.mak)
1999-12-07 19:35:45 +00:00
rginda%netscape.com 49050135c0 Fix exit code detection. 1999-12-07 00:22:06 +00:00
rogerl%netscape.com 5fba491f2a Removed unsued local var version - shadowing caused typeof version test
to fail.
1999-12-06 23:53:57 +00:00
rginda%netscape.com 3bd9441aa0 * jsDriver.pl
Turn off trace by default (oops)
  Fix test list/ skil list output
1999-12-06 23:38:23 +00:00
rginda%netscape.com 8e4736f170 Moved test from js1_2 section 1999-12-06 23:32:25 +00:00
rogerl%netscape.com 4bc7c46423 version() must have int type argument.
Fixed VERSION setting to match shell.js
Fixed 'pass!' string to match 'pass'
1999-12-06 22:47:51 +00:00
rogerl%netscape.com 3cea9cfa35 version() must have int type argument.
Fixed VERSION setting to match expected string in shell.js
1999-12-06 22:46:46 +00:00
rogerl%netscape.com 07c7898644 version() must have int type argument 1999-12-06 22:45:53 +00:00
rginda%netscape.com f9206b848e * README-jsDriver.html
Minor wording changes.

* jsDriver.pl
  Display negative list in output, fix display of test list as part of output (which was broken by the multiple test-list change)
  Added hours field in tastcase duration output (man that sparc20 is slow.)
1999-12-06 04:29:18 +00:00
rginda%netscape.com 7127cadec4 * runtests2.pl was renamed to jsDriver.pl
jsDriver.pl now supports multiple lists to be specified in the -l argument,
and directory names as well.  Directory names can also be used in list files.
'Negative' lists are supported as well.  They consist of a list of tests to skip, and are of the same format as the regular lists.

* README-jsDriver.html
  man-like html page describing how to use jsDriver.pl
1999-12-05 02:15:22 +00:00
norris%netscape.com b961d3803b clean up tests 1999-12-03 23:54:36 +00:00
norris%netscape.com 4954e5b285 Remove spurious quote 1999-12-03 23:17:43 +00:00
norris%netscape.com 198af5013e VAR --> var 1999-12-03 23:16:23 +00:00
norris%netscape.com f03998dff2 remove invalid test 1999-12-02 20:04:48 +00:00
rginda%netscape.com aab3dfd323 Testcase produced no output is no longer a failure. 1999-12-01 06:29:27 +00:00
rginda%netscape.com 2fc65eda6d Added new ecma_3 suite. along with 'new style' (hopefully simpler) shell.js, and
a new test (which fails already!)
1999-12-01 06:07:28 +00:00
rginda%netscape.com e2104bde87 Added liveconnect option to runtests2.pl, there are now so many shells supported that the -e|--engine=<type> option has replaces all the individual engine options, such as -d, -o, and -r.
Updated bugnumber in the function-001(-n)?.js files, and minor simplification in the 10.1.3 testcase.
1999-11-30 22:16:34 +00:00
rginda%netscape.com 66dc2f9905 Changes to make list selection page work correctly on windows platform. 1999-11-29 22:31:45 +00:00
rginda%netscape.com d92a60ca20 * Makefile
Add target for windows systems.
* runtests2.pl
  Add xpcshell option, no longer requires \n at end of list file.
* ecma/ExecutionContexts/10.1.3.js
  Reformatted.
1999-11-23 22:35:35 +00:00
rginda%netscape.com cb3e802cca tweaked html output, added test duration time. 1999-11-20 07:50:43 +00:00
rginda%netscape.com 8690e6a483 Added javapath, and confail options. Made some trace output come out by default so it isn't so eerily quiet in quiet mode. 1999-11-20 05:22:20 +00:00
rginda%netscape.com 448e41a9f0 s/FAILED!/{return a failure}/ in testcase description to keep from fooling the test driver. 1999-11-20 01:43:44 +00:00
rginda%netscape.com d0e43c1429 Correct exit codes on win32, echo output file regardles of -t 1999-11-20 00:28:06 +00:00
rginda%netscape.com b239bc3205 Add bugnumber to reports, bugzilla url option, and expect exit code 3 for negative tests. 1999-11-19 21:54:46 +00:00
rginda%netscape.com 4bc1e98f8c s/perl5/perl/ 1999-11-19 01:18:33 +00:00
rginda%netscape.com 32f54cc801 Added most.tests, most of the tests, minus liveconnect and some date/array tests that take a long time. 1999-11-19 00:57:18 +00:00
rginda%netscape.com c95eafb39f HTML output is in, script generally useful. Not tested on win32 or mac yet. 1999-11-19 00:56:17 +00:00
rginda%netscape.com e3135f057e Added ^c handler, beginnings of html output. 1999-11-18 04:14:00 +00:00
rginda%netscape.com ccde6647c6 * menuhead.html
make all targets "other_window" to reduce number of open windows.
* mklistpage.pl
  make all targets "other_window" to reduce number of open windows.
* runtests2.pl
  more hacking, still not done.
1999-11-17 22:33:05 +00:00
rginda%netscape.com 4b4a717419 Initial checkin of "import test list" dialog. 1999-11-17 22:31:07 +00:00
rginda%netscape.com 6ca0248d35 Initial add of new (universal) perl test driver, and test case selection tool. 1999-11-17 02:05:29 +00:00
dmose%mozilla.org 82caef06fd updated license boilerplate to xPL v1.1 1999-11-02 22:23:59 +00:00
rogerl%netscape.com b81c6d116b Changed -n to regular since the error is getting detected in the code now. 1999-11-02 01:55:59 +00:00
rogerl%netscape.com 4a6bd615ff That's much cooler - i'm putting the 0 case back then. 1999-11-02 01:31:45 +00:00
rogerl%netscape.com e557d8a255 Needed string parameter in order to pass type comparison correctly.
Added missing TITLE declaration.
1999-11-02 01:03:52 +00:00
rogerl%netscape.com ad5e6388c9 Moved nested function out - new ECMA definition. 1999-11-02 01:02:55 +00:00
rogerl%netscape.com ca81c0e8da Put test case in eval statement to catch error. 1999-11-02 01:02:03 +00:00
rogerl%netscape.com 5f93dd0a71 Added missing TITLE declaration 1999-11-02 01:01:34 +00:00
rogerl%netscape.com 6f6908f289 Belay that, the tests were fine, the code HAS changed. 1999-11-01 23:16:00 +00:00
rogerl%netscape.com 6b3bd52b9e I changed the exepcted value for object.toString() calls on the empty
object - There's no clear documentation of the result, but the source
code unambiguously calls 'js_obj_toSource', which inserts the extra '()'
under the version1_2 flag, so I believe this is the correct result.
1999-10-29 23:02:17 +00:00
rogerl%netscape.com 2652a57196 Changed to account for latest ECMA spec on back-references vs. octal 1999-10-29 22:50:43 +00:00
rogerl%netscape.com 31e6858668 New ECMA spec for no argument calls to max & min - should return +/- Inf 1999-10-29 22:48:33 +00:00
rogerl%netscape.com a69aa8e346 Changed commandline option for classpath to 'classpath' instead of 'cp' 1999-10-27 22:22:56 +00:00
norris%netscape.com 4e7cfd348a Shouldn't test for equality against the message string, which is implementation independent. 1999-10-22 18:33:46 +00:00
norris%netscape.com 8ef0d911a5 Don't print out control characters that break the driver. 1999-10-22 17:31:59 +00:00
rogerl%netscape.com 9e1239de05 Loop from 1 instead of 0 since the test result parsing gets messed up by
the null strings not containing 'PASSED'. The 0 case isn't all that
important for upperCase testing.
1999-10-21 22:18:52 +00:00
rogerl%netscape.com c617326211 Changed tests for ECMA 3 definition of array.length handling. 1999-10-18 16:55:44 +00:00
rogerl%netscape.com 0ac353dd25 NOT A PART OF SEAMONKEY BUILD
- fixed test ECMA references,
- added test to -002
1999-10-11 22:59:25 +00:00
rogerl%netscape.com ecb681ee1d NOT A PART OF SEAMONKEY BUILD
- removed redundant test & fixed test for 'super' to detect syntax error
1999-10-11 22:38:40 +00:00
cbegle%netscape.com 27ff0f3d29 tests for javascript errors as exceptions, a feature that was recently
added to the javascript engine.

not part of the build.
1999-10-06 20:45:44 +00:00
rogerl%netscape.com 0bdd913940 Added -c <classpath> option to specify, you guessed it, a classpath. 1999-09-27 17:41:44 +00:00
norris%netscape.com f69a840b1e Remove '.js' from SECTION. 1999-09-24 20:16:55 +00:00
cbegle%netscape.com fc84d5f9c3 update script to report an error if no tests passed. 1999-09-23 23:00:38 +00:00
cbegle%netscape.com 9476968b49 just changing the section name so it doesn't break norris's script. 1999-09-23 22:59:20 +00:00
norris%netscape.com a6ed48495a change FAILED color to red 1999-09-23 17:26:22 +00:00
norris%netscape.com 91b5e29282 Add test driver for rhino. 1999-09-23 17:24:14 +00:00
rogerl%netscape.com 34e85a1b9c Fixed test case - was assuming a length limit on octal sequence rather than
a value limit. (this is version 120 specific in any case)
1999-08-25 00:56:05 +00:00
rogerl%netscape.com 59e4c96f70 Fixed lastIndex test - value is ignored for non-global regexp. 1999-08-11 04:31:19 +00:00
rogerl%netscape.com a2644affcd Fixed test results to match new spec. 1999-08-10 19:25:00 +00:00
rogerl%netscape.com edc08d0635 Re-wrote the string_split algorithm to match new spec. 1999-08-10 18:36:46 +00:00
rogerl%netscape.com cf8a6b5369 Fixed tests for back-reference case 1999-08-04 23:40:13 +00:00
rogerl%netscape.com 7c94044214 Fixed off by one error and expected output text. 1999-08-04 23:38:34 +00:00
rogerl%netscape.com ea6a0fb276 The lastIndex property is defined to be an integer which we're allowed to
keep as 32 bits, so the tests for 33 bits were too demanding.
1999-08-04 22:27:31 +00:00
rogerl%netscape.com 3cc0227c64 Missing '\' before \n. Trailing '|' in expected output was not correct. 1999-08-04 22:26:07 +00:00
rogerl%netscape.com 2eefd9b161 Was using 'g' flag instead of 'm' and wasn't really testing the multiline
functionality (assuming I interpreted the intent correctly).
1999-08-04 22:24:57 +00:00
rogerl%netscape.com ed8e8dbacf Fixed test cases for non-global regexp. case - the result array should be
exactly the same as that returned by simply 'exec'ing the regexp against
the input string.
1999-08-03 00:51:23 +00:00
cbegle%netscape.com 9afec96e21 fixed a versioning problem with the tests. these should succeed now.
these files files have no impact on the mozilla build.
1999-07-21 19:20:02 +00:00
cbegle%netscape.com 990405ae6e *** empty log message *** 1999-07-21 18:02:34 +00:00
cbegle%netscape.com 227215f038 update shared functions file.
this is not part of the mozilla client build, and has no effect on its
bustedness.
1999-07-20 18:00:13 +00:00
cbegle%netscape.com 799b238b4e adding file for running tests in the driver. 1999-07-20 17:49:01 +00:00
cbegle%netscape.com 896723aca8 the js1.2 tests really need the version(120) called.
fix regression test for #7703.

This is not part of the mozilla build and has no effect on its bustedness.
1999-07-16 21:47:51 +00:00
cbegle%netscape.com 7f486608b0 Remove more recursive calls to startTest. hm..
This is not part of the mozilla build and has no effect on its bustedness.
1999-07-16 01:39:07 +00:00
cbegle%netscape.com 639a7136c4 Add a regression test case for #7224.
This is not part of the mozilla build and has no effect on build bustage.
1999-07-16 01:30:24 +00:00
cbegle%netscape.com 2110f64332 Remove a recursive call to startTest.
This file is not part of the client build.
1999-07-16 01:25:50 +00:00
cbegle%netscape.com fd28e5b3c2 Add a regression test case for #7635.
This file is not part of the client build.
1999-07-15 22:28:12 +00:00
cbegle%netscape.com 2e2a2c8645 New tests for the JavaScript engine.
These tests are not built and are not part of the client build.
1999-07-15 20:27:40 +00:00
cbegle%netscape.com 57c272ae37 add a regression test for bug #9802 1999-07-14 20:26:27 +00:00
cbegle%netscape.com 7864b1fab8 correct the naming of these tests. negative tests have an -n.js filename
extension.
1999-07-14 18:12:11 +00:00
cbegle%netscape.com 1d5a125e45 allow command line option to specify the full path to the js executable. 1999-07-14 18:11:22 +00:00
cbegle%netscape.com d3e91bee1b Add regression test for http://bugzilla.mozilla.org/show_bug.cgi?id=7635.
Rename files for consistency.

These files are not part of the client.
1999-06-17 00:20:04 +00:00
cbegle%netscape.com 1a1cc46868 Add regression test for http://bugzilla.mozilla.org/show_bug.cgi?id=4088,
Date.parse.

Not built in the client.
1999-06-16 19:25:05 +00:00
cbegle%netscape.com 773de348f7 Fix errors in liveconnect tests per furman@netscape.com. Renaming files
to not have a "-n" filename, since they are no longer negative tests.
1999-06-15 20:03:30 +00:00
cbegle%netscape.com b338f85088 Fix error in test. Arrays should be sorted by the string value of their
members, even if they're numbers.
1999-06-14 23:39:14 +00:00
cbegle%netscape.com cb992db4e8 Fix test case -- remove commas from the expected result. 1999-06-14 21:06:54 +00:00
cbegle%netscape.com 636b252693 Fix constructor test to match the constructors in DataTypeClass.java 1999-06-08 18:07:15 +00:00
cbegle%netscape.com b137e4a079 Add constructor tests. 1999-06-08 18:06:28 +00:00
cbegle%netscape.com aff9dd66fb Object getters should return the same object set in the object setters,
and not create a new object.
1999-06-08 16:27:43 +00:00
cbegle%netscape.com cd05d0d56b adding more javascript language tests 1999-05-26 22:24:04 +00:00
cbegle%netscape.com 007525d454 adding more javascript language tests. 1999-05-26 22:22:06 +00:00
cbegle%netscape.com 949ea13feb adding new javascript tests - liveconnect 1999-05-26 22:14:51 +00:00
cbegle%netscape.com 1d29571154 adding new tests for the javascript language - liveconnect. 1999-05-26 22:07:01 +00:00
cbegle%netscape.com 915784967f adding more javascript language tests to the repository. 1999-05-26 21:48:43 +00:00
cbegle%netscape.com 3481c4fe4d adding more javascript language tests to the repository. 1999-05-26 21:37:13 +00:00
cbegle%netscape.com bfe4d4a516 Adding ecma 2 tests to the repository. 1999-05-26 21:22:57 +00:00
cbegle%netscape.com 20f8852310 Error in the test -- it was not evaluating the statement that is supposed
to produce an error.
1999-05-11 15:55:22 +00:00
cbegle%netscape.com 26587dd597 Make sure that the test directory name ends with a trailing slash. 1999-04-27 16:15:30 +00:00
cbegle%netscape.com 033412d2fc a little better error handling if no argument provided. 1999-04-06 01:11:13 +00:00
cbegle%netscape.com 40a82ed7df Add a little more info to the template file. 1999-04-05 23:56:28 +00:00
cbegle%netscape.com 0fbe7f9f59 The JavaScript Test Library, Part I. ECMA v. 1.0. See the page at
http://www.mozilla.org/js/tests/library.html for information about
these tests, like how to run them and stuff.

According to fur, these tests should not get checked out when you
check out Mozilla -- you'd have to specifically check out mozilla/js/tests
to get all these files.
1999-04-05 22:58:49 +00:00