Jonathan Putney
1a5d8d3241
Only allowing 'not attempted' when CMI has not been initialized
2021-04-19 15:50:35 -04:00
Jonathan Putney
6d1eabc3fc
Updating dependencies, fixing cmi.core.lesson_status for 'not attempted'
2021-04-19 15:38:28 -04:00
Jonathan Putney
3103707aec
cmi.core.suspend_data vs. cmi.suspend_data
...
It seems to be a common issue that some SCORM 1.2 modules are trying to store "suspend_data" in cmi.core.suspend_data instead of cmi.suspend_data, which is actually the correct field according to the spec. We're still only storing it once, but will allow getting and setting from cmi.core.suspend_data. Exported JSON will continue to only output spec compliant data.
2020-02-06 12:35:49 -05:00
Jonathan Putney
ccf1f7b4b7
Adding some additional AICC CMI parameters
2020-01-16 08:58:46 -05:00
Jonathan Putney
7882608fb6
Rework of constants and some additional tests
2020-01-15 12:21:57 -05:00
Jonathan Putney
175dec5dc8
Fixing build
2020-01-09 09:40:37 -05:00
Jonathan Putney
7954e2a083
Merge branch 'master' of https://github.com/jcputney/scorm-again
2020-01-09 09:37:58 -05:00
Jonathan Putney
d460053cbb
Moving field values to test src
2020-01-09 09:36:08 -05:00
Jonathan Putney
6e4f2e3663
Removing total_time from JSON export, unless it's for the final commit
2019-12-26 14:36:36 -05:00
Jonathan Putney
1257df6d18
Storing data on terminate/finish and calling listeners for LMS sequencing
2019-11-19 12:16:31 -05:00
Jonathan Putney
8e6f6c47e9
Working on the saving of data
2019-11-15 17:24:30 -05:00
Jonathan Putney
7cdbf4c4c0
Fixing a few tests
2019-11-14 21:53:32 -05:00
Jonathan Putney
929176fb3e
More tests and fixes
2019-11-14 16:07:42 -05:00
Jonathan Putney
ce503a25cb
Adding more API tests
2019-11-14 14:50:49 -05:00
Jonathan Putney
6dc512ba1f
Initial API tests
2019-11-13 23:07:28 -05:00
Jonathan Putney
755259afdf
More test cases and breaking out valid/invalid values to be reusable
2019-11-13 13:09:01 -05:00
Jonathan Putney
c123059d4e
Working on compiling documentation
2019-11-12 22:10:23 -05:00
Jonathan Putney
d2cc923f94
More CMI tests
2019-11-12 21:41:39 -05:00
Jonathan Putney
b427943036
More test cases
2019-11-12 14:59:01 -05:00
Jonathan Putney
b294496cb5
Test code cleanup, and starting SCORM 2004 CMI tests
2019-11-12 13:42:04 -05:00
Jonathan Putney
9e8896fa32
Removed circular dependencies between APIs and CMI objects
...
No longer directly setting error codes on the API when a read/write or data validation fails, throwing exceptions instead that can then be caught by the APi.
2019-11-12 11:17:41 -05:00
Jonathan Putney
73ff260097
AICC CMI Tests
2019-11-11 22:12:29 -05:00
Jonathan Putney
2f5c9804c9
Fixing eslint issues, and still working on test cases
2019-11-11 15:05:02 -05:00