File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed
openjpa-lib/src/test/java/org/apache/openjpa/lib/util Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ private static Stream<Arguments> configureInstanceITArguments() {
87
87
if (!state .successful )
88
88
if (("pitest" .equals (envFlag ) || "onlySuccess" .equals (envFlag )))
89
89
continue ;
90
- if (state .description .contains ("#02" ))
90
+ if (true || state .description .contains ("#02" ))
91
91
activeArguments .add (Arguments .of (state ));
92
92
}
93
93
Original file line number Diff line number Diff line change @@ -35,4 +35,18 @@ public void setFirst(int first) {
35
35
this .first = first ;
36
36
}
37
37
}
38
+
39
+ public static class Deepest123 extends DeepestBase {
40
+ public void setFirst (int first ) {
41
+ this .first = first ;
42
+ }
43
+
44
+ public void setSecond (int second ) {
45
+ this .second = second ;
46
+ }
47
+
48
+ public void setThird (int third ) {
49
+ this .third = third ;
50
+ }
51
+ }
38
52
}
Original file line number Diff line number Diff line change 4
4
import org .apache .openjpa .lib .util .ConfigurationsIT .A2_NUMBER_OF_SETTABLE_PROPERTIES ;
5
5
import org .apache .openjpa .lib .util .ConfigurationsIT .TestState ;
6
6
import org .apache .openjpa .lib .util .ConfigurationsITClasses .Deepest1 ;
7
+ import org .apache .openjpa .lib .util .ConfigurationsITClasses .Deepest123 ;
7
8
8
9
import java .util .Properties ;
9
10
@@ -25,15 +26,18 @@ public void configure() {
25
26
return ;
26
27
}
27
28
29
+ assert testState .a1 == A1_EXCEPTION .NO ;
30
+
28
31
testState .properties .setProperty ("first" , "1" );
29
32
testState .properties .setProperty ("second" , "2" );
30
33
testState .properties .setProperty ("third" , "3" );
31
34
32
35
/* Configure the case in which too few properties are set */
33
- if (testState .a1 == A1_EXCEPTION .NO &&
34
- testState .a2 == A2_NUMBER_OF_SETTABLE_PROPERTIES .LESS_THAN_PROPERTIES_SIZE_MINUS_1 ) {
36
+ if (testState .a2 == A2_NUMBER_OF_SETTABLE_PROPERTIES .LESS_THAN_PROPERTIES_SIZE_MINUS_1 ) {
35
37
testState .obj = new Deepest1 ();
36
-
38
+ return ;
39
+ } else if (testState .a2 == A2_NUMBER_OF_SETTABLE_PROPERTIES .EQUAL_AS_PROPERTIES_SIZE ) {
40
+ testState .obj = new Deepest123 ();
37
41
return ;
38
42
}
39
43
You can’t perform that action at this time.
0 commit comments