Skip to content
Snippets Groups Projects
  1. May 31, 2018
  2. Jul 17, 2015
  3. Jun 26, 2015
    • Mike Pennisi's avatar
      Move website scripts to a dedicated directory · b974c137
      Mike Pennisi authored
      Some JavaScript source files are only relevant in the context of the
      Test262 website. They should not be explicitly included by individual
      tests, so their presence in the `harness/` directory alongside "include"
      files is misleading.
      
      Move the scripts to a location within the `website/` directory to
      better-reflect their intended use. Update the relevant HTML templates
      with the new locations.
      b974c137
  4. Dec 07, 2014
  5. Feb 29, 2012
  6. Sep 13, 2011
  7. Aug 25, 2011
    • David Fugate's avatar
      test\harness\*: · 28718864
      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.
      28718864
  8. Nov 16, 2010
    • David Fugate's avatar
      Did a bit of refactoring on the test262 directory structure and propagated changes from · 35450e9e
      David Fugate authored
      website\* out to test\*:
      - Removed test\harness\ECMA-262-TOC.xml.  The casing on this file was incorrect, but
        more importantly it's a static file not generated by the harness
      - Populated test\harness with the contents of website\resources\scripts\global\.  In
        the future, we need to update test\harness\* and propagate these changes out to
        website\*
      - Test\suite\ietestcenter is now a verbatim copy of the IE Test Center tests that
        WERE under website\resources\scripts\testcases\*
      - Moved all Sputnik tests from website\resources\scripts\testcases\* out to
        test\suite\sputnik_converted
      - Moved website\resources\scripts\testcases\excludelist.xml out to test\config\*.  This
        particular file was only used for the test conversion process to XML, and is not actually
        needed by the website as best as I can tell
      - Website\resources\scripts\testcases now only contains the XMLized test cases.  This is
        the right thing to do as the *.js files here weren't actually being used by the website
        and the general public can now peruse the test cases directly via Mercurial
      35450e9e
  9. Nov 03, 2010
  10. Oct 19, 2010
    • David Fugate's avatar
      This commit includes Microsoft's initial contributions to Test262: · 73966429
      David Fugate authored
      - 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
      73966429
Loading