Commit Graph

158 Commits

Author SHA1 Message Date
David Fugate 33a175689e Rebuilt website. 2011-09-12 13:34:49 -07:00
David Fugate 807a3ba1b7 Merge. 2011-09-12 11:25:23 -07:00
David Fugate 2c16b93983 Re-added tests disabled by https://bugs.ecmascript.org/show_bug.cgi?id=126. 2011-09-12 10:02:51 -07:00
Mark Miller 68d44bb52a Having restored the test262 sources of these to their original sputnik
form, they now convert correctly to tests that pass our
tools/test262.py test runner. The issue for all three was non-ascii content.
2011-09-12 08:34:41 -07:00
Mark Miller 9973643490 These are the three files that "diff" identified as "binary" files with differences from the Sputnik original. Restoring to their original Sputnik state. 2011-09-12 08:19:27 -07:00
Mark Miller dec1be4414 minor oversight 2011-09-11 22:04:55 -07:00
Mark Miller 77450b53f2 Unlike the current sputnikLib.js, framework.js cannot define $ERROR
etc, because the substitution logic in test262.py operates on the
source after prepending framework.js.

The plan is to replace sputnikLib.js with framework.js. Also, the
substitution logic in test262.py should probably be fixed to apply the
substitution before prepending.
2011-09-11 21:45:26 -07:00
Mark Miller a2ca5b512b Adapted the sputnik command line testRunner to a command line
testRunner, test262.py, that can run all the converted tests.
2011-09-11 21:12:01 -07:00
Mark Miller d0f40b63a2 Updating a generated directory.
assertTrue became assertTruthy. Canonical form of doc-comment attribute value source no longer have a leading colon and trailing semicolon. Any existing such are stripped during conversion.
2011-09-11 21:07: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
Mark Miller 274b5514fa As David Fugate requested, changed the conversion of ietestcenter
style to append runTestCase(funcName); rather than
assertTrue(funcName.call(this)), giving the testing framework more
control.
2011-09-09 14:48:37 -07:00
Mark Miller 5c054fa412 First checkin of browserPlatform.js, even though it's far from ready. 2011-09-07 23:41:10 -07:00
Mark Miller 0065b15889 Just checking in the converted files, generated using the previous commit. 2011-09-07 21:47:38 -07:00
Mark Miller ca417c93dc Now generating the format David Fugate and I agreed on this
morning. The rewrite of "function testcase()..." now puts the
assertTrue at the bottom. Preconditions, names, and ids are
removed. And the path in the file is ignored, and is instead set
accurately according to where the file is found.
2011-09-07 21:42:49 -07:00
Mark Miller 57c450002d Removed an invalid "var". 2011-09-07 08:52:29 -07:00
Mark Miller d6df1d4a36 Fixed a typo precodition -> precondition 2011-09-07 08:48:46 -07:00
Mark Miller 9fab5f9a3a Much rougher: A first attempt at building the testcases for the website based on the new canonical test262 style testcase. 2011-09-07 00:02:16 -07:00
Mark Miller 2f25dc8f0c Added copyright. 2011-09-06 23:37:30 -07:00
Mark Miller bc6a3ba731 All sputnik and ietestcenter tests converted to proposed new canonical form 2011-09-06 23:35:18 -07:00
Mark Miller 1558636929 Converts test cases to proposed new canonical form 2011-09-06 23:32:28 -07:00
David Fugate 9a8578be92 activityBar is a member of the Presenter object. 2011-08-25 14:14:29 -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 1f6f66cb19 https://bugs.ecmascript.org/show_bug.cgi?id=76 2011-07-18 11:08:15 -07:00
David Fugate bda89b6452 https://bugs.ecmascript.org/show_bug.cgi?id=127 2011-07-18 10:59:06 -07:00
David Fugate 5b2de8816f https://bugs.ecmascript.org/show_bug.cgi?id=126 2011-07-18 10:29:23 -07:00
David Fugate 009262deba https://bugs.ecmascript.org/show_bug.cgi?id=128 2011-07-18 09:15:03 -07:00
David Fugate 383aaca3b1 https://bugs.ecmascript.org/show_bug.cgi?id=133 2011-07-18 09:05:23 -07:00
David Fugate 9eb6c8c2d2 15.4.4.15-3-14, 15.4.4.15-3-29, and 15.4.4.15-3-8 were disabled with no reason or bug given. These actually look OK,
and pass on all browsers...
2011-07-08 16:02:19 -07:00
David Fugate 58466ad144 Changed the website reported version number back to 0.7.5.2 (live website is at 0.7.5.1). 2011-07-07 14:43:28 -07:00
David Fugate 7ffad2be3e Several new Sputnik tests included:
if (!strict_mode) { throw new SyntaxError('unspecified case'); }

This doesn't work for a few reasons:
1.  'strict_mode' is undefined in the test case exeuction context. That is, the test framework
    does not force the test case into strict mode
2.  The test case code looks like:
	"use strict";
	if (!strict_mode) ...
        ...
    Note that 'strict_mode' is not set before being accessed

Really the metadata for these test cases should have a "@strict" property added to instruct the test
framework *not* to run the test if an implementation doesn't support strict mode.
2011-07-07 14:31:22 -07:00
David Fugate d848bcad16 Recent update from Sputnik has made S12.10_A3.3_T4 a valid ES5 test. Re-enabled 2011-07-07 13:42:04 -07:00
David Fugate a442fb1509 More Sputnik tests have been fixed and enabled. 2011-07-07 12:58:55 -07:00
David Fugate 314a8abb70 https://bugs.ecmascript.org/show_bug.cgi?id=12 is partially fixed. 2011-07-07 10:38:08 -07:00
David Fugate f3ed594ec4 https://bugs.ecmascript.org/show_bug.cgi?id=18 (IE Test Center tests only) 2011-07-07 10:10:32 -07:00
David Fugate c77066fc25 https://bugs.ecmascript.org/show_bug.cgi?id=118 2011-07-07 08:47:12 -07:00
David Fugate 6224968765 https://bugs.ecmascript.org/show_bug.cgi?id=120 2011-07-07 08:34:41 -07:00
David Fugate aa4b085528 https://bugs.ecmascript.org/show_bug.cgi?id=117
Disabled 9 invalid tests.
2011-07-06 11:00:55 -07:00
David Fugate 09ea4a8413 https://bugs.ecmascript.org/show_bug.cgi?id=61 2011-07-05 16:39:32 -07:00
David Fugate c8559941b2 https://bugs.ecmascript.org/show_bug.cgi?id=61 2011-07-05 16:36:04 -07:00
David Fugate a4a9057358 Added a reference to the new FAQ on the ES Wiki. 2011-07-01 14:18:35 -07:00
David Fugate 8b0704e64c https://bugs.ecmascript.org/show_bug.cgi?id=87 *should* in theory be fixed now. Need to test
on the live website to be sure.
2011-07-01 12:01:55 -07:00
David Fugate c0b6d37ba0 Added some missing copyright headers. 2011-06-30 14:33:50 -07:00
David Fugate 42b534663f Added a small script, InvalidTestDetector.py, to help detect test dependencies on DOM and
host objects (which make them invalid for test262).  Using this, I found one benign 'alert'
usage (it was never even called) and removed it.
2011-06-30 14:31:11 -07:00
David Fugate 4cbb71f6b0 An ActiveX test slipped into IE Test Center/test262 by mistake. Removed 2011-06-30 09:59:25 -07:00
David Fugate 254821616f Added a few missing test case descriptions. 2011-06-29 12:02:57 -07:00
David Fugate 0e187575b1 Regenerated website. 2011-06-29 11:30:40 -07:00
David Fugate b78c959d2a New Sputnik 'negative' metadata that included exception type was causing problems for SputnikConverter.
Took the easy fix and split the metadata into two: 'negative' and 'errortype'.
2011-06-29 11:11:12 -07:00
David Fugate c52161e734 Fixed Sputnik test 'path' metadata. 2011-06-29 10:04:15 -07:00
David Fugate dce7ac2a5e Converted Sputnik's latest test case push to test262 format. 2011-06-29 09:40:07 -07:00