@@ -15,12 +15,40 @@ public class TestCase {
15
15
private final List <TestStep > testSteps ;
16
16
private final boolean dryRun ;
17
17
18
+ /**
19
+ * Creates a new instance of a test case.
20
+ *
21
+ * @param testSteps of the test case
22
+ * @param pickleEvent the pickle executed by this test case
23
+ * @deprecated not part of the public api
24
+ */
25
+ @ Deprecated
26
+ public TestCase (List <TestStep > testSteps , PickleEvent pickleEvent ) {
27
+ this (testSteps , pickleEvent , false );
28
+ }
29
+
30
+ /**
31
+ * Creates a new instance of a test case.
32
+ *
33
+ * @param testSteps of the test case
34
+ * @param pickleEvent the pickle executed by this test case
35
+ * @param dryRun skip execution of the test steps
36
+ * @deprecated not part of the public api
37
+ */
38
+ @ Deprecated
18
39
public TestCase (List <TestStep > testSteps , PickleEvent pickleEvent , boolean dryRun ) {
19
40
this .testSteps = testSteps ;
20
41
this .pickleEvent = pickleEvent ;
21
42
this .dryRun = dryRun ;
22
43
}
23
44
45
+ /**
46
+ * Executes the test case.
47
+ *
48
+ * @param bus to which events should be broadcast
49
+ * @deprecated not part of the public api
50
+ */
51
+ @ Deprecated
24
52
public void run (EventBus bus ) {
25
53
boolean skipNextStep = this .dryRun ;
26
54
Long startTime = bus .getTime ();
0 commit comments