[OPEN-ILS-DEV] opensrf.js Unit Tests and Fix

Kevin Beswick kevinbeswick00 at gmail.com
Thu Apr 14 15:53:54 EDT 2011


Hello,

Attached are two patches. The first one contains some unit tests for
the first half of opensrf.js. These make use of the DOH (Dojo
Objective Harness) framework that Dan Scott had put into place in this
commit: http://svn.open-ils.org/trac/OpenSRF/changeset/2217/

The second patch contains a fix for a bug I found in opensrf.js while
writing the unit tests. There were references to arguments that
weren't declared in several of the function declarations. Natually,
many of the unit tests will not pass until this fix is put into place.

Kevin Beswick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf_js_fix.patch
Type: text/x-patch
Size: 3474 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20110414/f618106e/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opensrf_js_tests1.patch
Type: text/x-patch
Size: 13580 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-dev/attachments/20110414/f618106e/attachment-0003.bin 


More information about the Open-ils-dev mailing list