Skip to content
Snippets Groups Projects
  1. Jan 25, 2012
  2. Sep 26, 2011
  3. Sep 24, 2011
  4. 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
  5. Jul 01, 2011
  6. Jun 07, 2011
  7. May 31, 2011
  8. May 03, 2011
  9. Apr 20, 2011
    • David Fugate's avatar
      *NOTE: this is a work-in-progress. Need to remove our dependency on a separate 'GlobalScope' · 545f2c34
      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
      545f2c34
  10. Mar 14, 2011
  11. Mar 11, 2011
  12. Mar 04, 2011
  13. Feb 25, 2011
  14. Feb 03, 2011
  15. Jan 17, 2011
  16. Nov 17, 2010
  17. Nov 13, 2010
  18. Nov 12, 2010
  19. Nov 01, 2010
  20. 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