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

298 Коммитов

Автор SHA1 Сообщение Дата
rginda%netscape.com 60ac950eeb Initial add of regress-24712.js 2000-03-03 21:33:08 +00:00
norris%netscape.com 485ab52149 skip getter/setters 2000-03-02 23:26:56 +00:00
rogerl%netscape.com 3c768b3595 Need to pass expressions containing unicode identifiers as split strings
since the string processing will convert the unicode sequences into regular
characters before the identifier is recognized. The fact that Monkey was
cool with this is a separate bug.
2000-03-01 23:28:14 +00:00
norris%netscape.com a85fa9f811 Move JavaObjectToLong to be a conformance rather than a negative test. 2000-02-23 18:29:35 +00:00
norris%netscape.com ef296d762f Add tests for fields and methods with the same name, and for bean properties. 2000-02-17 19:28:33 +00:00
norris%netscape.com 53f217c2b8 Add to "dont-test" list. 2000-02-16 18:35:10 +00:00
rginda%netscape.com 71150b6069 Uncompressed version (so it can be in your classpath on all platforms.) 2000-02-03 00:48:50 +00:00
rginda%netscape.com 03db56724d Renamed JavaObjectToLong-005.js to JavaObjectToLong-005-n.js 2000-02-02 20:21:34 +00:00
rginda%netscape.com 1d924eef6a Fix bitrot in RhinoEnv.java and DataTypes_017.java.
fresh build of jstests.jar
2000-02-02 00:57:03 +00:00
rginda%netscape.com a1985df10f initial add 2000-02-02 00:22:23 +00:00
rginda%netscape.com 14d480a8f6 fresh build 2000-02-02 00:18:57 +00:00
rginda%netscape.com 2f5c2fe68d initial add of compiled testdriver 2000-02-01 22:48:52 +00:00
norris%netscape.com a6d3fa9849 Fix test cases for long values, with one right at the boundary and one negative test just over the boundary. 2000-01-27 16:56:43 +00:00
norris%netscape.com 173fccf04d Changing file to be conformance rather than negative test. 2000-01-27 00:58:41 +00:00
rogerl%netscape.com dd523ffff2 !! Not part of the build !!
Fixed some typo's
2000-01-26 01:29:51 +00:00
rginda%netscape.com f0d6c7a825 Fixed testcase 2000-01-20 20:35:39 +00:00
rginda%netscape.com 74bd78d3e7 Remove 'use 5.004;', only seems to work on linux 2000-01-20 01:21:05 +00:00
rginda%netscape.com 9d15dd5398 Initial add. 2000-01-19 01:46:25 +00:00
rginda%netscape.com 60536f2579 Added regexp to test 2000-01-19 01:36:54 +00:00
rginda%netscape.com ed03eb79bc Initial Add 2000-01-19 01:19:16 +00:00
rginda%netscape.com 736dbc069e Initial add 2000-01-19 00:51:21 +00:00
rginda%netscape.com 99c40099b9 corrected testcase 2000-01-19 00:47:24 +00:00
rginda%netscape.com 4278d5e809 initial add 2000-01-19 00:34:03 +00:00
rginda%netscape.com 3c669da0f2 Initial add 2000-01-19 00:16:20 +00:00
rginda%netscape.com 782a39ee6a initial add 2000-01-19 00:08:55 +00:00
rginda%netscape.com 8371c2ed5e revised incorrect testcase 2000-01-14 22:23:08 +00:00
rginda%netscape.com da53f7cf33 Initial checkin of tostring test 2000-01-13 00:31:09 +00:00
rginda%netscape.com 2b3633bac7 First round of Mac related changes.
It runs now, but test list files and single test files on the command line are still broken.
2000-01-12 22:02:23 +00:00
rginda%netscape.com bd542dfc84 s/local/my for strict mode.
y2k fix for results file name.
2000-01-07 21:39:36 +00:00
norris%netscape.com 1863256a5e 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 6890b0fa05 Updated to match the js1.5 announcement's terminology 1999-12-18 00:53:53 +00:00
rogerl%netscape.com f0e5935203 Fixed typeof test on enumerated object result - is always string now. 1999-12-17 01:53:48 +00:00
rginda%netscape.com 052b60e96a 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 91d4767032 Added verbose flag for testcase debugging purposes 1999-12-16 22:35:43 +00:00
rginda%netscape.com 3978f9a561 Fix spacing nit. 1999-12-16 22:34:05 +00:00
rginda%netscape.com a4077938aa Fixed 001 test, added 002 test 1999-12-16 22:32:52 +00:00
rginda%netscape.com fec9deb9bd Added apply test for bug 21836 1999-12-16 00:21:36 +00:00
rginda%netscape.com f3ac71b138 Adding null throw and undefined throw tests 1999-12-15 21:17:25 +00:00
rginda%netscape.com bb32a64f07 Simple get/set test. 1999-12-13 22:47:31 +00:00
rginda%netscape.com 28a7dddd89 Added printStatus function to shell.js
Added some catchguard tests
1999-12-13 00:37:01 +00:00
rogerl%netscape.com ac68fa5784 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 41ac2fc0ce 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 42554e50d0 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 cfd53b923f Add list of inapplicable tests for rhino. 1999-12-08 22:42:18 +00:00
rginda%netscape.com 0199cedcef Fixing stupid mistake. 1999-12-08 22:26:19 +00:00
rginda%netscape.com 1ca97dc352 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 be9b6a6ff5 Should be working on all platforms again. 1999-12-07 20:00:27 +00:00
rginda%netscape.com 732e0e0a48 More windows dual-build tweaks (arg!) 1999-12-07 19:56:40 +00:00
rginda%netscape.com 899c82b382 More tweaks to sm engine selection
Updated documentation to reflect tweaks
1999-12-07 19:47:06 +00:00
rginda%netscape.com 04a2ecc7a8 * 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 ce5f5f9500 Fix exit code detection. 1999-12-07 00:22:06 +00:00
rogerl%netscape.com 60203eb6d0 Removed unsued local var version - shadowing caused typeof version test
to fail.
1999-12-06 23:53:57 +00:00
rginda%netscape.com 152f3ef815 * 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 460603af1d Moved test from js1_2 section 1999-12-06 23:32:25 +00:00
rogerl%netscape.com 2aea48f5af 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 50b35580d5 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 56d9ddc6f5 version() must have int type argument 1999-12-06 22:45:53 +00:00
rginda%netscape.com f8be02c7e7 * 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 c353bf74f2 * 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 77400866c1 clean up tests 1999-12-03 23:54:36 +00:00
norris%netscape.com a63bc514b9 Remove spurious quote 1999-12-03 23:17:43 +00:00
norris%netscape.com 4d33f84af9 VAR --> var 1999-12-03 23:16:23 +00:00
norris%netscape.com 26afc24746 remove invalid test 1999-12-02 20:04:48 +00:00
rginda%netscape.com c5125cbc23 Testcase produced no output is no longer a failure. 1999-12-01 06:29:27 +00:00
rginda%netscape.com 72a01ffe23 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 b6a1a75c47 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 7ed274b845 Changes to make list selection page work correctly on windows platform. 1999-11-29 22:31:45 +00:00
rginda%netscape.com ca7546867b * 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 4d390f03b5 tweaked html output, added test duration time. 1999-11-20 07:50:43 +00:00
rginda%netscape.com e50de21c72 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 db611ebed7 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 5f289038d5 Correct exit codes on win32, echo output file regardles of -t 1999-11-20 00:28:06 +00:00
rginda%netscape.com 6e23182854 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 510c390d39 s/perl5/perl/ 1999-11-19 01:18:33 +00:00
rginda%netscape.com b5d7c51679 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 38e5dfe58a 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 92dcf9cfb2 Added ^c handler, beginnings of html output. 1999-11-18 04:14:00 +00:00
rginda%netscape.com 6130ec762c * 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 66eace8ec4 Initial checkin of "import test list" dialog. 1999-11-17 22:31:07 +00:00
rginda%netscape.com ddf7c8abff Initial add of new (universal) perl test driver, and test case selection tool. 1999-11-17 02:05:29 +00:00
dmose%mozilla.org a3997676e7 updated license boilerplate to xPL v1.1 1999-11-02 22:23:59 +00:00
rogerl%netscape.com b9e8b7deb0 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 70c652cda0 That's much cooler - i'm putting the 0 case back then. 1999-11-02 01:31:45 +00:00
rogerl%netscape.com a500a60e32 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 664f99659e Moved nested function out - new ECMA definition. 1999-11-02 01:02:55 +00:00
rogerl%netscape.com ae35ba0b2b Put test case in eval statement to catch error. 1999-11-02 01:02:03 +00:00
rogerl%netscape.com a0a5d2f9e6 Added missing TITLE declaration 1999-11-02 01:01:34 +00:00
rogerl%netscape.com ad3fd79de4 Belay that, the tests were fine, the code HAS changed. 1999-11-01 23:16:00 +00:00
rogerl%netscape.com c8f88ac34f 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 e5c6839d25 Changed to account for latest ECMA spec on back-references vs. octal 1999-10-29 22:50:43 +00:00
rogerl%netscape.com 5bb6a11dcb New ECMA spec for no argument calls to max & min - should return +/- Inf 1999-10-29 22:48:33 +00:00
rogerl%netscape.com 8f57c3272c Changed commandline option for classpath to 'classpath' instead of 'cp' 1999-10-27 22:22:56 +00:00
norris%netscape.com ab350ea41b Shouldn't test for equality against the message string, which is implementation independent. 1999-10-22 18:33:46 +00:00
norris%netscape.com 9a8c3dfaeb Don't print out control characters that break the driver. 1999-10-22 17:31:59 +00:00
rogerl%netscape.com ace733bf91 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 618f886f77 Changed tests for ECMA 3 definition of array.length handling. 1999-10-18 16:55:44 +00:00
rogerl%netscape.com c3ea9c6513 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 a3ccad0ea2 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 2bd0e3b5d8 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 1ddb9fac14 Added -c <classpath> option to specify, you guessed it, a classpath. 1999-09-27 17:41:44 +00:00
norris%netscape.com 71bee08e21 Remove '.js' from SECTION. 1999-09-24 20:16:55 +00:00
cbegle%netscape.com 4074949318 update script to report an error if no tests passed. 1999-09-23 23:00:38 +00:00
cbegle%netscape.com 31047a3404 just changing the section name so it doesn't break norris's script. 1999-09-23 22:59:20 +00:00
norris%netscape.com b48d0978c2 change FAILED color to red 1999-09-23 17:26:22 +00:00
norris%netscape.com 11308fecf0 Add test driver for rhino. 1999-09-23 17:24:14 +00:00
rogerl%netscape.com 13eda36d4e 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 6734615a71 Fixed lastIndex test - value is ignored for non-global regexp. 1999-08-11 04:31:19 +00:00
rogerl%netscape.com 0c0ff5606b Fixed test results to match new spec. 1999-08-10 19:25:00 +00:00
rogerl%netscape.com 499ee153d4 Re-wrote the string_split algorithm to match new spec. 1999-08-10 18:36:46 +00:00
rogerl%netscape.com cc0f36d7ec Fixed tests for back-reference case 1999-08-04 23:40:13 +00:00
rogerl%netscape.com bddae3b849 Fixed off by one error and expected output text. 1999-08-04 23:38:34 +00:00
rogerl%netscape.com 729d969253 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 c93ef4e649 Missing '\' before \n. Trailing '|' in expected output was not correct. 1999-08-04 22:26:07 +00:00
rogerl%netscape.com 1355cfb383 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 49598375a1 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 1e355189af 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 85da0ba851 *** empty log message *** 1999-07-21 18:02:34 +00:00
cbegle%netscape.com 5b6edba7cc 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 899e0d5d83 adding file for running tests in the driver. 1999-07-20 17:49:01 +00:00
cbegle%netscape.com f80bb6aad0 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 eb378fea4e 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 47f6d82edf 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 00f16d48ce 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 bf39a7e9ea 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 a83c8e90d2 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 ece8b98f54 add a regression test for bug #9802 1999-07-14 20:26:27 +00:00
cbegle%netscape.com fdca8e9c92 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 a981b78562 allow command line option to specify the full path to the js executable. 1999-07-14 18:11:22 +00:00
cbegle%netscape.com 89373c0b65 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 906d33eea7 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 ab6d808ff3 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 5007f91883 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 476de41490 Fix test case -- remove commas from the expected result. 1999-06-14 21:06:54 +00:00
cbegle%netscape.com 5f479cd997 Fix constructor test to match the constructors in DataTypeClass.java 1999-06-08 18:07:15 +00:00
cbegle%netscape.com 7b581afe81 Add constructor tests. 1999-06-08 18:06:28 +00:00
cbegle%netscape.com 465be7e373 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 8338dd389c adding more javascript language tests 1999-05-26 22:24:04 +00:00
cbegle%netscape.com 70a6bb127d adding more javascript language tests. 1999-05-26 22:22:06 +00:00
cbegle%netscape.com 7c561ddf70 adding new javascript tests - liveconnect 1999-05-26 22:14:51 +00:00
cbegle%netscape.com d1225141de adding new tests for the javascript language - liveconnect. 1999-05-26 22:07:01 +00:00
cbegle%netscape.com dab403813f adding more javascript language tests to the repository. 1999-05-26 21:48:43 +00:00
cbegle%netscape.com 3b962be1e8 adding more javascript language tests to the repository. 1999-05-26 21:37:13 +00:00
cbegle%netscape.com c3f9125b1d Adding ecma 2 tests to the repository. 1999-05-26 21:22:57 +00:00
cbegle%netscape.com ad88ba39e9 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 7356f0624b Make sure that the test directory name ends with a trailing slash. 1999-04-27 16:15:30 +00:00
cbegle%netscape.com 8aa406e8cd a little better error handling if no argument provided. 1999-04-06 01:11:12 +00:00
cbegle%netscape.com 47690c0a75 Add a little more info to the template file. 1999-04-05 23:56:28 +00:00
cbegle%netscape.com 9f52c280da 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