Skip to content
Snippets Groups Projects
  1. Mar 26, 2012
  2. Feb 29, 2012
  3. Oct 03, 2011
  4. Sep 26, 2011
  5. Sep 25, 2011
  6. Sep 24, 2011
  7. Sep 13, 2011
  8. Sep 12, 2011
  9. 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
  10. Apr 07, 2011
  11. Feb 04, 2011
    • David Fugate's avatar
      test\harness\helper.js: extended the 'finished' method to accept as input the... · e4d4a7a8
      David Fugate authored
      test\harness\helper.js:  extended the 'finished' method to accept as input the total elapsed execution time
                               of the tests.  Emit this to the activity bar
      
      
      test\harness\sta.js:  too many years of Python had me thinking JavaScript arrays have an append method:)  Fixed.
                            Also, added a pickled representation of all test helper functions found in this file
      
      
      test\harness\sth.js:  detached most test helper functions from the iframe's document object (as globals) and
                            inject these into the actual test cases. It's a bit slower and not as elegant, but it is
                            cleaner from an ES5 purist perspective.  Still need to move Sputnik helper functions into
                            sta.js
      
                            Extended Controller such that it now measures overall test execution time.  Such a change
                            is very useful for measuring performance-impact changes such as the aforementioned
                            improvement
      e4d4a7a8
  12. Feb 03, 2011
Loading