@@ -20,66 +20,66 @@ class DescriptorPlaceholderResolverTest {
2020
2121 static Stream <Arguments > testResolve () {
2222 return Stream .of (
23- // (00)
24- Arguments .of ("mtad-with-placeholders-in-requires-dependency.yaml" ,
25- new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-requires-dependency.json" )),
26- // (01)
27- Arguments .of ("mtad-with-placeholders-in-provides-dependency.yaml" ,
28- new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-provides-dependency.json" )),
29- // (02)
30- Arguments .of ("mtad-with-placeholders-in-resource.yaml" ,
31- new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-resource.json" )),
32- // (03)
33- Arguments .of ("mtad-with-placeholders-in-module.yaml" ,
34- new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-module.json" )),
35- // (04)
36- Arguments .of ("mtad-with-placeholders-in-general-parameters.yaml" ,
37- new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-general-parameters.json" )),
38- // (05)
39- Arguments .of ("mtad-with-concatenated-placeholders.yaml" ,
40- new Expectation (Expectation .Type .JSON , "result-from-concatenated-parameters.json" )),
41- // (06)
42- Arguments .of ("mtad-with-unresolvable-requires-dependency-properties.yaml" ,
43- new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" foo#bar#non-existing\" " )),
44- // (07)
45- Arguments .of ("mtad-with-unresolvable-requires-dependency-parameters.yaml" ,
46- new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" foo#bar#non-existing\" " )),
47- // (08)
48- Arguments .of ("mtad-with-unresolvable-general-parameters.yaml" ,
49- new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" non-existing\" " )),
50- // (09)
51- Arguments .of ("mtad-with-unresolvable-module-properties.yaml" ,
52- new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" foo#non-existing\" " )),
53- // (10)
54- Arguments .of ("mtad-with-unresolvable-module-parameters.yaml" ,
55- new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" foo#non-existing\" " )),
56- // (11)
57- Arguments .of ("mtad-preservation-of-types.yaml" ,
58- new Expectation (Expectation .Type .JSON , "result-preservation-of-types.json" )),
59- // (12)
60- Arguments .of ("mtad-with-placeholder-in-a-nested-structure.yaml" ,
61- new Expectation (Expectation .Type .JSON , "result-from-placeholder-in-a-nested-structure.json" )),
62- // (13)
63- Arguments .of ("mtad-with-circular-reference-in-requires-dependency.yaml" ,
64- new Expectation (Expectation .Type .EXCEPTION , "Circular reference detected in \" foo#bar#a\" " )),
65- // (14)
66- Arguments .of ("mtad-with-circular-reference-in-resource.yaml" ,
67- new Expectation (Expectation .Type .EXCEPTION , "Circular reference detected in \" bar#a\" " )),
68- // (15)
69- Arguments .of ("mtad-with-circular-reference-in-module.yaml" ,
70- new Expectation (Expectation .Type .EXCEPTION , "Circular reference detected in \" foo#a\" " )),
71- // (16)
72- Arguments .of ("mtad-with-complex-circular-reference.yaml" ,
73- new Expectation (Expectation .Type .EXCEPTION , "Circular reference detected in \" a\" " )),
74- // (17)
75- Arguments .of ("mtad-with-repeating-placeholder.yaml" ,
76- new Expectation (Expectation .Type .JSON , "result-from-repeating-placeholder.json" )),
77- // (18)
78- Arguments .of ("mtad-with-placeholders-with-depth.yaml" ,
79- new Expectation (Expectation .Type .JSON , "result-from-placeholders-with-depth.json" )),
80- // (19)
81- Arguments .of ("mtad-with-escaped-placeholders.yaml" ,
82- new Expectation (Expectation .Type .JSON , "result-from-escaped-placeholders.json" )));
23+ // (00)
24+ Arguments .of ("mtad-with-placeholders-in-requires-dependency.yaml" ,
25+ new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-requires-dependency.json" )),
26+ // (01)
27+ Arguments .of ("mtad-with-placeholders-in-provides-dependency.yaml" ,
28+ new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-provides-dependency.json" )),
29+ // (02)
30+ Arguments .of ("mtad-with-placeholders-in-resource.yaml" ,
31+ new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-resource.json" )),
32+ // (03)
33+ Arguments .of ("mtad-with-placeholders-in-module.yaml" ,
34+ new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-module.json" )),
35+ // (04)
36+ Arguments .of ("mtad-with-placeholders-in-general-parameters.yaml" ,
37+ new Expectation (Expectation .Type .JSON , "result-from-placeholders-in-general-parameters.json" )),
38+ // (05)
39+ Arguments .of ("mtad-with-concatenated-placeholders.yaml" ,
40+ new Expectation (Expectation .Type .JSON , "result-from-concatenated-parameters.json" )),
41+ // (06)
42+ Arguments .of ("mtad-with-unresolvable-requires-dependency-properties.yaml" ,
43+ new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" foo#bar#non-existing\" " )),
44+ // (07)
45+ Arguments .of ("mtad-with-unresolvable-requires-dependency-parameters.yaml" ,
46+ new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" foo#bar#non-existing\" " )),
47+ // (08)
48+ Arguments .of ("mtad-with-unresolvable-general-parameters.yaml" ,
49+ new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" non-existing\" " )),
50+ // (09)
51+ Arguments .of ("mtad-with-unresolvable-module-properties.yaml" ,
52+ new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" foo#non-existing\" " )),
53+ // (10)
54+ Arguments .of ("mtad-with-unresolvable-module-parameters.yaml" ,
55+ new Expectation (Expectation .Type .EXCEPTION , "Unable to resolve \" foo#non-existing\" " )),
56+ // (11)
57+ Arguments .of ("mtad-preservation-of-types.yaml" ,
58+ new Expectation (Expectation .Type .JSON , "result-preservation-of-types.json" )),
59+ // (12)
60+ Arguments .of ("mtad-with-placeholder-in-a-nested-structure.yaml" ,
61+ new Expectation (Expectation .Type .JSON , "result-from-placeholder-in-a-nested-structure.json" )),
62+ // (13)
63+ Arguments .of ("mtad-with-circular-reference-in-requires-dependency.yaml" ,
64+ new Expectation (Expectation .Type .EXCEPTION , "Circular reference detected in \" foo#bar#a\" " )),
65+ // (14)
66+ Arguments .of ("mtad-with-circular-reference-in-resource.yaml" ,
67+ new Expectation (Expectation .Type .EXCEPTION , "Circular reference detected in \" bar#a\" " )),
68+ // (15)
69+ Arguments .of ("mtad-with-circular-reference-in-module.yaml" ,
70+ new Expectation (Expectation .Type .EXCEPTION , "Circular reference detected in \" foo#a\" " )),
71+ // (16)
72+ Arguments .of ("mtad-with-complex-circular-reference.yaml" ,
73+ new Expectation (Expectation .Type .EXCEPTION , "Circular reference detected in \" a\" " )),
74+ // (17)
75+ Arguments .of ("mtad-with-repeating-placeholder.yaml" ,
76+ new Expectation (Expectation .Type .JSON , "result-from-repeating-placeholder.json" )),
77+ // (18)
78+ Arguments .of ("mtad-with-placeholders-with-depth.yaml" ,
79+ new Expectation (Expectation .Type .JSON , "result-from-placeholders-with-depth.json" )),
80+ // (19)
81+ Arguments .of ("mtad-with-escaped-placeholders.yaml" ,
82+ new Expectation (Expectation .Type .JSON , "result-from-escaped-placeholders.json" )));
8383 }
8484
8585 @ ParameterizedTest
0 commit comments