ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
All Data Structures Namespaces Files Functions Variables Modules Pages
ilStudyProgrammeAdvancedMetadataRecordTest Class Reference

needsInstalledILIAS More...

+ Inheritance diagram for ilStudyProgrammeAdvancedMetadataRecordTest:
+ Collaboration diagram for ilStudyProgrammeAdvancedMetadataRecordTest:

Public Member Functions

 test_init_and_id ()
 
 test_type_id ($amd)
 test_init_and_id More...
 
 test_rec_id ($amd)
 test_init_and_id More...
 

Protected Attributes

 $backupGlobals = false
 

Detailed Description

needsInstalledILIAS

Definition at line 6 of file ilStudyProgrammeAdvancedMetadataRecordTest.php.

Member Function Documentation

◆ test_init_and_id()

ilStudyProgrammeAdvancedMetadataRecordTest::test_init_and_id ( )

Definition at line 10 of file ilStudyProgrammeAdvancedMetadataRecordTest.php.

11  {
13  $this->assertEquals($amd->getId(), 123);
14  return $amd;
15  }

◆ test_rec_id()

ilStudyProgrammeAdvancedMetadataRecordTest::test_rec_id (   $amd)

test_init_and_id

Definition at line 30 of file ilStudyProgrammeAdvancedMetadataRecordTest.php.

31  {
32  $this->assertEquals(0, $amd->getRecId());
33  $amd->setRecId(321);
34  $this->assertEquals(321, $amd->getRecId());
35  }

◆ test_type_id()

ilStudyProgrammeAdvancedMetadataRecordTest::test_type_id (   $amd)

test_init_and_id

Definition at line 20 of file ilStudyProgrammeAdvancedMetadataRecordTest.php.

21  {
22  $this->assertEquals(0, $amd->getTypeId());
23  $amd->setTypeId(123);
24  $this->assertEquals(123, $amd->getTypeId());
25  }

Field Documentation

◆ $backupGlobals

ilStudyProgrammeAdvancedMetadataRecordTest::$backupGlobals = false
protected

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