ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
SkillInternalProfileFactoryTest Class Reference
+ Inheritance diagram for SkillInternalProfileFactoryTest:
+ Collaboration diagram for SkillInternalProfileFactoryTest:

Public Member Functions

 testFactoryInstances ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

Profile SkillProfileFactory $factory
 
Profile SkillProfile $profile
 
Profile SkillProfileLevel $profile_level
 
Profile SkillProfileCompletion $profile_completion
 
Profile SkillProfileUserAssignment $profile_user_assignment
 
Profile SkillProfileRoleAssignment $profile_role_assignment
 

Detailed Description

Member Function Documentation

◆ setUp()

SkillInternalProfileFactoryTest::setUp ( )
protected

Definition at line 37 of file SkillInternalProfileFactoryTest.php.

References ILIAS\Repository\profile().

37  : void
38  {
39  parent::setUp();
40 
41  $this->factory = new Profile\SkillProfileFactory();
42 
43  $this->profile = $this->factory->profile(0, "", "", 0);
44  $this->profile_level = $this->factory->profileLevel(0, 0, 0, 0, 0);
45  $this->profile_completion = $this->factory->profileCompletion(0, 0, "", false);
46  $this->profile_user_assignment = $this->factory->profileUserAssignment("", 0);
47  $this->profile_role_assignment = $this->factory->profileRoleAssignment("", 0, "", "", 0);
48  }
+ Here is the call graph for this function:

◆ testFactoryInstances()

SkillInternalProfileFactoryTest::testFactoryInstances ( )

Definition at line 50 of file SkillInternalProfileFactoryTest.php.

References ILIAS\Repository\profile().

50  : void
51  {
52  $this->assertInstanceOf(Profile\SkillProfile::class, $this->profile);
53  $this->assertInstanceOf(Profile\SkillProfileLevel::class, $this->profile_level);
54  $this->assertInstanceOf(Profile\SkillProfileCompletion::class, $this->profile_completion);
55  $this->assertInstanceOf(Profile\SkillProfileUserAssignment::class, $this->profile_user_assignment);
56  $this->assertInstanceOf(Profile\SkillProfileRoleAssignment::class, $this->profile_role_assignment);
57  }
+ Here is the call graph for this function:

Field Documentation

◆ $factory

Profile SkillProfileFactory SkillInternalProfileFactoryTest::$factory
protected

Definition at line 30 of file SkillInternalProfileFactoryTest.php.

◆ $profile

Profile SkillProfile SkillInternalProfileFactoryTest::$profile
protected

Definition at line 31 of file SkillInternalProfileFactoryTest.php.

◆ $profile_completion

Profile SkillProfileCompletion SkillInternalProfileFactoryTest::$profile_completion
protected

Definition at line 33 of file SkillInternalProfileFactoryTest.php.

◆ $profile_level

Profile SkillProfileLevel SkillInternalProfileFactoryTest::$profile_level
protected

Definition at line 32 of file SkillInternalProfileFactoryTest.php.

◆ $profile_role_assignment

Profile SkillProfileRoleAssignment SkillInternalProfileFactoryTest::$profile_role_assignment
protected

Definition at line 35 of file SkillInternalProfileFactoryTest.php.

◆ $profile_user_assignment

Profile SkillProfileUserAssignment SkillInternalProfileFactoryTest::$profile_user_assignment
protected

Definition at line 34 of file SkillInternalProfileFactoryTest.php.


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