Skip to content
Snippets Groups Projects
  1. Mar 30, 2011
  2. Mar 24, 2011
  3. Mar 23, 2011
  4. Mar 14, 2011
  5. Mar 12, 2011
  6. Mar 11, 2011
  7. Mar 10, 2011
  8. Mar 09, 2011
  9. Mar 08, 2011
  10. Mar 04, 2011
  11. Mar 02, 2011
    • David Fugate's avatar
      Refactored TestCasePackager.ps1 such that it now produces test case XMLs according · 0bcccaca
      David Fugate authored
      to the following criteria:
      1.  If a test case directory directly contains *.js files at the root level, package
          the entire directory as an XML regardless of how many *.js files are in
          subdirectories
      2.  If the directory and subdirectories contain less than 1,000 test cases, package
          the entire directory as an XML.  Otherwise...
      3.  Perform steps 1 and 2 on each subdirectory of the directory
      
      The net effect of this change is that no test case XMLs are larger than 1.5 megs any longer,
      although the total number of test XMLs has jumped from about a dozen to ~75.  This should
      make running the test harness seem a little smoother across all browsers since we won't be
      blocked downloading 4 meg files for several seconds any longer.
      0bcccaca
  12. Mar 01, 2011
  13. Feb 28, 2011
  14. Feb 25, 2011
  15. Feb 21, 2011
  16. Feb 14, 2011
  17. Feb 11, 2011
    • David Fugate's avatar
      Sputnik tests were previously modified to ensure global objects with common names (e.g., 'obj') · d3d9d28c
      David Fugate authored
      were actually unique across the test cases.  This *was* needed prior to November as we weren't
      running each test case in it's own private global environment.  The situation now is that
      we're running each test within it's own iframe => the modifications are no longer needed.
      
      Few small improvements to SputnikConverter:
      - App.config file locations have been fixed
      - template files get pushed alongside generated tool binaries
      - the root path for Sputnik conformance files is "Conformance", not "tests"
      - allow the main exe to throw exceptions so they can be properly debugged with VS
      d3d9d28c
    • David Fugate's avatar
      Disabled 7 more invalid test cases. · bd20fef7
      David Fugate authored
      bd20fef7
  18. Feb 10, 2011
  19. Feb 08, 2011
  20. 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
  21. Feb 03, 2011
  22. Feb 02, 2011
  23. Jan 17, 2011
  24. Nov 17, 2010
  25. Nov 16, 2010
    • David Fugate's avatar
      TestCasePackager.ps1 had problems dealing with test case files that had valid test code · 42b884b7
      David Fugate authored
      prior to the usage of "ES5Harness".  Specifically in cases like:
        var abc = ...;
        ES5Harness.registerTest( {
        //...abc gets used here
      
      the declaration of "abc" would've been ripped out thereby corrupting the test.
      
      This change fixes the issue for all existing IE Test Center and Sputnik test cases. Note
      however that it could potentially fail for lines like this: "/*abc*/ /*".  If we ever add
      cases including comments like this, the implementation of isTestStarted will need to be
      revisited.
      
      There were five such test cases that were being affected by this issue in IE Test
      Center's chapter 10 and 15 tests.  These have all been fixed via the updated script.
      42b884b7
    • David Fugate's avatar
      15.4.4.14-9-b-i-6.js and 15.4.4.15-9-b-i-6.js were never reviewed internally at Microsoft · 3fedec41
      David Fugate authored
      for their adherence to the ES5 specs. Removing until we've fulfilled all internal policies
      around these two tests.
      3fedec41
    • David Fugate's avatar
      TestCasePacker.ps1: · 2f34b4e0
      David Fugate authored
      - The only parameter required for this script is now the test suite version.  All other
        parameters are generated relative to the location of this script
      - This script now generates the XML'ized test cases directly to website\resources\scripts\testcases\.
        Likewise, it copies the test harness taken from test\harness\* to website\resources\scripts\global\
      - Added tons of error checking and we now emit the current generation status to stdout
      - Made the script more generic in the sense that it can take arbitrary directories under test\suite\*
        containing ES5 test chapters.  Previous behavior was it was looking for test chapters directly under website\
      2f34b4e0
    • David Fugate's avatar
      Removed website/(browsersreport|development|results|run) as we do not need path-like · 90b97dba
      David Fugate authored
      access to the webpages.  index.html should suffice.
      90b97dba
    • 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
Loading