@@ -69,7 +69,7 @@ public void testPerformReplacementWithInvalidReplacement(boolean regex) throws I
6969 Properties actualProperties = build ("key1" , "value1" , "key2" , "value2" );
7070
7171 List <ReplacementProperty > replacementProperties = new ArrayList <>();
72- replacementProperties .add (new ReplacementProperty ("key1" , null , null , null , regex , null ));
72+ replacementProperties .add (new ReplacementProperty ("key1" , null , null , null , regex , false , null ));
7373
7474 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
7575 }
@@ -80,7 +80,7 @@ public void testPerformReplacementWithSingleProperty(boolean regex) throws IOExc
8080 Properties actualProperties = build ("key1" , "value1" , "key2" , "value2" );
8181
8282 List <ReplacementProperty > replacementProperties = new ArrayList <>();
83- replacementProperties .add (new ReplacementProperty ("key1" , null , "value" , "another" , regex , null ));
83+ replacementProperties .add (new ReplacementProperty ("key1" , null , "value" , "another" , regex , false , null ));
8484
8585 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
8686
@@ -94,7 +94,7 @@ public void testPerformReplacementWithSinglePropertyEmptyValue(boolean regex) th
9494 Properties actualProperties = build ("key1" , "value1" , "key2" , "value2" );
9595
9696 List <ReplacementProperty > replacementProperties = new ArrayList <>();
97- replacementProperties .add (new ReplacementProperty ("key1" , null , "value" , null , regex , null ));
97+ replacementProperties .add (new ReplacementProperty ("key1" , null , "value" , null , regex , false , null ));
9898
9999 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
100100
@@ -108,7 +108,7 @@ public void testPerformReplacementWithMultipleProperties(boolean regex) throws I
108108 Properties actualProperties = build ("key1" , "value1" , "key2" , "value2" );
109109
110110 List <ReplacementProperty > replacementProperties = new ArrayList <>();
111- replacementProperties .add (new ReplacementProperty (null , null , "value" , "another" , regex , null ));
111+ replacementProperties .add (new ReplacementProperty (null , null , "value" , "another" , regex , false , null ));
112112
113113 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
114114
@@ -122,7 +122,7 @@ public void testPerformReplacementWithMultiplePropertiesEmptyValue(boolean regex
122122 Properties actualProperties = build ("key1" , "value1" , "key2" , "value2" );
123123
124124 List <ReplacementProperty > replacementProperties = new ArrayList <>();
125- replacementProperties .add (new ReplacementProperty (null , null , "value" , null , regex , null ));
125+ replacementProperties .add (new ReplacementProperty (null , null , "value" , null , regex , false , null ));
126126
127127 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
128128
@@ -135,7 +135,7 @@ public void testPerformReplacementWithPatternGroupAndMatching() throws IOExcepti
135135 Properties actualProperties = build ("git.branch" , "feature/feature_name" , "git.commit.author" , "author/name" );
136136
137137 List <ReplacementProperty > replacementProperties = new ArrayList <>();
138- replacementProperties .add (new ReplacementProperty ("git.branch" , null , "^([^\\ /]*)\\ /([^\\ /]*)$" , "$1-$2" , true , null ));
138+ replacementProperties .add (new ReplacementProperty ("git.branch" , null , "^([^\\ /]*)\\ /([^\\ /]*)$" , "$1-$2" , true , false , null ));
139139
140140 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
141141
@@ -148,7 +148,7 @@ public void testPerformReplacementWithPatternGroupAndNoMatch() throws IOExceptio
148148 Properties actualProperties = build ("git.branch" , "feature#feature_name" , "git.commit.author" , "author#" );
149149
150150 List <ReplacementProperty > replacementProperties = new ArrayList <>();
151- replacementProperties .add (new ReplacementProperty ("git.branch" , null , "^([^\\ /]*)\\ /([^\\ /]*)$" , "$1-$2" , true , null ));
151+ replacementProperties .add (new ReplacementProperty ("git.branch" , null , "^([^\\ /]*)\\ /([^\\ /]*)$" , "$1-$2" , true , false , null ));
152152
153153 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
154154
@@ -161,7 +161,7 @@ public void testPerformReplacementOnSinglePropertyAndExpectNewPropertyGenerated(
161161 Properties actualProperties = build ("git.branch" , "feature/feature_name" , "git.commit.author" , "author#" );
162162
163163 List <ReplacementProperty > replacementProperties = new ArrayList <>();
164- replacementProperties .add (new ReplacementProperty ("git.branch" , "something" , "^([^\\ /]*)\\ /([^\\ /]*)$" , "$1-$2" , true , null ));
164+ replacementProperties .add (new ReplacementProperty ("git.branch" , "something" , "^([^\\ /]*)\\ /([^\\ /]*)$" , "$1-$2" , true , false , null ));
165165
166166 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
167167
@@ -174,7 +174,7 @@ public void testPerformReplacementOnEveryPropertyAndExpectNewPropertyGenerated()
174174 Properties actualProperties = build ("git.branch" , "feature/feature_name" , "git.commit.author" , "author#" );
175175
176176 List <ReplacementProperty > replacementProperties = new ArrayList <>();
177- replacementProperties .add (new ReplacementProperty (null , "something" , "^([^\\ /]*)\\ /([^\\ /]*)$" , "$1-$2" , true , null ));
177+ replacementProperties .add (new ReplacementProperty (null , "something" , "^([^\\ /]*)\\ /([^\\ /]*)$" , "$1-$2" , true , false , null ));
178178
179179 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
180180
@@ -200,7 +200,7 @@ public void runTransformationTestHelper(String input, String regex, Transformati
200200 transformationRules .add (new TransformationRule (applyRule , actionRule ));
201201
202202 List <ReplacementProperty > replacementProperties = new ArrayList <>();
203- replacementProperties .add (new ReplacementProperty (null , null , regex , "-" , true , transformationRules ));
203+ replacementProperties .add (new ReplacementProperty (null , null , regex , "-" , true , false , transformationRules ));
204204
205205 propertiesReplacer .performReplacement (actualProperties , replacementProperties );
206206
0 commit comments