@@ -15,7 +15,7 @@ public class BootContextTest {
15
15
@ Test
16
16
public void noDepends () {
17
17
18
- BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet ());
18
+ BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet (), true );
19
19
factoryOrder .add (bc ("1" , null , null ));
20
20
factoryOrder .add (bc ("2" , null , null ));
21
21
factoryOrder .add (bc ("3" , null , null ));
@@ -27,7 +27,7 @@ public void noDepends() {
27
27
@ Test
28
28
public void name_depends () {
29
29
30
- BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet ());
30
+ BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet (), true );
31
31
factoryOrder .add (bc ("two" , null , "one" ));
32
32
factoryOrder .add (bc ("one" , null , null ));
33
33
factoryOrder .orderFactories ();
@@ -38,7 +38,7 @@ public void name_depends() {
38
38
@ Test
39
39
public void name_depends4 () {
40
40
41
- BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet ());
41
+ BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet (), true );
42
42
factoryOrder .add (bc ("1" , null , "3" ));
43
43
factoryOrder .add (bc ("2" , null , "4" ));
44
44
factoryOrder .add (bc ("3" , null , "4" ));
@@ -52,7 +52,7 @@ public void name_depends4() {
52
52
@ Test
53
53
public void nameFeature_depends () {
54
54
55
- BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet ());
55
+ BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet (), true );
56
56
factoryOrder .add (bc ("1" , "a" , "3" ));
57
57
factoryOrder .add (bc ("2" , null , "4,a" ));
58
58
factoryOrder .add (bc ("3" , null , "4" ));
@@ -66,7 +66,7 @@ public void nameFeature_depends() {
66
66
@ Test
67
67
public void feature_depends () {
68
68
69
- BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet ());
69
+ BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet (), true );
70
70
factoryOrder .add (bc ("two" , null , "myfeature" ));
71
71
factoryOrder .add (bc ("one" , "myfeature" , null ));
72
72
factoryOrder .orderFactories ();
@@ -77,7 +77,7 @@ public void feature_depends() {
77
77
@ Test
78
78
public void feature_depends2 () {
79
79
80
- BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet ());
80
+ BootContext .FactoryOrder factoryOrder = new BootContext .FactoryOrder (Collections .emptySet (), true );
81
81
factoryOrder .add (bc ("two" , null , "myfeature" ));
82
82
factoryOrder .add (bc ("one" , "myfeature" , null ));
83
83
factoryOrder .add (bc ("three" , "myfeature" , null ));
0 commit comments