ILIAS  release_8 Revision v8.24
ilTestFixedQuestionSetConfigTest Class Reference

Class ilTestFixedQuestionSetConfigTest. More...

+ Inheritance diagram for ilTestFixedQuestionSetConfigTest:
+ Collaboration diagram for ilTestFixedQuestionSetConfigTest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
 testIsQuestionSetConfigured ()
 
 testDoesQuestionSetRelatedDataExist ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 
 setGlobalVariable (string $name, $value)
 
 getGlobalTemplateMock ()
 
 getDatabaseMock ()
 
 getIliasMock ()
 
 addGlobal_ilAccess ()
 
 addGlobal_ilUser ()
 
 addGlobal_objDefinition ()
 
 addGlobal_tree ()
 
 addGlobal_ilSetting ()
 
 addGlobal_rbacsystem ()
 
 addGlobal_ilCtrl ()
 
 addGlobal_lng ()
 
 addGlobal_filesystem ()
 
 addGlobal_upload ()
 
 addGlobal_ilDB ()
 
 addGlobal_ilLog ()
 
 addGlobal_ilias ()
 
 addGlobal_ilErr ()
 
 addGlobal_ilAppEventHandler ()
 
 addGlobal_tpl ()
 
 addGlobal_ilComponentRepository ()
 
 addGlobal_ilTabs ()
 
 addGlobal_ilObjDataCache ()
 
 addGlobal_ilLocator ()
 
 addGlobal_rbacreview ()
 
 addGlobal_ilToolbar ()
 
 addGlobal_http ()
 
 addGlobal_ilIliasIniFile ()
 
 addGlobal_ilLoggerFactory ()
 
 addGlobal_ilHelp ()
 
 addGlobal_ui ()
 
 addGlobal_uiFactory ()
 
 addGlobal_uiRenderer ()
 
 addGlobal_refinery ()
 

Private Attributes

ilTestFixedQuestionSetConfig $testObj
 
 $objTest_mock
 

Additional Inherited Members

- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

Member Function Documentation

◆ setUp()

ilTestFixedQuestionSetConfigTest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 35 of file ilTestFixedQuestionSetConfigTest.php.

35 : void
36 {
37 parent::setUp();
38
39 $this->objTest_mock = $this->createMock(ilObjTest::class);
40
41 $this->testObj = new ilTestFixedQuestionSetConfig(
42 $this->getMockBuilder(ilTree::class)->disableOriginalConstructor()->getMock(),
43 $this->createMock(ilDBInterface::class),
44 $this->createMock(ilComponentRepository::class),
45 $this->objTest_mock
46 );
47 }

◆ test_instantiateObject_shouldReturnInstance()

ilTestFixedQuestionSetConfigTest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 49 of file ilTestFixedQuestionSetConfigTest.php.

49 : void
50 {
51 $this->assertInstanceOf(ilTestFixedQuestionSetConfig::class, $this->testObj);
52 }

◆ testDoesQuestionSetRelatedDataExist()

ilTestFixedQuestionSetConfigTest::testDoesQuestionSetRelatedDataExist ( )

Definition at line 59 of file ilTestFixedQuestionSetConfigTest.php.

59 : void
60 {
61 $this->assertFalse($this->testObj->doesQuestionSetRelatedDataExist());
62 }

◆ testIsQuestionSetConfigured()

ilTestFixedQuestionSetConfigTest::testIsQuestionSetConfigured ( )

Definition at line 54 of file ilTestFixedQuestionSetConfigTest.php.

54 : void
55 {
56 $this->assertFalse($this->testObj->isQuestionSetConfigured());
57 }

Field Documentation

◆ $objTest_mock

ilTestFixedQuestionSetConfigTest::$objTest_mock
private

Definition at line 33 of file ilTestFixedQuestionSetConfigTest.php.

◆ $testObj

ilTestFixedQuestionSetConfig ilTestFixedQuestionSetConfigTest::$testObj
private

Definition at line 29 of file ilTestFixedQuestionSetConfigTest.php.


The documentation for this class was generated from the following file: