-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hardcoded compilation to version 2.2. #1901
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing bump version commit
@@ -476,7 +476,7 @@ protected function compactTest() | |||
$resolver = new taoQtiTest_helpers_ItemResolver(Service::singleton()); | |||
$originalDoc = $testService->getDoc($test); | |||
|
|||
$compiledDoc = XmlCompactDocument::createFromXmlAssessmentTestDocument($originalDoc, $resolver, $resolver); | |||
$compiledDoc = XmlCompactDocument::createFromXmlAssessmentTestDocument($originalDoc, $resolver, $resolver, '2.2'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i would go for a constant that will describe the new added value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a constant.
also please update the test in such way it will reflect the change |
I added tests for the branching, precondition and linearity for new versions of QTI Compact. |
This PR allows test compilation to QTI Compact 2.2.
Thorough tests have been done on the branch itself, along with the counterpart in extension-tao-itemqti.
This PR requires oat-sa/extension-tao-itemqti#1516