◆ setUp()
| ilCertificateTypeClassMapTest::setUp |
( |
| ) |
|
|
protected |
◆ testFetchCoursePlaceHolderClass()
| ilCertificateTypeClassMapTest::testFetchCoursePlaceHolderClass |
( |
| ) |
|
Definition at line 37 of file ilCertificateTypeClassMapTest.php.
39 $class = $this->classMap->getPlaceHolderClassNameByType(
'crs');
41 $this->assertSame(CoursePlaceholderValues::class, $class);
◆ testFetchExercisePlaceHolderClass()
| ilCertificateTypeClassMapTest::testFetchExercisePlaceHolderClass |
( |
| ) |
|
Definition at line 51 of file ilCertificateTypeClassMapTest.php.
53 $class = $this->classMap->getPlaceHolderClassNameByType(
'exc');
55 $this->assertSame(ExercisePlaceholderValues::class, $class);
◆ testFetchScormPlaceHolderClass()
| ilCertificateTypeClassMapTest::testFetchScormPlaceHolderClass |
( |
| ) |
|
Definition at line 58 of file ilCertificateTypeClassMapTest.php.
60 $class = $this->classMap->getPlaceHolderClassNameByType(
'sahs');
62 $this->assertSame(ilScormPlaceholderValues::class, $class);
◆ testFetchTestPlaceHolderClass()
| ilCertificateTypeClassMapTest::testFetchTestPlaceHolderClass |
( |
| ) |
|
Definition at line 44 of file ilCertificateTypeClassMapTest.php.
46 $class = $this->classMap->getPlaceHolderClassNameByType(
'tst');
48 $this->assertSame(TestPlaceholderValues::class, $class);
◆ testFetchUnknownClassWillResultInException()
| ilCertificateTypeClassMapTest::testFetchUnknownClassWillResultInException |
( |
| ) |
|
Definition at line 65 of file ilCertificateTypeClassMapTest.php.
67 $this->expectException(ilException::class);
69 $this->classMap->getPlaceHolderClassNameByType(
'something');
71 $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: