◆ setUp()
ilTestFinalMarkLangVarBuilderTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 18 of file ilTestFinalMarkLangVarBuilderTest.php.
References defined.
20 if (
defined(
'ILIAS_PHPUNIT_CONTEXT')) {
21 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
22 ilUnitUtil::performInitialisation();
24 chdir(dirname(__FILE__));
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
◆ test_build()
ilTestFinalMarkLangVarBuilderTest::test_build |
( |
| ) |
|
Definition at line 29 of file ilTestFinalMarkLangVarBuilderTest.php.
References array.
33 'param_passedStatus' =>
false,
'param_obligationsAnsweredStatus' =>
false,
'param_obligationsEnabled' =>
false,
34 'expected' =>
'mark_tst_failed' 37 'param_passedStatus' =>
false,
'param_obligationsAnsweredStatus' =>
false,
'param_obligationsEnabled' =>
true,
38 'expected' =>
'mark_tst_failed_obligations_missing' 41 'param_passedStatus' =>
false,
'param_obligationsAnsweredStatus' =>
true,
'param_obligationsEnabled' =>
false,
42 'expected' =>
'mark_tst_failed' 45 'param_passedStatus' =>
false,
46 'param_obligationsAnsweredStatus' =>
true,
47 'param_obligationsEnabled' =>
true,
48 'expected' =>
'mark_tst_failed_obligations_answered' 51 'param_passedStatus' =>
true,
52 'param_obligationsAnsweredStatus' =>
false,
53 'param_obligationsEnabled' =>
false,
54 'expected' =>
'mark_tst_passed' 57 'param_passedStatus' =>
true,
58 'param_obligationsAnsweredStatus' =>
false,
59 'param_obligationsEnabled' =>
true,
60 'expected' =>
'mark_tst_failed_obligations_missing' 63 'param_passedStatus' =>
true,
64 'param_obligationsAnsweredStatus' =>
true,
65 'param_obligationsEnabled' =>
false,
66 'expected' =>
'mark_tst_passed' 69 'param_passedStatus' =>
true,
70 'param_obligationsAnsweredStatus' =>
true,
71 'param_obligationsEnabled' =>
true,
72 'expected' =>
'mark_tst_passed_obligations_answered' Create styles array
The data for the language used.
◆ $backupGlobals
ilTestFinalMarkLangVarBuilderTest::$backupGlobals = false |
|
protected |
The documentation for this class was generated from the following file: