ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilMyTestSolutionsGUITest Class Reference

Class ilMyTestSolutionsGUITest. More...

+ Inheritance diagram for ilMyTestSolutionsGUITest:
+ Collaboration diagram for ilMyTestSolutionsGUITest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
- Public Member Functions inherited from ilTestBaseTestCase
 createInstanceOf (string $class_name, array $explicit_parameters=[])
 
 createTraitInstanceOf (string $class_name, array $explicit_parameters=[])
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 

Private Attributes

ilMyTestSolutionsGUI $testObj
 
ilObjTest $test
 
ilTestAccess $access
 
ilTestObjectiveOrientedContainer $objective_parent
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
static getNonPublicPropertyValue (object $obj, string $name)
 
- Data Fields inherited from ilTestBaseTestCase
const string MOCKED_METHOD_WITHOUT_OUTPUT = 'MOCKED_METHOD_WITHOUT_OUTPUT'
 
const string DYNAMIC_CLASS = 'DynamicClass'
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 
Container $backup_dic = null
 
- Static Protected Attributes inherited from ilTestBaseTestCase
static int $DYNAMIC_CLASS_COUNT = 0
 

Detailed Description

Member Function Documentation

◆ setUp()

ilMyTestSolutionsGUITest::setUp ( )
protected

Reimplemented from ilTestBaseTestCase.

Definition at line 32 of file ilMyTestSolutionsGUITest.php.

32 : void
33 {
34 parent::setUp();
35
36 $this->test = $this->getTestObjMock();
37 $this->access = $this->createMock(ilTestAccess::class);
38 $this->objective_parent = $this->createMock(ilTestObjectiveOrientedContainer::class);
39 $this->testObj = new ilMyTestSolutionsGUI(
40 $this->test,
41 $this->access,
42 $this->objective_parent,
43 $this->createMock(ilLanguage::class),
44 $this->createMock(ilCtrlInterface::class),
45 $this->createMock(ilGlobalTemplateInterface::class),
46 $this->createMock(ILIAS\TestQuestionPool\Questions\GeneralQuestionPropertiesRepository::class),
47 $this->createMock(\ILIAS\Test\RequestDataCollector::class)
48 );
49 }
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.

References ILIAS\Repository\access(), and getTestObjMock().

+ Here is the call graph for this function:

◆ test_instantiateObject_shouldReturnInstance()

ilMyTestSolutionsGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 51 of file ilMyTestSolutionsGUITest.php.

51 : void
52 {
53 $this->assertInstanceOf(ilMyTestSolutionsGUI::class, $this->testObj);
54 }

Field Documentation

◆ $access

ilTestAccess ilMyTestSolutionsGUITest::$access
private

Definition at line 29 of file ilMyTestSolutionsGUITest.php.

◆ $objective_parent

ilTestObjectiveOrientedContainer ilMyTestSolutionsGUITest::$objective_parent
private

Definition at line 30 of file ilMyTestSolutionsGUITest.php.

◆ $test

ilObjTest ilMyTestSolutionsGUITest::$test
private

Definition at line 28 of file ilMyTestSolutionsGUITest.php.

◆ $testObj

ilMyTestSolutionsGUI ilMyTestSolutionsGUITest::$testObj
private

Definition at line 27 of file ilMyTestSolutionsGUITest.php.


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