-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #313 from oat-sa/release-2.17.0
Release 2.17.0
- Loading branch information
Showing
71 changed files
with
8,175 additions
and
88 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
/** | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; under version 2 | ||
* of the License (non-upgradable). | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
* | ||
* Copyright (c) 2015 (original work) Open Assessment Technologies SA; | ||
* | ||
* | ||
*/ | ||
|
||
return new oat\taoQtiTest\models\runner\QtiRunnerService(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
/** | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; under version 2 | ||
* of the License (non-upgradable). | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
* | ||
* Copyright (c) 2016 (original work) Open Assessment Technologies SA ; | ||
*/ | ||
/** | ||
* @author Jean-Sébastien Conan <[email protected]> | ||
*/ | ||
|
||
namespace oat\taoQtiTest\models\runner; | ||
|
||
use qtism\runtime\tests\AssessmentTestSessionState; | ||
|
||
class QtiRunnerClosedException extends \common_Exception implements \common_exception_UserReadableException | ||
{ | ||
/** | ||
* Create a new QtiRunnerClosedException object. | ||
* | ||
* @param string $message A technical infiormation message. | ||
* @param integer $code A code to explicitely identify the nature of the error. | ||
*/ | ||
public function __construct($message = 'The test has been terminated', $code = AssessmentTestSessionState::CLOSED) { | ||
parent::__construct($message, $code); | ||
} | ||
|
||
/** | ||
* Returns a translated human-readable message destinated to the end-user. | ||
* | ||
* @return string A human-readable message. | ||
*/ | ||
public function getUserMessage() { | ||
return __('This test has been terminated'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
/** | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License | ||
* as published by the Free Software Foundation; under version 2 | ||
* of the License (non-upgradable). | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
* | ||
* Copyright (c) 2016 (original work) Open Assessment Technologies SA ; | ||
*/ | ||
/** | ||
* @author Jean-Sébastien Conan <[email protected]> | ||
*/ | ||
|
||
namespace oat\taoQtiTest\models\runner; | ||
|
||
use qtism\runtime\tests\AssessmentTestSessionState; | ||
|
||
class QtiRunnerPausedException extends \common_Exception implements \common_exception_UserReadableException | ||
{ | ||
/** | ||
* Create a new QtiRunnerClosedException object. | ||
* | ||
* @param string $message A technical infiormation message. | ||
* @param integer $code A code to explicitely identify the nature of the error. | ||
*/ | ||
public function __construct($message = 'The test has been suspended', $code = AssessmentTestSessionState::SUSPENDED) { | ||
parent::__construct($message, $code); | ||
} | ||
|
||
/** | ||
* Returns a translated human-readable message destinated to the end-user. | ||
* | ||
* @return string A human-readable message. | ||
*/ | ||
public function getUserMessage() { | ||
return __('This test has been suspended'); | ||
} | ||
} |
Oops, something went wrong.