Commit Graph

20 Commits

Author SHA1 Message Date
David Fugate 807a3ba1b7 Merge. 2011-09-12 11:25:23 -07:00
Mark Miller 84fe57d3f4 Adding Sputnik's command-line runner to Google's contributions, in
preparation for deriving a test262 command-line runner.
2011-09-11 14:20:06 -07:00
David Fugate 2871886420 test\harness\*:
- a lot of JS harness code written in strings have been moved out to actual physical files
  such as ed.js (syntax error detection for globally scoped tests) and gs.js (global scope test
  case validator).  This change makes it far easier to maintain the test harness code
- reorganized helper.js providing a clear indication which methods are used by external objects,
  which are implementation details, and which are unequivocally test262-specific.  I've also added,
  openErrorWindow, which will be used to open a descriptive error message window for each test case
  failure reported on the 'Run' tab
- improved the error message for syntax errors occurring when a test case fails to load
- sta.js no longer tries to pickle all helper functions it contains!  Instead, we load the file
  directly from sth.js.  The performance of fnGlobalObject has been improved.  Finally, the ES5Harness
  object has been moved from sth.js (in a string) to here
- sth.js now has a browser implementer hook, controller.implementerHook, which allows browser implementers
  to handle test case failures in their own way (e.g., log to the filesystem).  The 'run' function was
  basically re-written

Added 37 new test cases from the "IE Test Center" Build release.  There were 14 modifications to
existing test cases as well.  Refactored SputnikGlobalScope.js such that test case paths are now used
as indices into the GlobalScopeTests array.

TestCasePackager.py had the concept of templated test harnesses introduced - see templates\runner.test262.html.
Also added support for one HTML test harness per ES5 chapter.  Last but not least, TestCasePackagerConfig.py
now has a 'source control' abstraction class which abstracts away source control adds|edits when dynamically
generating *.json and *.html test chapters.
2011-08-25 11:18:44 -07:00
David Fugate c21525a328 Microsoft's latest contributions for test262 based on Internet Explorer Test Center additions/fixes
for the Build 2011 conference.
2011-08-24 10:17:25 -07:00
David Fugate 0005b0b87b Merged remote changes 2011-06-28 10:36:30 -07:00
David Fugate e69a5fa68f Removed a test file created by Mark Miller to ensure his Hg account was working. 2011-06-28 09:41:53 -07:00
Mark Miller a7e6453c0e Adding new files from sputniktests r97 2011-06-27 08:58:09 -06:00
Mark Miller a230618291 Updating Google contribution to r97 of sputniktests. 2011-06-27 08:52:25 -06:00
Mark Miller 02e7fb9cfa Updating Google's contribution to r95 of Sputnik tests. 2011-06-23 15:53:59 -07:00
Mark Miller bcc15fd553 Initial contribution of r88 of Google's Sputnik tests 2011-06-23 15:37:18 -07:00
David Fugate 55855b285e Updated test262 with test case additions and edits from the PPB2 release of IE10. This included:
- 22 test case additions (mostly strict mode)
- 4 test case edits
2011-06-23 15:04:00 -07:00
Mark Miller e18541dce5 test commit 2011-05-31 16:25:26 -07:00
David Fugate 1af6eb57c0 Microsoft's test262 contributions with respect to IE PPB10. 2011-04-08 09:20:26 -07:00
David Fugate 3a7cef574c Added new test case contributions from Microsoft. 2011-03-09 11:55:18 -08:00
David Fugate d3f3cf97d7 Latest set of external contributions from IE Test Center. Compared to test\suite\ietestcenter:
- 26 test case modifications.  Most of these involved replacing instances 'window' with the
  global object
- removal of 47 test cases.  The bulk of these were dependent upon 'window' methods or properties
  such as 'document' and 'alert'
- addition of 1,234 new test cases.  These cover the following ES5.1 sections:
	chapter07\7.6\7.6.1
	chapter07\7.8\7.8.5
	chapter11\11.8\11.8.2
	chapter11\11.8\11.8.3
	chapter12\12.6\12.6.3
	chapter12\12.6\12.6.4
	chapter12\12.7
	chapter12\12.8
	chapter12\12.9
	chapter13\13.2
	chapter15\15.10\15.10.2
	chapter15\15.10\15.10.4
	chapter15\15.10\15.10.6\15.10.6.2
	chapter15\15.11\15.11.4\15.11.4.4
	chapter15\15.1\15.1.1\15.1.1.1
	chapter15\15.1\15.1.1\15.1.1.2
	chapter15\15.1\15.1.1\15.1.1.3
	chapter15\15.1\15.1.2\15.1.2.2
	chapter15\15.1\15.1.2\15.1.2.3
	chapter15\15.2\15.2.4\15.2.4.2
	chapter15\15.3\15.3.4\15.3.4.5.1
	chapter15\15.3\15.3.4\15.3.4.5.2
	chapter15\15.4\15.4.4\15.4.4.10
	chapter15\15.4\15.4.4\15.4.4.12
	chapter15\15.4\15.4.4\15.4.4.4
	chapter15\15.9\15.9.1\15.9.1.15
2011-02-25 10:17:25 -08:00
David Fugate 7f1b0fa7a5 Removed prototype www.ecmascript.org revamp. 2011-02-10 09:12:55 -08:00
David Fugate cef2d1ed51 Added Microsoft's Test262 contributions stemming from IE9 RC1:
- 12.14-7.js:  cleaned up
- 15.2.3.3:  89 test case additions
- 15.2.3.4:  29 test case additions
- 15.2.3.6:  1,076 test case additions and 15 minor test case fixes
- 15.2.3.9-1.js:  cleaned up
- 15.3.4.5-2-8.js:  cleaned up
- 15.4.4.14:  14 test case additions and 3 minor test case fixes
- 15.4.4.15:  9 test case additions and 3 minor test case fixes
- 15.4.4.17:  1 test case additions and 1 minor test case fix
- 15.4.4.18:  1 minor test case fix
- 15.4.4.19:  1 test case addition and 2 minor test case fixes
- 15.4.4.20:  3 minor test case fixes
- 15.4.4.21:  1 test case addition and 1 minor test case fix
- 15.4.4.22: 2 minor test case fixes
- 15.9.4.4: 2 minor test case fixes
- 15.9.5.43-0-2.js: minor test case fix
2011-02-02 09:44:09 -08:00
David Fugate 3fedec4130 15.4.4.14-9-b-i-6.js and 15.4.4.15-9-b-i-6.js were never reviewed internally at Microsoft
for their adherence to the ES5 specs. Removing until we've fulfilled all internal policies
around these two tests.
2010-11-16 08:00:32 -08:00
David Fugate c26f761a9f tools\TestCaseHTMLPackager\TestCasePacker.ps1: there were some improvements made to this script WRT to the
processing of unicode-related test cases.

tools\TestCaseHTMLPackager\TestUpdater.ps1:  new script which preprocesses test cases (rips out comments,
etc.)

external\contributions\Microsoft\ietestcenter_ppb5\chapter11\11.4\11.4.1\11.4.1-4.a-10.js and
website\resources\scripts\testcases\chapter11\11.4\11.4.1\11.4.1-4.a-10.js:  cleaned up a code comment

website\enginereports\sample.xml: removed

website\resources\scripts\global\jquery-1.4.2.js:  removed

website\resources\scripts\*.ps1:  moved into the tools\ directory

website\Web.config:  removed.  This is only relevant for Windows-based hosting of test262

website\browserreport.html:  removed
2010-11-03 10:10:47 -07:00
David Fugate 7396642963 This commit includes Microsoft's initial contributions to Test262:
- external\contributions\: test contributions to Test262 from external entities such as Microsoft and Google.
                           This directory consists of the external tests without any modifications
- test\harness\:  test harness used to run Test262 tests.  Presently web-based
- test\suite\:    suite of vendor-neutral ECMAScript test cases conforming to the ES5 spec
- tools\:         among other things this includes a set of tools used to convert various external test
                  contributions to a format the Test262 test harness can consume
- website\:       an archived copy of the http://test262.ecmascript.org website
2010-10-18 20:50:07 -07:00