ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class CaseOfLabelTest. More...
Public Member Functions | |
testTransform1 () | |
testTransform2 () | |
testTransform3 () | |
testTransformFails () | |
testInvoke () | |
testInvokeFails () | |
testApplyToWithValidValueReturnsAnOkResult () | |
testApplyToWithInvalidValueWillLeadToErrorResult () | |
testUnknownLanguageKey () | |
Data Fields | |
const | LANGUAGE_KEY = "en" |
const | SENSELESS_LANGUAGE_KEY = "this_language_key_will_never_exist" |
const | TEST_STRING_1 = "I am a test string for the title capitalization and I hope that works even if it is complicated :)" |
const | TEST_STRING_2 = "I switch the computer on and go online" |
const | TEST_STRING_3 = "Now it is working" |
const | EXPECTED_RESULT_TEST_STRING_1 = "I Am a Test String for the Title Capitalization and I Hope that Works even if It Is Complicated :)" |
const | EXPECTED_RESULT_TEST_STRING_2 = "I Switch the Computer on and Go Online" |
const | EXPECTED_RESULT_TEST_STRING_3 = "Now It Is Working" |
Protected Member Functions | |
setUp () | |
tearDown () | |
Protected Attributes | |
$case_of_label_if_possible | |
$f | |
Class CaseOfLabelTest.
Definition at line 15 of file CaseOfLabelTest.php.
|
protected |
Definition at line 38 of file CaseOfLabelTest.php.
|
protected |
Definition at line 52 of file CaseOfLabelTest.php.
CaseOfLabelTest::testApplyToWithInvalidValueWillLeadToErrorResult | ( | ) |
Definition at line 194 of file CaseOfLabelTest.php.
References $factory.
CaseOfLabelTest::testApplyToWithValidValueReturnsAnOkResult | ( | ) |
Definition at line 178 of file CaseOfLabelTest.php.
References $factory.
CaseOfLabelTest::testInvoke | ( | ) |
Definition at line 129 of file CaseOfLabelTest.php.
References $case_of_label_if_possible.
CaseOfLabelTest::testInvokeFails | ( | ) |
Definition at line 142 of file CaseOfLabelTest.php.
References $case_of_label_if_possible, and Vendor\Package\$e.
CaseOfLabelTest::testTransform1 | ( | ) |
Definition at line 62 of file CaseOfLabelTest.php.
CaseOfLabelTest::testTransform2 | ( | ) |
Definition at line 73 of file CaseOfLabelTest.php.
CaseOfLabelTest::testTransform3 | ( | ) |
Definition at line 84 of file CaseOfLabelTest.php.
CaseOfLabelTest::testTransformFails | ( | ) |
Definition at line 95 of file CaseOfLabelTest.php.
References Vendor\Package\$e.
CaseOfLabelTest::testUnknownLanguageKey | ( | ) |
Definition at line 209 of file CaseOfLabelTest.php.
References Vendor\Package\$e.
|
protected |
Definition at line 28 of file CaseOfLabelTest.php.
Referenced by testInvoke(), and testInvokeFails().
|
protected |
Definition at line 32 of file CaseOfLabelTest.php.
const CaseOfLabelTest::EXPECTED_RESULT_TEST_STRING_1 = "I Am a Test String for the Title Capitalization and I Hope that Works even if It Is Complicated :)" |
Definition at line 22 of file CaseOfLabelTest.php.
const CaseOfLabelTest::EXPECTED_RESULT_TEST_STRING_2 = "I Switch the Computer on and Go Online" |
Definition at line 23 of file CaseOfLabelTest.php.
const CaseOfLabelTest::EXPECTED_RESULT_TEST_STRING_3 = "Now It Is Working" |
Definition at line 24 of file CaseOfLabelTest.php.
const CaseOfLabelTest::LANGUAGE_KEY = "en" |
Definition at line 17 of file CaseOfLabelTest.php.
const CaseOfLabelTest::SENSELESS_LANGUAGE_KEY = "this_language_key_will_never_exist" |
Definition at line 18 of file CaseOfLabelTest.php.
const CaseOfLabelTest::TEST_STRING_1 = "I am a test string for the title capitalization and I hope that works even if it is complicated :)" |
Definition at line 19 of file CaseOfLabelTest.php.
const CaseOfLabelTest::TEST_STRING_2 = "I switch the computer on and go online" |
Definition at line 20 of file CaseOfLabelTest.php.
const CaseOfLabelTest::TEST_STRING_3 = "Now it is working" |
Definition at line 21 of file CaseOfLabelTest.php.