Commit Graph

343 Commits

Author SHA1 Message Date
Matthew Meyers c451a33299 Adds tests for Array.prototype.find 2014-07-17 11:24:50 -07:00
ryanmurakami eb0ff48938 first batch of ES6 tests 2014-07-16 17:31:37 -07:00
Hank Yates 9244107ebf Adding Array#of tests 2014-07-16 17:03:52 -07:00
Hank Yates 7edb891fff Adding test for Array.from 2014-07-16 13:34:37 -07:00
Thomas Dahlstrom 2f5ec53aad Bug 596 - Coverage: 15.4.4.11 - identical elements and array holes 2014-07-16 12:56:46 -07:00
Brian Terlson 50696f69f6 Merge pull request #34 from niksurya/master
Adding Support for Async Tests
2014-07-16 12:10:56 -07:00
NikSurya 9aa6b917fa Adding Support for Async Tests 2014-07-15 13:47:59 -07:00
Brian Terlson b0c6fb0272 Merge pull request #2 from bterlson/localeCompare-fix
15.5.4.9_CE should check for locale-sensitive comparison
2014-07-10 14:59:57 -07:00
Brian Terlson 916a08bb9a Merge pull request #19 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1533
change test 15.3.5.4_2-89 to call bound function before returning (Fixes bugzilla 1533)
2014-07-10 14:53:34 -07:00
Brian Terlson ee409f9d7d Merge pull request #14 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1561
fix error msgs in test S12.6.1_A1 from Bugzilla issue 1561
2014-07-10 14:32:37 -07:00
Brian Terlson 5920e4e9c9 Merge pull request #6 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1159
change assert to not assume a sorted list of arguments indices (Fixes bugzilla 1159)
2014-07-10 14:25:42 -07:00
Brian Terlson 019a62a863 Merge pull request #7 from JaimeLynSchatz/JaimeLynSchatz/fixBugz1552
fix point of view typos from Bugzilla 1552
2014-07-10 13:45:37 -07:00
Brian Terlson 4f15bf990b Merge pull request #1 from JaimeLynSchatz/JaimeLynSchatz/typofix
fix typo in 10.5 (fixes Bugzilla 1795)
2014-07-10 13:40:27 -07:00
Brian Terlson cb8b373444 Merge pull request #26 from muratsu/intl402-alert
Remove the alert call from test file
2014-07-10 13:39:14 -07:00
José Roberto Vidal 7b6ef7ba88 Fix Bugzilla 1450 2014-02-11 19:56:32 -05:00
Murat Sutunc 7697770a4c removed alert call from test file 2014-01-30 16:00:57 -08:00
JaimeLynSchatz 6b47f8c585 change test 15.3.5.4_2-89 to call bound function before returning for Bugzilla issue 1533 2014-01-26 17:08:20 -08:00
JaimeLynSchatz f9afc0c847 fix error msgs in test S12.6.1_A1 from Bugzilla issue 1561 2014-01-26 16:21:28 -08:00
JaimeLynSchatz a5fda120de fix point of view typos from Bugzilla 1552 2014-01-26 14:55:44 -08:00
JaimeLynSchatz d7446f811a change assert to not assume a sorted list of arguments indices for Bugzilla 1159 2014-01-26 14:25:38 -08:00
Brian Terlson 47a92dbb24 15.5.4.9_CE should check for locale-sensitive comparison 2014-01-26 13:24:35 -08:00
JaimeLynSchatz 239c4b721a fix typo in 10.5 from Bugzilla 2014-01-26 11:36:47 -08:00
Brent Baker ada9da5aa9 Bug 1128: use Date.prototype.getFullYear() in S15.2.2.1_A2_T5
Bug 1131: use String.prototype.charAt() in 15.12.3-11-26

Both of these changes were accidentaly dropped when I regenerated patches for these bugs. I have grepped the testsuite to ensure that the annexB functions only appear in the annexB section of the testsuite.

NOTE: Also regenerated the website based on this change. (Still waiting for permission to actually update the live website)
2013-06-13 10:07:45 -04:00
Prashanth Srinivasan 87605ba3b5 Bug 1472: Adding JUnit Compatible XML and Logfile support for Python test runner 2013-06-10 11:51:24 -04:00
Brent Baker 91bb82fb7e Bug 1548: Update results handling for Annex B section (r+bterlson) 2013-06-07 07:05:37 -04:00
Brent Baker 0d01ab1c7f Bug 1189: use "===" instead of "=" for S13.2_A4_T1 and T2 2013-06-07 06:57:45 -04:00
Brent Baker 592bf451b2 Bug 1131: Move String.prototype.substr into annexB 2013-06-05 08:00:44 -04:00
Brent Baker dc243639fc Bug 1129: Move RegExp.prototype.compile into annexB 2013-06-06 08:07:36 -04:00
Brent Baker 23f10fea63 Bug 1129: Move Date.prototype.toGMTString into annexB 2013-06-06 07:48:30 -04:00
Brent Baker fb850ad1e0 Bug 1128: Move getYear() and setYear() into annexB 2013-06-06 07:44:11 -04:00
Brent Baker 66563223a5 Bug 1125: Move escape and unescape into "annexB" 2013-06-06 07:36:51 -04:00
Trevor Baker 5167f080fd bug 638: mid-file BOM
A few files had BOM mid-file, which is allowed but not relevant to the tests.
tests pass with spidermonkey, v8 and jsc.
2013-05-07 15:31:41 -04:00
Norbert Lindenberg fbba29fb70 Added test data for proper rounding in NumberFormat.format. 2013-04-29 17:35:48 -07:00
Norbert Lindenberg 238ff38de6 Updated minor unit value for Uganda Shilling to 0 per ISO 4217 Amendment Number 155. 2013-04-15 20:05:50 -07:00
Norbert Lindenberg 96321f30c9 New tests and test fixes for ECMAScript Internationalization API.
Updated copyright notice for 2013.
2013-03-24 23:48:59 -07:00
Norbert Lindenberg a2380a4257 Bug 1245 - Add test for missing argument to String.prototype.localeCompare 2013-02-07 20:55:25 -08:00
Norbert Lindenberg 46359091c7 Updated test402 main page to reflect that ECMA-402 is now an approved standard.
Fixed a property access in 6.4_c so that the error message shows the correct expected value.
2012-12-17 23:49:06 -08:00
Norbert Lindenberg f169d16273 Added tests to verify that constructors in Internationalization API can be called with non-objects as this values. 2012-11-05 22:48:52 +00:00
Norbert Lindenberg 8f6a50843a Bug 693: Remove "kk"/normalization property from Collator 2012-10-09 22:19:30 -07:00
Norbert Lindenberg ffe73305c6 New and improved tests for ECMAScript Internationalization API.
- Added test for proleptic Gregorian calendar with no year 0.
- Spelled 𠮷野家 correctly with supplementary characters.
- Fixed default value for useGrouping.
2012-10-04 23:19:33 -07:00
Bill Ticehurst 9d19c87e3e Bug 610: Handle supplementary characters. 2012-08-09 15:02:49 -07:00
Norbert Lindenberg 75fbd71ee0 Updated tests for ECMAScript Internationalization API spec changes; made small enhancements.
- Updated DateTimeFormat tests for new handling of hour12 options property.
- Added a few invalid language tags to test of IsStructurallyValidLanguageTag.
- Added user-defined language tag to test of CanonicalizeLanguageTag.
- Added test for the Intl property of the global object.
2012-09-10 11:53:56 -07:00
Norbert Lindenberg bcf9c18061 Added test to verify Unicode canonical equivalence in String.prototype.localeCompare. 2012-09-10 10:46:44 -07:00
Norbert Lindenberg d71ffa59d5 Added new tests for chapters 10 to 13 of the ECMAScript Internationalization API Specification. 2012-08-26 20:50:24 -07:00
Norbert Lindenberg 1af2425075 Added new tests for chapters 6 and 9 of ECMAScript Internationalization API Specification.
- Removed a few old test cases that were redundant with new, more comprehensive ones.
- Added testIntl.js as standard include for all console tests in test262.py – see related bug 574.
- Added .jshintrc file for settings for the JSHint tool.
2012-08-26 20:49:25 -07:00
Norbert Lindenberg 8cad7d03ce Added tests for requirements imposed on the built-in objects of the ECMAScript Internationalization API Specification by the introduction of chapter 15 of the ECMAScript Language Specification.
- Removed some old tests that were redundant with the new tests.
- Added testBuiltInObject.js as standard include for all console tests in test262.py – see related bug 574.
2012-08-26 20:48:49 -07:00
Norbert Lindenberg e77b0e06cf Moved Google tests from ch13 to ch12. 2012-08-22 18:23:26 -07:00
Norbert Lindenberg 043f19d25e Moved Google tests from ch12 to ch11. 2012-08-22 18:16:59 -07:00
Norbert Lindenberg ea81812a40 Moved Google tests from ch11 to ch10. 2012-08-22 18:06:31 -07:00
Norbert Lindenberg c3111850e3 Updated existing tests for June 2012 spec changes; removed LocaleList tests; fixed minor issues.
- Removed LocaleList tests; updated other tests so they don't depend on LocaleList.
- Updated tests so they no longer assume that the prototype object of a constructor is an instance of that constructor.
- Updated tests so that jshint is happy.
- Removed @path attributes from test files; updated comment in packager.py explaining why they're unnecessary.
- Removed "use strict" statements, which interfere with strict/non-strict testing.
- Removed testcase functions, which are unnecessary.
2012-08-22 17:53:26 -07:00
Norbert Lindenberg 9f4a513496 Merged changes. 2012-08-22 16:12:54 -07:00
Bill Ticehurst 19634b74f6 Update float value tests 2012-08-08 15:16:36 -07:00
Norbert Lindenberg 9a4b4011f8 Got test402 web site into usable shape. Unified headers of test262/402 sites.
- Added table of contents for ECMA-402.
- Added ability to load the right table of contents into results display.
- Added meaningful text to test402 web page.
- Updated test262 web pages for 5.1 edition of ECMA-262.
- Unified headers of test262/402 web pages to ECMAScript <area> <test>.
- Replaced text logos with styled text.
- Decapitalized some text; fixed a typo; expanded an abbreviation.
- Fixed a few issues found by W3 HTML validator.
2012-07-18 12:32:54 -07:00
t-adamre 385b4f7163 Add capability to run chapters individually from the website 2012-06-12 14:54:30 -07:00
Bill Ticehurst 9c48816277 Plugged a global thisarg hole with a new test and fixed an operator 2012-05-18 08:57:21 -07:00
Bill Ticehurst f117cde741 Adding more coverage for 10.4.3 based on feedback in bug https://bugs.ecmascript.org/show_bug.cgi?id=333 2012-05-17 10:30:10 -07:00
Bill Ticehurst 0dca29de4a Adding more tests to cover undefined being non-writable (see https://bugs.ecmascript.org/show_bug.cgi?id=223 ) 2012-05-16 18:08:23 -07:00
Bill Ticehurst 8646791add Removing RegEx test-case related to https://bugs.ecmascript.org/show_bug.cgi?id=326 until open issue is resolved. 2012-05-11 22:45:26 -07:00
Nebojsa Ciric cc9f5eab48 Initial intl402 checkin. 2012-04-16 13:23:13 -07:00
Bill Ticehurst 1087776d49 This is my first commit 2012-03-29 00:03:52 -07:00
David Fugate 87be1bf6ec https://bugs.ecmascript.org/show_bug.cgi?id=65 fixed. 2012-03-28 16:05:03 -07:00
David Fugate 2a112abbd5 Renamed a couple of files. 2012-03-27 13:01:22 -07:00
David Fugate 44234c8954 https://bugs.ecmascript.org/show_bug.cgi?id=289 is fixed. 2012-03-27 09:34:21 -07:00
David Fugate 898c63ab18 Fixed https://bugs.ecmascript.org/show_bug.cgi?id=288. 2012-03-27 09:27:57 -07:00
David Fugate d6634f8e10 Fixed https://bugs.ecmascript.org/show_bug.cgi?id=293. ConstructDate cannot be
salvaged (e.g., need locale info to properly predict whether we're subject to
DST).
2012-03-26 13:50:38 -07:00
David Fugate d67ef0cb5e Added whitespace (please ignore). 2012-03-16 10:27:59 -07:00
David Fugate 0474c73ea9 Fixed a typo. 2012-03-15 08:54:09 -07:00
David Fugate 4cebb176cf More work on https://bugs.ecmascript.org/show_bug.cgi?id=294. 2012-03-14 15:42:02 -07:00
David Fugate 7201416d53 https://bugs.ecmascript.org/show_bug.cgi?id=240 fixed (removed a BOM and
recoded a file to ANSI).
2012-03-14 14:22:41 -07:00
David Fugate 4ae147241a https://bugs.ecmascript.org/show_bug.cgi?id=294 partially fixed. Still
need to move some tests over to best practices.
2012-03-09 11:54:51 -08:00
David Fugate 448262e29e More @onlyStrict tests should have been @noStrict. 2012-03-08 12:04:15 -08:00
David Fugate 5882a21142 https://bugs.ecmascript.org/show_bug.cgi?id=287 is fixed (completely?). 2012-03-06 08:51:41 -08:00
David Fugate 0612ad7bb3 Added a LICENSE file to the root of the enlistment.
All Microsoft-contributed *.js and *.py sources now have Ecma's copyright header.
2012-02-29 14:23:47 -08:00
David Fugate e45ca2e0f3 https://bugs.ecmascript.org/show_bug.cgi?id=266 and https://bugs.ecmascript.org/show_bug.cgi?id=270 resolved. 2012-02-27 16:45:56 -08:00
David Fugate 4fb5071cd4 Migrated latest external\contributions\Microsoft\ietcLatest changes over to test\suite\*. 2012-02-27 15:46:23 -08:00
David Fugate c64d7b5758 https://bugs.ecmascript.org/show_bug.cgi?id=274
Fixed.

Re-gen'ed the website.
2012-02-24 15:40:42 -08:00
David Fugate d9e409ac1b https://bugs.ecmascript.org/show_bug.cgi?id=269
Extension clause permits function declarations more or less anywhere.
Moved four such negative test cases to best practices directory.
2012-02-24 14:28:50 -08:00
David Fugate 35af99abe1 https://bugs.ecmascript.org/show_bug.cgi?id=276 fixed. 2012-02-24 10:50:14 -08:00
David Fugate e0d156d38c Implemented the following work items:
- https://bugs.ecmascript.org/show_bug.cgi?id=44
- https://bugs.ecmascript.org/show_bug.cgi?id=45
2012-02-22 11:53:29 -08:00
David Fugate 394e82c6c2 Fixed more license headers. 2012-02-08 15:33:30 -08:00
David Fugate e0cf97e344 A conversion tool ripped Microsoft license headers out of globally scoped tests. Fixed 2012-02-07 09:34:36 -08:00
David Fugate fa9e9d3203 Fixed test case paths. 2012-02-03 15:21:45 -08:00
David Fugate 2f093b7988 No test262 test cases can be found under test/suite/chN/*.js for
all 'N'.  If such files existed, they've been moved to test/suite/chN/N.0/
now.
2012-02-03 13:36:07 -08:00
David Fugate 279825ea44 Added experimental test402 support (JS internationalization standard). 2012-01-25 14:04:40 -08:00
David Fugate 98a0b9e10e S8.5_A13_T1 is implementation dependent (cannot pass on current ARM
architectures), but worth keeping around for the coverage it provides.
Documented that this is expected to fail on ARM.
2012-01-18 12:16:09 -08:00
David Fugate e6f9015301 Last two invalid test cases have been fixed. 2012-01-16 14:06:17 -08:00
David Fugate 4d241e4bec S7.8.5_A3.1_T7 through S7.8.5_A3.1_T9 were invalid as written. The only way to specify unicode flags
to literal regexp patterns is through eval and similar mechanisms (e.g., Function constructor).  Fixed.

All but two of the remaining disabled tests in excludelist.xml were disabled because the tests polluted
the global JS environment, not because the tests themselves were invalid.  This is no longer an issue as
of the latest test262 harness (actually it wasn't an issue about a year ago either).  Re-enabled.
2012-01-16 12:51:55 -08:00
David Fugate b9160ef102 Mark Miller removed this invalid test in Sputnik (see http://code.google.com/p/sputniktests/source/detail?r=93), and
I'm propagating that change to test262 now.
2012-01-16 11:27:31 -08:00
David Fugate a180d5f371 https://bugs.ecmascript.org/show_bug.cgi?id=61 is fixed. 2012-01-16 11:17:05 -08:00
David Fugate 9e00383b5f Two more issues called out in excludelist.xml are gone. 2012-01-13 15:48:35 -08:00
David Fugate 42737015f4 https://bugs.ecmascript.org/show_bug.cgi?id=75 2012-01-13 15:15:29 -08:00
David Fugate 9dbc4e9821 Test harness changes last Fall enabled execution of this===theGlobalObject Sputnik tests again.
Also, two of this weren't actually this-related.  Fixed their separate issues.
2012-01-13 14:54:45 -08:00
David Fugate 7e7ebe85f2 https://bugs.ecmascript.org/show_bug.cgi?id=60 2012-01-13 13:31:45 -08:00
David Fugate e394b50364 Rest of https://bugs.ecmascript.org/show_bug.cgi?id=23 fix. 2012-01-13 11:33:05 -08:00
David Fugate ab5f9c379f https://bugs.ecmascript.org/show_bug.cgi?id=23 resolved. 2012-01-13 11:31:20 -08:00
David Fugate d8add6e8c6 https://bugs.ecmascript.org/show_bug.cgi?id=14 fixed. 2012-01-13 09:51:10 -08:00
David Fugate fb301f6f8e https://bugs.ecmascript.org/show_bug.cgi?id=7 2012-01-13 09:42:02 -08:00
David Fugate 30b01f46c8 https://bugs.ecmascript.org/show_bug.cgi?id=80 resolved. 2012-01-13 09:16:55 -08:00
David Fugate e28b10e5a6 https://bugs.ecmascript.org/show_bug.cgi?id=218 resolved. 2012-01-12 16:39:35 -08:00
David Fugate 1ba74c5d0d https://bugs.ecmascript.org/show_bug.cgi?id=215 resolved. 2012-01-12 10:15:26 -08:00