middleman/middleman-cli/lib/middleman-cli/templates/mobile/source/tools/wspl
2014-01-02 16:39:06 -08:00
..
simplenotes Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
databasefactory.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
dbworker.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
dbworker_test.html Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
dbworkerstarter.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
dbwrapper_gears.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
dbwrapper_gears_test.html Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
dbwrapper_html5.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
dbwrapper_html5_test.html Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
dbwrapperapi.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
dbwrapperapi_test.html Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
gears_resultset.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
gears_resultset_test.html Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
gears_transaction.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
gears_transaction_test.html Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
gearsutils.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
gearsutils_test.html Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
global_functions.js Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00
README Move CLI into middleman-cli 2014-01-02 16:39:06 -08:00

How to run the tests:

* The tests themselves assume that jsunit is in a sibling directory
to the one containing the distrbution. If this is not so, it is sufficient
to edit the paths in the test files. (On UNIX, symlinks may be your 
friend if this is not convenient.)

* jsmock.js (available from http://jsmock.sourceforge.net/) should
be placed in the distribution directory.

* Specify the test files via a URL parameter. (This might be an issue
with jsunit: http://digitalmihailo.blogspot.com/2008/06/make-jsunit-work-in-firefox-30.html)

For example, if the root of your downloaded of the distribution is /mypath:

file:///mypath/jsunit/testRunner.html?testpage=mypath/webstorageportabilitylayer/dbwrapper_gears_test.html
file:///mypath/jsunit/testRunner.html?testpage=mypath/webstorageportabilitylayer/dbwrapper_html5_test.html
file:///mypath/jsunit/testRunner.html?testpage=mypath/webstorageportabilitylayer/dbwrapperapi_test.html

NB: the leading / in a UNIX path is not included in mypath so setting
it via pwd will not deliver the desired effect.