◆ setUp()
ilTestFinalMarkLangVarBuilderTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 18 of file ilTestFinalMarkLangVarBuilderTest.php.
References defined.
20 if (
defined(
'ILIAS_PHPUNIT_CONTEXT'))
22 include_once(
"./Services/PHPUnit/classes/class.ilUnitUtil.php");
23 ilUnitUtil::performInitialisation();
27 chdir( dirname( __FILE__ ) );
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
◆ test_build()
ilTestFinalMarkLangVarBuilderTest::test_build |
( |
| ) |
|
Definition at line 32 of file ilTestFinalMarkLangVarBuilderTest.php.
References array.
36 'param_passedStatus' =>
false,
'param_obligationsAnsweredStatus' =>
false,
'param_obligationsEnabled' =>
false,
37 'expected' =>
'mark_tst_failed' 40 'param_passedStatus' =>
false,
'param_obligationsAnsweredStatus' =>
false,
'param_obligationsEnabled' =>
true,
41 'expected' =>
'mark_tst_failed_obligations_missing' 44 'param_passedStatus' =>
false,
'param_obligationsAnsweredStatus' =>
true,
'param_obligationsEnabled' =>
false,
45 'expected' =>
'mark_tst_failed' 48 'param_passedStatus' =>
false,
49 'param_obligationsAnsweredStatus' =>
true,
50 'param_obligationsEnabled' =>
true,
51 'expected' =>
'mark_tst_failed_obligations_answered' 54 'param_passedStatus' =>
true,
55 'param_obligationsAnsweredStatus' =>
false,
56 'param_obligationsEnabled' =>
false,
57 'expected' =>
'mark_tst_passed' 60 'param_passedStatus' =>
true,
61 'param_obligationsAnsweredStatus' =>
false,
62 'param_obligationsEnabled' =>
true,
63 'expected' =>
'mark_tst_failed_obligations_missing' 66 'param_passedStatus' =>
true,
67 'param_obligationsAnsweredStatus' =>
true,
68 'param_obligationsEnabled' =>
false,
69 'expected' =>
'mark_tst_passed' 72 'param_passedStatus' =>
true,
73 'param_obligationsAnsweredStatus' =>
true,
74 'param_obligationsEnabled' =>
true,
75 '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: