◆ setUp()
ilCertificateTypeClassMapTest::setUp |
( |
| ) |
|
|
protected |
◆ testFetchCoursePlaceHolderClass()
ilCertificateTypeClassMapTest::testFetchCoursePlaceHolderClass |
( |
| ) |
|
Definition at line 34 of file ilCertificateTypeClassMapTest.php.
36 $class = $this->classMap->getPlaceHolderClassNameByType(
'crs');
38 $this->assertSame(CoursePlaceholderValues::class, $class);
◆ testFetchExercisePlaceHolderClass()
ilCertificateTypeClassMapTest::testFetchExercisePlaceHolderClass |
( |
| ) |
|
Definition at line 48 of file ilCertificateTypeClassMapTest.php.
50 $class = $this->classMap->getPlaceHolderClassNameByType(
'exc');
52 $this->assertSame(ExercisePlaceholderValues::class, $class);
◆ testFetchScormPlaceHolderClass()
ilCertificateTypeClassMapTest::testFetchScormPlaceHolderClass |
( |
| ) |
|
Definition at line 55 of file ilCertificateTypeClassMapTest.php.
57 $class = $this->classMap->getPlaceHolderClassNameByType(
'sahs');
59 $this->assertSame(ilScormPlaceholderValues::class, $class);
◆ testFetchTestPlaceHolderClass()
ilCertificateTypeClassMapTest::testFetchTestPlaceHolderClass |
( |
| ) |
|
Definition at line 41 of file ilCertificateTypeClassMapTest.php.
43 $class = $this->classMap->getPlaceHolderClassNameByType(
'tst');
45 $this->assertSame(TestPlaceholderValues::class, $class);
◆ testFetchUnknownClassWillResultInException()
ilCertificateTypeClassMapTest::testFetchUnknownClassWillResultInException |
( |
| ) |
|
Definition at line 62 of file ilCertificateTypeClassMapTest.php.
64 $this->expectException(ilException::class);
66 $this->classMap->getPlaceHolderClassNameByType(
'something');
68 $this->fail(
'Should never happen. No Exception thrown?');
◆ testIsCourseExisting()
ilCertificateTypeClassMapTest::testIsCourseExisting |
( |
| ) |
|
◆ testIsExerciseExisting()
ilCertificateTypeClassMapTest::testIsExerciseExisting |
( |
| ) |
|
◆ testIsTestExisting()
ilCertificateTypeClassMapTest::testIsTestExisting |
( |
| ) |
|
◆ testUnknownTypeIsNotExisting()
ilCertificateTypeClassMapTest::testUnknownTypeIsNotExisting |
( |
| ) |
|
◆ $classMap
The documentation for this class was generated from the following file: