ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ILIAS\Skill\Profile\SkillInternalProfileFactoryTest Class Reference
+ Inheritance diagram for ILIAS\Skill\Profile\SkillInternalProfileFactoryTest:
+ Collaboration diagram for ILIAS\Skill\Profile\SkillInternalProfileFactoryTest:

Public Member Functions

 testFactoryInstances ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

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

Detailed Description

Member Function Documentation

◆ setUp()

ILIAS\Skill\Profile\SkillInternalProfileFactoryTest::setUp ( )
protected

Definition at line 37 of file SkillInternalProfileFactoryTest.php.

References factory(), and ILIAS\Repository\profile().

37  : void
38  {
39  parent::setUp();
40 
41  $this->factory = new 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  }
factory()
+ Here is the call graph for this function:

◆ testFactoryInstances()

ILIAS\Skill\Profile\SkillInternalProfileFactoryTest::testFactoryInstances ( )

Definition at line 50 of file SkillInternalProfileFactoryTest.php.

References ILIAS\Repository\profile().

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

Field Documentation

◆ $factory

SkillProfileFactory ILIAS\Skill\Profile\SkillInternalProfileFactoryTest::$factory
protected

Definition at line 30 of file SkillInternalProfileFactoryTest.php.

◆ $profile

SkillProfile ILIAS\Skill\Profile\SkillInternalProfileFactoryTest::$profile
protected

Definition at line 31 of file SkillInternalProfileFactoryTest.php.

◆ $profile_completion

SkillProfileCompletion ILIAS\Skill\Profile\SkillInternalProfileFactoryTest::$profile_completion
protected

Definition at line 33 of file SkillInternalProfileFactoryTest.php.

◆ $profile_level

SkillProfileLevel ILIAS\Skill\Profile\SkillInternalProfileFactoryTest::$profile_level
protected

Definition at line 32 of file SkillInternalProfileFactoryTest.php.

◆ $profile_role_assignment

SkillProfileRoleAssignment ILIAS\Skill\Profile\SkillInternalProfileFactoryTest::$profile_role_assignment
protected

Definition at line 35 of file SkillInternalProfileFactoryTest.php.

◆ $profile_user_assignment

SkillProfileUserAssignment ILIAS\Skill\Profile\SkillInternalProfileFactoryTest::$profile_user_assignment
protected

Definition at line 34 of file SkillInternalProfileFactoryTest.php.


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