◆ setUp()
ilCertificateTypeClassMapTest::setUp |
( |
| ) |
|
|
protected |
◆ testFetchCoursePlaceHolderClass()
ilCertificateTypeClassMapTest::testFetchCoursePlaceHolderClass |
( |
| ) |
|
Definition at line 33 of file ilCertificateTypeClassMapTest.php.
35 $class = $this->classMap->getPlaceHolderClassNameByType(
'crs');
37 $this->assertSame(ilCoursePlaceholderValues::class, $class);
◆ testFetchExercisePlaceHolderClass()
ilCertificateTypeClassMapTest::testFetchExercisePlaceHolderClass |
( |
| ) |
|
Definition at line 47 of file ilCertificateTypeClassMapTest.php.
49 $class = $this->classMap->getPlaceHolderClassNameByType(
'exc');
51 $this->assertSame(ilExercisePlaceholderValues::class, $class);
◆ testFetchScormPlaceHolderClass()
ilCertificateTypeClassMapTest::testFetchScormPlaceHolderClass |
( |
| ) |
|
Definition at line 54 of file ilCertificateTypeClassMapTest.php.
56 $class = $this->classMap->getPlaceHolderClassNameByType(
'sahs');
58 $this->assertSame(ilScormPlaceholderValues::class, $class);
◆ testFetchTestPlaceHolderClass()
ilCertificateTypeClassMapTest::testFetchTestPlaceHolderClass |
( |
| ) |
|
Definition at line 40 of file ilCertificateTypeClassMapTest.php.
42 $class = $this->classMap->getPlaceHolderClassNameByType(
'tst');
44 $this->assertSame(ilTestPlaceholderValues::class, $class);
◆ testFetchUnknownClassWillResultInException()
ilCertificateTypeClassMapTest::testFetchUnknownClassWillResultInException |
( |
| ) |
|
Definition at line 61 of file ilCertificateTypeClassMapTest.php.
63 $this->expectException(ilException::class);
65 $class = $this->classMap->getPlaceHolderClassNameByType(
'something');
67 $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: