- Oct 03, 2011
-
-
David Fugate authored
-
David Fugate authored
-
- Sep 30, 2011
-
-
Mark Miller authored
-
Mark Miller authored
-
- Sep 27, 2011
-
-
David Fugate authored
-
- Sep 26, 2011
-
-
David Fugate authored
Laid down the groundwork for a console-based test runner.
-
- Sep 25, 2011
-
-
David Fugate authored
-
Mark Miller authored
-
Mark Miller authored
-
David Fugate authored
-
David Fugate authored
-
David Fugate authored
-
David Fugate authored
-
Mark Miller authored
Added .hgignore
-
- Sep 24, 2011
-
-
David Fugate authored
-
David Fugate authored
Added new 'packaging' directory to tooling.
-
Mark Miller authored
-
Mark Miller authored
-
David Fugate authored
-
Mark Miller authored
-
- Sep 23, 2011
-
-
Mark Miller authored
-
- Sep 14, 2011
-
-
Mark Miller authored
-
Mark Miller authored
Fixed convert.py to convert a "use strict" into an @strict_only
-
- Sep 12, 2011
-
-
Mark Miller authored
-
Mark Miller authored
testRunner, test262.py, that can run all the converted tests.
-
- Sep 09, 2011
-
-
Mark Miller authored
style to append runTestCase(funcName); rather than assertTrue(funcName.call(this)), giving the testing framework more control.
-
- Sep 08, 2011
-
-
Mark Miller authored
-
Mark Miller authored
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.
-
- Sep 07, 2011
-
-
Mark Miller authored
-
Mark Miller authored
-
- Aug 25, 2011
-
-
David Fugate authored
- 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.
-
- Jun 30, 2011
-
-
David Fugate authored
-
David Fugate authored
host objects (which make them invalid for test262). Using this, I found one benign 'alert' usage (it was never even called) and removed it.
-
- Jun 29, 2011
-
-
David Fugate authored
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'.
-
- Jun 02, 2011
-
-
David Fugate authored
this module in two such that the configuration of the test case packaging tool is separate from the implementation.
-
- Apr 20, 2011
-
-
David Fugate authored
tests covering a given chapter, N, without delving into subsections. This in turn broken the Results page which was by default displaying individual results for chapters 13(.0) and 14(.0). Fixed.
-
David Fugate authored
'GlobalScope' directory.
-
David Fugate authored
directory next* SputnikConverter: - ES5TestCase.cs * Case of JSON-based property names was wrong. Fixed * Use the tests' 'id' instead of 'path' as the GlobalScopeTests keys * Added 'id' and 'path' as Global Scope test metadata. The correct/clean solution here is to simply use 'path' as the key to GlobalScopeTests, but this refactoring needs to be undertaken later when we can convert the 'normal' test cases over to use 'path' as the key as well * Turns out we cannot depend on the message received by window.onerror to have some form of "syntax" contained within it. Instead, we'll just rely on the regular expression ".", matches any one character, for the short term - SputnikTestCase.cs * Same case issue as for ES5TestCases.cs * Don't trust the Sputnik metadata for the ES5 section name or even test case id to be correct. Instead, generate this information from the file path of the test case TestCasePackager.py: - added a new global, GLOBAL_SCOPE_FILES, which is a list of JS files found directly under test\suite\*.js which include metadata for so-called globally scoped tests. These files are imported directly by the HTML test harness test\suite\*: - regenerated Sputnik tests based on new converter default.html: - import SputnikGlobalScope.js. Really TestCasePackager.py should generate the global scope imports to default.html automatically... website\resources\scripts\testcases\*: - test cases have shuffled from existing *.json files into globalscope.json
-
- Apr 19, 2011
-
-
David Fugate authored
- restructured the generated GlobalScope.js file such that the HTML test harness can import multiple such files without worrying about one blowing aways another's metadata - inline with the last change, GlobalScope.js has been renamed to SputnikGlobalScope.js and generated directly to test\suite\* - the path and ID properties for most entries in GlobalScope.js were incorrect. That is, they were based on the metadata contained in the original Sputnik tests and not the new test262 directories and filenames - generate global scope tests to test\suite\GlobalScope\* instead of test\suite\sputnik_converted\GlobalScope\*. Going forward we need to move towards integrating all test sources into test262 directories (e.g., "GlobalScope"===good; "Sputnik\GlobalScope"===not-so-good) - a few hacks to the sources (e.g., private vars to public vars) I'll fix in a refactoring later. Just trying to get everything working first
-
- Apr 08, 2011
-
-
David Fugate authored
Still needs a bit of integration work into the test harness. A number of Sputnik tests were written outside the context of a chapter's sections. E.g., "Chapter 13" versus "Chapter 13, Section 1". We now fake a section number ("13.0" for the example above) for such cases when generating test case metadata.
-