@@ -57,6 +57,7 @@ public class H11_RubricProvider implements RubricProvider {
5757 .shortDescription ("H11.2.B | Das Wachstum wird korrekt berechnet" )
5858 .maxPoints (2 )
5959 .grader (Grader .testAwareBuilder ()
60+ .requirePass (JUnitTestRef .ofMethod (() -> LSystemGrowerTest .class .getMethod ("testNoLoopsInGrow" )))
6061 .requirePass (JUnitTestRef .ofMethod (() -> LSystemGrowerTest .class .getMethod ("testGrow" , LSystemGrowerTestCase .class )))
6162 .pointsFailedMin ()
6263 .pointsPassedMax ()
@@ -70,6 +71,7 @@ public class H11_RubricProvider implements RubricProvider {
7071 private static final Criterion H3_1_A = Criterion .builder ()
7172 .shortDescription ("H11.3.1.A | Die erste Projektion gibt das Axiom vor" )
7273 .grader (Grader .testAwareBuilder ()
74+ .requirePass (JUnitTestRef .ofMethod (() -> ParsedLSystemTest .class .getMethod ("testNoLoopsInGetAxiomUsed" )))
7375 .requirePass (JUnitTestRef .ofMethod (() -> ParsedLSystemTest .class .getMethod ("testThat_firstProjectionGivesAxiom" , ParsedLSystemTestCase .class )))
7476 .pointsFailedMin ()
7577 .pointsPassedMax ()
@@ -78,6 +80,7 @@ public class H11_RubricProvider implements RubricProvider {
7880 private static final Criterion H3_1_B = Criterion .builder ()
7981 .shortDescription ("H11.3.1.B | Ist der aktuale Parameter bekannt, wird korrekt projektiert" )
8082 .grader (Grader .testAwareBuilder ()
83+ .requirePass (JUnitTestRef .ofMethod (() -> ParsedLSystemTest .class .getMethod ("testNoLoopsInProjectUsed" )))
8184 .requirePass (JUnitTestRef .ofMethod (() -> ParsedLSystemTest .class .getMethod ("testThat_projectionsOfKnownProject" , ParsedLSystemTestCase .class )))
8285 .pointsFailedMin ()
8386 .pointsPassedMax ()
@@ -86,6 +89,7 @@ public class H11_RubricProvider implements RubricProvider {
8689 private static final Criterion H3_1_C = Criterion .builder ()
8790 .shortDescription ("H11.3.1.C | Ist der aktuale Parameter nicht bekannt, wird korrekt projektiert" )
8891 .grader (Grader .testAwareBuilder ()
92+ .requirePass (JUnitTestRef .ofMethod (() -> ParsedLSystemTest .class .getMethod ("testNoLoopsInProjectUsed" )))
8993 .requirePass (JUnitTestRef .ofMethod (() -> ParsedLSystemTest .class .getMethod ("testThat_projectionsOfUnknownDoesNotProject" , ParsedLSystemTestCase .class )))
9094 .pointsFailedMin ()
9195 .pointsPassedMax ()
@@ -176,6 +180,7 @@ public class H11_RubricProvider implements RubricProvider {
176180 private static final Criterion H4_3_A = Criterion .builder ()
177181 .shortDescription ("H11.4.3.A | Der Test ist korrekt implementiert" )
178182 .grader (Grader .testAwareBuilder ()
183+ .requirePass (JUnitTestRef .ofMethod (() -> AlgaeTestTest .class .getMethod ("testNoLoopsUsed" )))
179184 .requirePass (JUnitTestRef .ofMethod (() -> AlgaeTestTest .class .getMethod ("testThat_algaeTestAcceptsPositive" , int .class )))
180185 .requirePass (JUnitTestRef .ofMethod (() -> AlgaeTestTest .class .getMethod ("testThat_algaeTestRejectsWrongSize" , int .class )))
181186 .requirePass (JUnitTestRef .ofMethod (() -> AlgaeTestTest .class .getMethod ("testThat_algaeTestRejectsWrongValues" , int .class )))
@@ -195,6 +200,7 @@ public class H11_RubricProvider implements RubricProvider {
195200 private static final Criterion H5_1 = Criterion .builder ()
196201 .shortDescription ("H11.5.1 | Pythons choices" )
197202 .grader (Grader .testAwareBuilder ()
203+ .requirePass (JUnitTestRef .ofMethod (() -> RandomTest .class .getMethod ("testNoLoopsInChoicesUsed" )))
198204 .requirePass (JUnitTestRef .ofMethod (() -> RandomTest .class .getMethod ("testChoices" , RandomChoicesTestCase .class )))
199205 .pointsFailedMin ()
200206 .pointsPassedMax ()
@@ -204,6 +210,7 @@ public class H11_RubricProvider implements RubricProvider {
204210 .shortDescription ("H11.5.2 | Zufälliges Latein" )
205211 .maxPoints (2 )
206212 .grader (Grader .testAwareBuilder ()
213+ .requirePass (JUnitTestRef .ofMethod (() -> RandomTest .class .getMethod ("testNoLoopsInLatinUsed" )))
207214 .requirePass (JUnitTestRef .ofMethod (() -> RandomTest .class .getMethod ("testLatin" , RandomLatinTestCase .class )))
208215 .pointsFailedMin ()
209216 .pointsPassedMax ()
@@ -217,6 +224,7 @@ public class H11_RubricProvider implements RubricProvider {
217224 private static final Criterion H6_1 = Criterion .builder ()
218225 .shortDescription ("H11.6.1 | Zufällige Projektionen" )
219226 .grader (Grader .testAwareBuilder ()
227+ .requirePass (JUnitTestRef .ofMethod (() -> RandomLSystemGeneratorTest .class .getMethod ("testNoLoopsInMakeProjectionUsed" )))
220228 .requirePass (JUnitTestRef .or (
221229 JUnitTestRef .ofMethod (() -> RandomLSystemGeneratorTest .class .getMethod ("testMakeProjectionInclusive" , MakeProjectionTestCase .class )),
222230 JUnitTestRef .ofMethod (() -> RandomLSystemGeneratorTest .class .getMethod ("testMakeProjectionExclusive" , MakeProjectionTestCase .class ))
@@ -228,6 +236,7 @@ public class H11_RubricProvider implements RubricProvider {
228236 private static final Criterion H6_2_A = Criterion .builder ()
229237 .shortDescription ("H11.6.2.A | Es gibt keine doppelten Quellen" )
230238 .grader (Grader .testAwareBuilder ()
239+ .requirePass (JUnitTestRef .ofMethod (() -> RandomLSystemGeneratorTest .class .getMethod ("testNoLoopsInGenerateUsed" )))
231240 .requirePass (JUnitTestRef .ofMethod (() -> RandomLSystemGeneratorTest .class .getMethod ("testThat_sourcesAreUnique" , int .class )))
232241 .pointsFailedMin ()
233242 .pointsPassedMax ()
@@ -237,6 +246,7 @@ public class H11_RubricProvider implements RubricProvider {
237246 .shortDescription ("H11.6.2.B | Die L-Systeme werden korrekt generiert" )
238247 .maxPoints (2 )
239248 .grader (Grader .testAwareBuilder ()
249+ .requirePass (JUnitTestRef .ofMethod (() -> RandomLSystemGeneratorTest .class .getMethod ("testNoLoopsInGenerateUsed" )))
240250 .requirePass (JUnitTestRef .or (
241251 JUnitTestRef .ofMethod (() -> RandomLSystemGeneratorTest .class .getMethod ("testGenerateExclusive" , GenerateTestCase .class )),
242252 JUnitTestRef .ofMethod (() -> RandomLSystemGeneratorTest .class .getMethod ("testGenerateInclusive" , GenerateTestCase .class ))
@@ -257,6 +267,7 @@ public class H11_RubricProvider implements RubricProvider {
257267 private static final Criterion H7_1 = Criterion .builder ()
258268 .shortDescription ("H11.7.1 | Zufällige Leerzeichen" )
259269 .grader (Grader .testAwareBuilder ()
270+ .requirePass (JUnitTestRef .ofMethod (() -> LSystemToRandomLinesConverterTest .class .getMethod ("testNoLoopsInGenerateSpacesUsed" )))
260271 .requirePass (JUnitTestRef .or (
261272 JUnitTestRef .ofMethod (() -> LSystemToRandomLinesConverterTest .class .getMethod ("testRandomSpacingExclusive" , RandomSpacesTestCase .class )),
262273 JUnitTestRef .ofMethod (() -> LSystemToRandomLinesConverterTest .class .getMethod ("testRandomSpacingInclusive" , RandomSpacesTestCase .class ))
@@ -268,6 +279,7 @@ public class H11_RubricProvider implements RubricProvider {
268279 private static final Criterion H7_2 = Criterion .builder ()
269280 .shortDescription ("H11.7.2 | Darstellung für das ganze System" )
270281 .grader (Grader .testAwareBuilder ()
282+ .requirePass (JUnitTestRef .ofMethod (() -> LSystemToRandomLinesConverterTest .class .getMethod ("testNoLoopsInLSystemAsLines" )))
271283 .requirePass (JUnitTestRef .or (
272284 JUnitTestRef .ofMethod (() -> LSystemToRandomLinesConverterTest .class .getMethod ("testLSystemAsLinesExclusive" , LSystemAsLinesTestCase .class )),
273285 JUnitTestRef .ofMethod (() -> LSystemToRandomLinesConverterTest .class .getMethod ("testLSystemAsLinesInclusive" , LSystemAsLinesTestCase .class ))
0 commit comments