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

Public Member Functions

 testGetAndWithUsePreviousAnswerAllowed (bool $io)
 getAndWithUsePreviousAnswerAllowedDataProvider More...
 
 testGetAndWithSuspendTestAllowed (bool $io)
 getAndWithSuspendTestAllowedDataProvider More...
 
 testGetAndWithPostponedQuestionsMoveToEnd (bool $io)
 getAndWithPostponedQuestionsMoveToEndDataProvider More...
 
 testGetAndWithQuestionListEnabled (bool $io)
 getAndWithQuestionListEnabledDataProvider More...
 
 testGetAndWithUsrPassOverviewMode (int $io)
 getAndWithUsrPassOverviewModeDataProvider More...
 
 testGetAndWithQuestionMarkingEnabled (bool $io)
 getAndWithUsrPassOverviewEnabledDataProvider More...
 

Static Public Member Functions

static getAndWithUsePreviousAnswerAllowedDataProvider ()
 
static getAndWithSuspendTestAllowedDataProvider ()
 
static getAndWithPostponedQuestionsMoveToEndDataProvider ()
 
static getAndWithQuestionListEnabledDataProvider ()
 
static getAndWithUsrPassOverviewModeDataProvider ()
 
static getAndWithUsrPassOverviewEnabledDataProvider ()
 
- Static Public Member Functions inherited from ilTestBaseTestCase
static callMethod ($obj, $name, array $args=[])
 

Additional Inherited Members

- Protected Member Functions inherited from ilTestBaseTestCase
 setUp ()
 
 tearDown ()
 
- Protected Attributes inherited from ilTestBaseTestCase
Container $dic = null
 

Detailed Description

Definition at line 23 of file SettingsParticipantFunctionalityTest.php.

Member Function Documentation

◆ getAndWithPostponedQuestionsMoveToEndDataProvider()

static SettingsParticipantFunctionalityTest::getAndWithPostponedQuestionsMoveToEndDataProvider ( )
static

Definition at line 74 of file SettingsParticipantFunctionalityTest.php.

74  : array
75  {
76  return [
77  [true],
78  [false]
79  ];
80  }

◆ getAndWithQuestionListEnabledDataProvider()

static SettingsParticipantFunctionalityTest::getAndWithQuestionListEnabledDataProvider ( )
static

Definition at line 93 of file SettingsParticipantFunctionalityTest.php.

93  : array
94  {
95  return [
96  [true],
97  [false]
98  ];
99  }

◆ getAndWithSuspendTestAllowedDataProvider()

static SettingsParticipantFunctionalityTest::getAndWithSuspendTestAllowedDataProvider ( )
static

Definition at line 55 of file SettingsParticipantFunctionalityTest.php.

55  : array
56  {
57  return [
58  [true],
59  [false]
60  ];
61  }

◆ getAndWithUsePreviousAnswerAllowedDataProvider()

static SettingsParticipantFunctionalityTest::getAndWithUsePreviousAnswerAllowedDataProvider ( )
static

Definition at line 36 of file SettingsParticipantFunctionalityTest.php.

36  : array
37  {
38  return [
39  [true],
40  [false]
41  ];
42  }

◆ getAndWithUsrPassOverviewEnabledDataProvider()

static SettingsParticipantFunctionalityTest::getAndWithUsrPassOverviewEnabledDataProvider ( )
static

Definition at line 133 of file SettingsParticipantFunctionalityTest.php.

133  : array
134  {
135  return [
136  [true],
137  [false]
138  ];
139  }

◆ getAndWithUsrPassOverviewModeDataProvider()

static SettingsParticipantFunctionalityTest::getAndWithUsrPassOverviewModeDataProvider ( )
static

Definition at line 112 of file SettingsParticipantFunctionalityTest.php.

112  : array
113  {
114  return [
115  [-1],
116  [0],
117  [1]
118  ];
119  }

◆ testGetAndWithPostponedQuestionsMoveToEnd()

SettingsParticipantFunctionalityTest::testGetAndWithPostponedQuestionsMoveToEnd ( bool  $io)

getAndWithPostponedQuestionsMoveToEndDataProvider

Definition at line 66 of file SettingsParticipantFunctionalityTest.php.

66  : void
67  {
68  $Settings_participant_functionality = (new SettingsParticipantFunctionality(0))->withPostponedQuestionsMoveToEnd($io);
69 
70  $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
71  $this->assertEquals($io, $Settings_participant_functionality->getPostponedQuestionsMoveToEnd());
72  }

◆ testGetAndWithQuestionListEnabled()

SettingsParticipantFunctionalityTest::testGetAndWithQuestionListEnabled ( bool  $io)

getAndWithQuestionListEnabledDataProvider

Definition at line 85 of file SettingsParticipantFunctionalityTest.php.

85  : void
86  {
87  $Settings_participant_functionality = (new SettingsParticipantFunctionality(0))->withQuestionListEnabled($io);
88 
89  $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
90  $this->assertEquals($io, $Settings_participant_functionality->getQuestionListEnabled());
91  }

◆ testGetAndWithQuestionMarkingEnabled()

SettingsParticipantFunctionalityTest::testGetAndWithQuestionMarkingEnabled ( bool  $io)

getAndWithUsrPassOverviewEnabledDataProvider

Definition at line 124 of file SettingsParticipantFunctionalityTest.php.

124  : void
125  {
126  $Settings_participant_functionality = (new SettingsParticipantFunctionality(0));
127  $Settings_participant_functionality = $Settings_participant_functionality->withQuestionMarkingEnabled($io);
128 
129  $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
130  $this->assertEquals($io, $Settings_participant_functionality->getQuestionMarkingEnabled());
131  }

◆ testGetAndWithSuspendTestAllowed()

SettingsParticipantFunctionalityTest::testGetAndWithSuspendTestAllowed ( bool  $io)

getAndWithSuspendTestAllowedDataProvider

Definition at line 47 of file SettingsParticipantFunctionalityTest.php.

47  : void
48  {
49  $Settings_participant_functionality = (new SettingsParticipantFunctionality(0))->withSuspendTestAllowed($io);
50 
51  $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
52  $this->assertEquals($io, $Settings_participant_functionality->getSuspendTestAllowed());
53  }

◆ testGetAndWithUsePreviousAnswerAllowed()

SettingsParticipantFunctionalityTest::testGetAndWithUsePreviousAnswerAllowed ( bool  $io)

getAndWithUsePreviousAnswerAllowedDataProvider

Definition at line 28 of file SettingsParticipantFunctionalityTest.php.

28  : void
29  {
30  $Settings_participant_functionality = (new SettingsParticipantFunctionality(0))->withUsePreviousAnswerAllowed($io);
31 
32  $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
33  $this->assertEquals($io, $Settings_participant_functionality->getUsePreviousAnswerAllowed());
34  }

◆ testGetAndWithUsrPassOverviewMode()

SettingsParticipantFunctionalityTest::testGetAndWithUsrPassOverviewMode ( int  $io)

getAndWithUsrPassOverviewModeDataProvider

Definition at line 104 of file SettingsParticipantFunctionalityTest.php.

104  : void
105  {
106  $Settings_participant_functionality = (new SettingsParticipantFunctionality(0))->withUsrPassOverviewMode($io);
107 
108  $this->assertInstanceOf(SettingsParticipantFunctionality::class, $Settings_participant_functionality);
109  $this->assertEquals($io, $Settings_participant_functionality->getUsrPassOverviewMode());
110  }

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