ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilModulesTestQuestionPoolSuite Class Reference
+ Inheritance diagram for ilModulesTestQuestionPoolSuite:
+ Collaboration diagram for ilModulesTestQuestionPoolSuite:

Static Public Member Functions

static suite ()
 

Detailed Description

Definition at line 4 of file ilModulesTestQuestionPoolSuite.php.

Member Function Documentation

◆ suite()

static ilModulesTestQuestionPoolSuite::suite ( )
static

Definition at line 6 of file ilModulesTestQuestionPoolSuite.php.

References $suite, and defined.

7  {
8  if (defined('ILIAS_PHPUNIT_CONTEXT'))
9  {
10  include_once("./Services/PHPUnit/classes/class.ilUnitUtil.php");
11  ilUnitUtil::performInitialisation();
12  }
13  else
14  {
15  chdir( dirname( __FILE__ ) );
16  chdir('../../../');
17  }
18 
20 
21  // Questiontypes & related classes
22  // -------------------------------------------------------------------------------------------------------------
23 
24  // Type: Question (Base class)
25  require_once("./Modules/TestQuestionPool/test/assQuestionTest.php");
26  $suite->addTestSuite("assQuestionTest");
27 
28  require_once("./Modules/TestQuestionPool/test/assQuestionGUITest.php");
29  $suite->addTestSuite("assQuestionGUITest");
30 
31  // Type: Cloze
32  require_once("./Modules/TestQuestionPool/test/assClozeGapTest.php");
33  $suite->addTestSuite("assClozeGapTest");
34 
35  require_once("./Modules/TestQuestionPool/test/assClozeSelectGapTest.php");
36  $suite->addTestSuite("assClozeSelectGapTest");
37 
38  require_once("./Modules/TestQuestionPool/test/assClozeTestTest.php");
39  $suite->addTestSuite("assClozeTestTest");
40 
41  require_once("./Modules/TestQuestionPool/test/assClozeTestGUITest.php");
42  $suite->addTestSuite("assClozeTestGUITest");
43 
44  // Type: ErrorText
45  require_once("./Modules/TestQuestionPool/test/assErrorTextTest.php");
46  $suite->addTestSuite("assErrorTextTest");
47 
48  require_once("./Modules/TestQuestionPool/test/assErrorTextGUITest.php");
49  $suite->addTestSuite("assErrorTextGUITest");
50 
51  // Type: FileUpload
52  require_once("./Modules/TestQuestionPool/test/assFileUploadTest.php");
53  $suite->addTestSuite("assFileUploadTest");
54 
55  require_once("./Modules/TestQuestionPool/test/assFileUploadGUITest.php");
56  $suite->addTestSuite("assFileUploadGUITest");
57 
58  // Type: Flash
59  require_once("./Modules/TestQuestionPool/test/assFlashQuestionTest.php");
60  $suite->addTestSuite("assFlashQuestionTest");
61 
62  require_once("./Modules/TestQuestionPool/test/assFlashQuestionGUITest.php");
63  $suite->addTestSuite("assFlashQuestionGUITest");
64 
65  // Type: Formula
66  require_once("./Modules/TestQuestionPool/test/assFormulaQuestionTest.php");
67  $suite->addTestSuite("assFormulaQuestionTest");
68 
69  require_once("./Modules/TestQuestionPool/test/assFormulaQuestionGUITest.php");
70  $suite->addTestSuite("assFormulaQuestionGUITest");
71 
72  // Type: Imagemap
73  require_once("./Modules/TestQuestionPool/test/assImagemapQuestionTest.php");
74  $suite->addTestSuite("assImagemapQuestionTest");
75 
76  require_once("./Modules/TestQuestionPool/test/assImagemapQuestionGUITest.php");
77  $suite->addTestSuite("assImagemapQuestionGUITest");
78 
79  // Zype: JavaApplet
80  require_once("./Modules/TestQuestionPool/test/assJavaAppletTest.php");
81  $suite->addTestSuite("assJavaAppletTest");
82 
83  require_once("./Modules/TestQuestionPool/test/assJavaAppletGUITest.php");
84  $suite->addTestSuite("assJavaAppletGUITest");
85 
86  // Type: MatchingQuestion
87  require_once("./Modules/TestQuestionPool/test/assMatchingQuestionTest.php");
88  $suite->addTestSuite("assMatchingQuestionTest");
89 
90  require_once("./Modules/TestQuestionPool/test/assMatchingQuestionGUITest.php");
91  $suite->addTestSuite("assMatchingQuestionGUITest");
92 
93  // Type: MultipleChoice
94  require_once("./Modules/TestQuestionPool/test/assMultipleChoiceTest.php");
95  $suite->addTestSuite("assMultipleChoiceTest");
96  // Incompatible with local mode
97 
98  require_once("./Modules/TestQuestionPool/test/assMultipleChoiceGUITest.php");
99  $suite->addTestSuite("assMultipleChoiceGUITest");
100 
101  // Type: Numeric
102  require_once("./Modules/TestQuestionPool/test/assNumericTest.php");
103  $suite->addTestSuite("assNumericTest");
104 
105  require_once("./Modules/TestQuestionPool/test/assNumericGUITest.php");
106  $suite->addTestSuite("assNumericGUITest");
107 
108  require_once("./Modules/TestQuestionPool/test/assNumericRangeTest.php");
109  $suite->addTestSuite("assNumericRangeTest");
110 
111  // Type: OrderingHorizontal
112  require_once("./Modules/TestQuestionPool/test/assOrderingHorizontalTest.php");
113  $suite->addTestSuite("assOrderingHorizontalTest");
114 
115  require_once("./Modules/TestQuestionPool/test/assOrderingHorizontalGUITest.php");
116  $suite->addTestSuite("assOrderingHorizontalGUITest");
117 
118  // Type: Ordering
119  require_once("./Modules/TestQuestionPool/test/assOrderingQuestionTest.php");
120  $suite->addTestSuite("assOrderingQuestionTest");
121 
122  require_once("./Modules/TestQuestionPool/test/assOrderingQuestionGUITest.php");
123  $suite->addTestSuite("assOrderingQuestionGUITest");
124 
125  // Type: SingleChoice
126  require_once("./Modules/TestQuestionPool/test/assSingleChoiceTest.php");
127  $suite->addTestSuite("assSingleChoiceTest");
128  // Incompatible with local mode
129 
130  require_once("./Modules/TestQuestionPool/test/assSingleChoiceGUITest.php");
131  $suite->addTestSuite("assSingleChoiceGUITest");
132 
133  // Type: Text (Essay)
134  require_once("./Modules/TestQuestionPool/test/assTextQuestionTest.php");
135  $suite->addTestSuite("assTextQuestionTest");
136 
137  require_once("./Modules/TestQuestionPool/test/assTextQuestionGUITest.php");
138  $suite->addTestSuite("assTextQuestionGUITest");
139 
140  // Type: TextSubset
141  require_once("./Modules/TestQuestionPool/test/assTextSubsetTest.php");
142  $suite->addTestSuite("assTextSubsetTest");
143 
144  require_once("./Modules/TestQuestionPool/test/assTextSubsetGUITest.php");
145  $suite->addTestSuite("assTextSubsetGUITest");
146 
147  // Type: LongMenu
148  require_once("./Modules/TestQuestionPool/test/assLongMenuTest.php");
149  $suite->addTestSuite("assLongMenuTest");
150 
151  // Type: assKprimChoiceTest
152  require_once("./Modules/TestQuestionPool/test/assKprimChoiceTest.php");
153  $suite->addTestSuite("assKprimChoiceTest");
154 
155  //require_once("./Modules/TestQuestionPool/test/assTextSubsetGUITest.php");
156  //$suite->addTestSuite("assTextSubsetGUITest");
157 
158 
159  // Input GUIs
160  // -------------------------------------------------------------------------------------------------------------
161  require_once("./Modules/TestQuestionPool/test/ilAnswerWizardInputGUITest.php");
162  $suite->addTestSuite("ilAnswerWizardInputGUITest");
163 
164  // Hints
165  // -------------------------------------------------------------------------------------------------------------
166  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintTest.php");
167  $suite->addTestSuite("ilAssQuestionHintTest");
168 
169  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintAbstractTest.php");
170  $suite->addTestSuite("ilAssQuestionHintAbstractTest");
171 
172  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintGUITest.php");
173  $suite->addTestSuite("ilAssQuestionHintGUITest");
174 
175  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintListTest.php");
176  $suite->addTestSuite("ilAssQuestionHintListTest");
177 
178  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintRequestGUITest.php");
179  $suite->addTestSuite("ilAssQuestionHintRequestGUITest");
180 
181  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintRequestStatisticDataTest.php");
182  $suite->addTestSuite("ilAssQuestionHintRequestStatisticDataTest");
183 
184  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintsGUITest.php");
185  $suite->addTestSuite("ilAssQuestionHintsGUITest");
186 
187  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintsOrderingClipboardTest.php");
188  $suite->addTestSuite("ilAssQuestionHintsOrderingClipboardTest");
189 
190  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintsTableGUITest.php");
191  $suite->addTestSuite("ilAssQuestionHintsTableGUITest");
192 
193  require_once("./Modules/TestQuestionPool/test/ilAssQuestionHintTrackingTest.php");
194  $suite->addTestSuite("ilAssQuestionHintTrackingTest");
195 
196  // Answertypes
197  // -------------------------------------------------------------------------------------------------------------
198  require_once("./Modules/TestQuestionPool/test/assAnswerBinaryStateTest.php");
199  $suite->addTestSuite("assAnswerBinaryStateTest");
200 
201  require_once("./Modules/TestQuestionPool/test/assAnswerBinaryStateImageTest.php");
202  $suite->addTestSuite("assAnswerBinaryStateImageTest");
203 
204  require_once("./Modules/TestQuestionPool/test/assAnswerClozeTest.php");
205  $suite->addTestSuite("assAnswerClozeTest");
206 
207  require_once("./Modules/TestQuestionPool/test/assAnswerErrorTextTest.php");
208  $suite->addTestSuite("assAnswerErrorTextTest"); // mbecker: 100% Coverage @ 03.08.2012
209 
210  require_once("./Modules/TestQuestionPool/test/assAnswerImagemapTest.php");
211  $suite->addTestSuite("assAnswerImagemapTest");
212 
213  require_once("./Modules/TestQuestionPool/test/assAnswerMatchingTest.php");
214  $suite->addTestSuite("assAnswerMatchingTest");
215 
216  require_once("./Modules/TestQuestionPool/test/assAnswerMatchingDefinitionTest.php");
217  $suite->addTestSuite("assAnswerMatchingDefinitionTest");
218 
219  require_once("./Modules/TestQuestionPool/test/assAnswerMatchingPairTest.php");
220  $suite->addTestSuite("assAnswerMatchingPairTest");
221 
222  require_once("./Modules/TestQuestionPool/test/assAnswerMatchingTermTest.php");
223  $suite->addTestSuite("assAnswerMatchingTermTest");
224 
225  require_once("./Modules/TestQuestionPool/test/assAnswerMultipleResponseTest.php");
226  $suite->addTestSuite("assAnswerMultipleResponseTest");
227 
228  require_once("./Modules/TestQuestionPool/test/assAnswerMultipleResponseImageTest.php");
229  $suite->addTestSuite("assAnswerMultipleResponseImageTest");
230 
231  require_once("./Modules/TestQuestionPool/test/assAnswerOrderingTest.php");
232  $suite->addTestSuite("assAnswerOrderingTest");
233 
234  require_once("./Modules/TestQuestionPool/test/assAnswerSimpleTest.php");
235  $suite->addTestSuite("assAnswerSimpleTest");
236 
237  require_once("./Modules/TestQuestionPool/test/assAnswerTrueFalseTest.php");
238  $suite->addTestSuite("assAnswerTrueFalseTest");
239 
240  require_once("./Modules/TestQuestionPool/test/ilAssQuestionSkillAssignmentRegistryTest.php");
241  $suite->addTestSuite("ilAssQuestionSkillAssignmentRegistryTest");
242 
243  return $suite;
244  }
$suite
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
Definition: bootstrap.php:27

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