ILIAS  trunk Revision v11.0_alpha-1702-gfd3ecb7f852
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilDBStepReaderTest Class Reference
+ Inheritance diagram for ilDBStepReaderTest:
+ Collaboration diagram for ilDBStepReaderTest:

Public Member Functions

 testObjectCreation ()
 
 test_getLatestStepNumber ()
 
 test_readSteps ()
 

Detailed Description

Definition at line 61 of file ilDBStepReaderTest.php.

Member Function Documentation

◆ test_getLatestStepNumber()

ilDBStepReaderTest::test_getLatestStepNumber ( )

Definition at line 69 of file ilDBStepReaderTest.php.

69  : void
70  {
71  $obj = new ilDBStepReaderTestObject();
72  $this->assertEquals(4, $obj->getLatestStepNumber(Test_ilDBStepReader::class, "step_"));
73  }

◆ test_readSteps()

ilDBStepReaderTest::test_readSteps ( )

Definition at line 75 of file ilDBStepReaderTest.php.

75  : void
76  {
77  $obj = new ilDBStepReaderTestObject();
78  $result = $obj->readStepNumbers(Test_ilDBStepReader::class, "step_");
79 
80  $this->assertIsArray($result);
81  $this->assertEquals(1, $result[0]);
82  $this->assertEquals(2, $result[1]);
83  $this->assertEquals(4, $result[2]);
84  }

◆ testObjectCreation()

ilDBStepReaderTest::testObjectCreation ( )

Definition at line 63 of file ilDBStepReaderTest.php.

63  : void
64  {
65  $obj = new ilDBStepReader();
66  $this->assertInstanceOf(ilDBStepReader::class, $obj);
67  }

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