Updating tests for modules/splitting off state machine into its own module.
* Remove the state machine from the dialog module. * Add unit tests for the state machine. * The state machine has the ability to cancel any stage and go to the previous stage. * All cancel_* messages are now "cancel_stage" for uniformity. * Update all unit tests to create then start their modules.
Showing
- resources/static/dialog/controllers/addemail.js 1 addition, 1 deletionresources/static/dialog/controllers/addemail.js
- resources/static/dialog/controllers/authenticate.js 2 additions, 0 deletionsresources/static/dialog/controllers/authenticate.js
- resources/static/dialog/controllers/checkregistration.js 4 additions, 1 deletionresources/static/dialog/controllers/checkregistration.js
- resources/static/dialog/controllers/dialog.js 59 additions, 161 deletionsresources/static/dialog/controllers/dialog.js
- resources/static/dialog/controllers/forgotpassword.js 1 addition, 1 deletionresources/static/dialog/controllers/forgotpassword.js
- resources/static/dialog/controllers/page.js 1 addition, 1 deletionresources/static/dialog/controllers/page.js
- resources/static/dialog/controllers/pickemail.js 6 additions, 0 deletionsresources/static/dialog/controllers/pickemail.js
- resources/static/dialog/css/popup.css 0 additions, 10 deletionsresources/static/dialog/css/popup.css
- resources/static/dialog/dialog.js 1 addition, 0 deletionsresources/static/dialog/dialog.js
- resources/static/dialog/resources/state_machine.js 182 additions, 0 deletionsresources/static/dialog/resources/state_machine.js
- resources/static/shared/network.js 3 additions, 3 deletionsresources/static/shared/network.js
- resources/static/test/qunit/controllers/addemail_unit_test.js 3 additions, 2 deletions...urces/static/test/qunit/controllers/addemail_unit_test.js
- resources/static/test/qunit/controllers/authenticate_unit_test.js 3 additions, 1 deletion...s/static/test/qunit/controllers/authenticate_unit_test.js
- resources/static/test/qunit/controllers/checkregistration_unit_test.js 5 additions, 6 deletions...tic/test/qunit/controllers/checkregistration_unit_test.js
- resources/static/test/qunit/controllers/forgotpassword_unit_test.js 4 additions, 4 deletions...static/test/qunit/controllers/forgotpassword_unit_test.js
- resources/static/test/qunit/controllers/page_unit_test.js 6 additions, 9 deletionsresources/static/test/qunit/controllers/page_unit_test.js
- resources/static/test/qunit/controllers/pickemail_unit_test.js 2 additions, 1 deletion...rces/static/test/qunit/controllers/pickemail_unit_test.js
- resources/static/test/qunit/controllers/required_email_unit_test.js 2 additions, 1 deletion...static/test/qunit/controllers/required_email_unit_test.js
- resources/static/test/qunit/qunit.js 33 additions, 23 deletionsresources/static/test/qunit/qunit.js
- resources/static/test/qunit/resources/state_machine_unit_test.js 244 additions, 0 deletions...es/static/test/qunit/resources/state_machine_unit_test.js
Loading
Please register or sign in to comment