ILIAS
release_8 Revision v8.19-1-g4e8f2f9140c
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
testSimpleRatedFormulaQuestionCalculations (assFormulaQuestionResult $result, array $variables, array $results, $userResult, $userResultUnit, $expectedResult) | |
simpleRatedCalculationsData More... | |
simpleRatedCalculationsData () | |
Protected Member Functions | |
setUp () | |
tearDown () | |
![]() | |
setUp () | |
tearDown () | |
setGlobalVariable (string $name, $value) | |
getGlobalTemplateMock () | |
getDatabaseMock () | |
getIliasMock () | |
Protected Attributes | |
$backupGlobals = false | |
$backup_dic | |
![]() | |
Container | $dic = null |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Unit tests
Definition at line 28 of file assFormulaQuestionTest.php.
|
protected |
Definition at line 33 of file assFormulaQuestionTest.php.
References $lng, and assBaseTestCase\setGlobalVariable().
assFormulaQuestionTest::simpleRatedCalculationsData | ( | ) |
Definition at line 75 of file assFormulaQuestionTest.php.
References $DIC, $results, assFormulaQuestionResult\RESULT_CO_FRAC, assFormulaQuestionResult\RESULT_DEC, assFormulaQuestionResult\RESULT_FRAC, and assFormulaQuestionResult\RESULT_NO_SELECTION.
|
protected |
assFormulaQuestionTest::testSimpleRatedFormulaQuestionCalculations | ( | assFormulaQuestionResult | $result, |
array | $variables, | ||
array | $results, | ||
$userResult, | |||
$userResultUnit, | |||
$expectedResult | |||
) |
simpleRatedCalculationsData
assFormulaQuestionResult | $result | |
assFormulaQuestionVariable[] | $variables | |
assFormulaQuestionUnit[] | $results | |
string | $userResult | |
assFormulaQuestionUnit | null | $userResultUnit | |
bool | $expectedResult |
Definition at line 60 of file assFormulaQuestionTest.php.
References assFormulaQuestionResult\isCorrect().
|
protected |
Definition at line 31 of file assFormulaQuestionTest.php.
Referenced by tearDown().
|
protected |
Definition at line 30 of file assFormulaQuestionTest.php.