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