Skip to content
Snippets Groups Projects
  1. Oct 03, 2011
  2. Sep 30, 2011
  3. Sep 27, 2011
  4. Sep 26, 2011
  5. Sep 25, 2011
  6. Sep 24, 2011
  7. Sep 23, 2011
  8. Sep 14, 2011
  9. Sep 12, 2011
  10. Sep 09, 2011
  11. Sep 08, 2011
  12. Sep 07, 2011
  13. 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
  14. Jun 30, 2011
  15. Jun 29, 2011
  16. Jun 02, 2011
  17. Apr 20, 2011
    • David Fugate's avatar
      A previous check-in made today lost generation of 'N.0' test section directories for · 994e6f30
      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.
      994e6f30
    • David Fugate's avatar
      b0554239
    • 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
  18. Apr 19, 2011
    • David Fugate's avatar
      A number of small improvements to Sputnik Test Converter: · 06e62f87
      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
      06e62f87
  19. Apr 08, 2011
Loading