[Commits] svn commit: 9800

Subversion Database Process svn at thor.atrc.utoronto.ca
Thu Apr 1 13:08:52 UTC 2010

r9800 | colin | 2010-04-01 09:08:51 -0400 (Thu, 01 Apr 2010) | 5 lines
Changed paths:
   M /fluid/infusion/branches/FLUID-3577/src/webapp/tests/component-tests/tableOfContents/html/TableOfContents-test.html
   M /fluid/infusion/branches/FLUID-3577/src/webapp/tests/component-tests/tableOfContents/js/TableOfContentsTests.js
   M /fluid/infusion/branches/FLUID-3577/src/webapp/tests/test-core/jqUnit/js/jqUnit.js

FLUID-3577: Table of Contents tests working with new QUnit. Asynchronous testing works differently in this new version of QUnit--you can't stop() across phases of the testing lifecycle, meaning you can stop() in setup and expect to block test runs until start() is called. As a result, you need to run your tests within the callback of whatever asynchronous operation is being performed.

Updated jqUnit to provide an asyncTest() convenience method.


More information about the Commits mailing list