Definition at line 23 of file LSLearnerItemTest.php.
◆ setUp()
LSLearnerItemTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 39 of file LSLearnerItemTest.php.
A PostCondition does restrict the progression of a user through the learning sequence.
◆ testCreate()
LSLearnerItemTest::testCreate |
( |
| ) |
|
Definition at line 44 of file LSLearnerItemTest.php.
53 $this->post_condition,
61 self::AVAILABILITY_STATUS,
65 $this->assertEquals(self::USER_ID, $object->getUserId());
66 $this->assertEquals(self::LP_STATUS, $object->getLearningProgressStatus());
67 $this->assertEquals(self::AVAILABILITY_STATUS, $object->getAvailability());
Data holding class LSItem .
Add learning progress and availability information to the LSItem.
◆ testTurnedOffWithOnline()
LSLearnerItemTest::testTurnedOffWithOnline |
( |
LSItem |
$object | ) |
|
◆ testTurnedOffWithOrderNumber()
LSLearnerItemTest::testTurnedOffWithOrderNumber |
( |
LSItem |
$object | ) |
|
◆ testTurnedOffWithPostCondition()
LSLearnerItemTest::testTurnedOffWithPostCondition |
( |
LSItem |
$object | ) |
|
◆ $post_condition
◆ AVAILABILITY_STATUS
const LSLearnerItemTest::AVAILABILITY_STATUS = 3 |
◆ DESC
const LSLearnerItemTest::DESC = "description" |
◆ ICON_PATH
const LSLearnerItemTest::ICON_PATH = "icon_path" |
◆ IS_ONLINE
const LSLearnerItemTest::IS_ONLINE = true |
◆ LP_MODE
const LSLearnerItemTest::LP_MODE = 3 |
◆ LP_STATUS
const LSLearnerItemTest::LP_STATUS = 2 |
◆ ORDER_NUMBER
const LSLearnerItemTest::ORDER_NUMBER = 10 |
◆ REF_ID
const LSLearnerItemTest::REF_ID = 30 |
◆ TITLE
const LSLearnerItemTest::TITLE = "tile" |
◆ TYPE
const LSLearnerItemTest::TYPE = "type" |
◆ USER_ID
const LSLearnerItemTest::USER_ID = 6 |
The documentation for this class was generated from the following file: