ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilTestLearningObjectivesStatusGUITest Class Reference

Class ilTestLearningObjectivesStatusGUITest. More...

+ Inheritance diagram for ilTestLearningObjectivesStatusGUITest:
+ Collaboration diagram for ilTestLearningObjectivesStatusGUITest:

Public Member Functions

 test_instantiateObject_shouldReturnInstance ()
 
 testCrsObjId ()
 
 testUsrId ()
 

Protected Member Functions

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

Private Attributes

ilTestLearningObjectivesStatusGUI $testObj
 

Additional Inherited Members

- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

Member Function Documentation

◆ setUp()

ilTestLearningObjectivesStatusGUITest::setUp ( )
protected

Definition at line 29 of file ilTestLearningObjectivesStatusGUITest.php.

29  : void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilTestLearningObjectivesStatusGUI(
34  $this->createMock(ilLanguage::class),
35  $this->createMock(ilCtrl::class),
36  $this->createMock(ILIAS\UI\Factory::class),
37  $this->createMock(ILIAS\UI\Renderer::class),
38  $this->createMock(ILIAS\Test\RequestDataCollector::class)
39  );
40  }
Interface Observer Contains several chained tasks and infos about them.

◆ test_instantiateObject_shouldReturnInstance()

ilTestLearningObjectivesStatusGUITest::test_instantiateObject_shouldReturnInstance ( )

Definition at line 42 of file ilTestLearningObjectivesStatusGUITest.php.

42  : void
43  {
44  $this->assertInstanceOf(ilTestLearningObjectivesStatusGUI::class, $this->testObj);
45  }

◆ testCrsObjId()

ilTestLearningObjectivesStatusGUITest::testCrsObjId ( )

Definition at line 47 of file ilTestLearningObjectivesStatusGUITest.php.

47  : void
48  {
49  $crsObjId = 1240;
50  $this->testObj->setCrsObjId($crsObjId);
51  $this->assertEquals($crsObjId, $this->testObj->getCrsObjId());
52  }

◆ testUsrId()

ilTestLearningObjectivesStatusGUITest::testUsrId ( )

Definition at line 54 of file ilTestLearningObjectivesStatusGUITest.php.

54  : void
55  {
56  $usrId = 1240;
57  $this->testObj->setUsrId($usrId);
58  $this->assertEquals($usrId, $this->testObj->getUsrId());
59  }

Field Documentation

◆ $testObj

ilTestLearningObjectivesStatusGUI ilTestLearningObjectivesStatusGUITest::$testObj
private

Definition at line 27 of file ilTestLearningObjectivesStatusGUITest.php.


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