@@ -152,126 +152,126 @@ public void buildTest_timestamp_cli_dir() {
152152
153153 @ Test
154154 public void configJobTest_kapua () {
155- transformAndCompareFreestyleJob ("kapua" , "config.job.hudson" );
155+ transformAndCompareFreestyleJob ("kapua" );
156156 }
157157
158158 @ Test
159159 public void configJobTest_query () {
160- transformAndCompareFreestyleJob ("query" , "config.job.hudson" );
160+ transformAndCompareFreestyleJob ("query" );
161161 }
162162
163163 @ Test
164164 public void configJobTest_transaction () {
165- transformAndCompareFreestyleJob ("transaction" , "config.job.hudson" );
165+ transformAndCompareFreestyleJob ("transaction" );
166166 }
167167
168168 @ Test
169169 public void configJobTest_packagedrone () {
170- transformAndCompareFreestyleJob ("package-drone" , "config.job.hudson" );
170+ transformAndCompareFreestyleJob ("package-drone" );
171171 }
172172
173173 @ Test
174174 public void configJobTest_jgit1 () {
175- transformAndCompareFreestyleJob ("jgit1" , "config.job.hudson" );
175+ transformAndCompareFreestyleJob ("jgit1" );
176176 }
177177
178178 @ Test
179179 public void configJobTest_jgit2 () {
180- transformAndCompareFreestyleJob ("jgit2" , "config.job.hudson" );
180+ transformAndCompareFreestyleJob ("jgit2" );
181181 }
182182
183183 @ Test
184184 public void configJobTest_jgit3 () {
185- transformAndCompareFreestyleJob ("jgit3" , "config.job.hudson" );
185+ transformAndCompareFreestyleJob ("jgit3" );
186186 }
187187
188188 @ Test
189189 public void configJobTest_app4mc () {
190- transformAndCompareFreestyleJob ("app4mc" , "config.job.hudson" );
190+ transformAndCompareFreestyleJob ("app4mc" );
191191 }
192192
193193 @ Test
194194 public void configJobTest_cbi1 () {
195- transformAndCompareFreestyleJob ("cbi1" , "config.job.hudson" );
195+ transformAndCompareFreestyleJob ("cbi1" );
196196 }
197197
198198 @ Test
199199 public void configJobTest_cbi2 () {
200- transformAndCompareFreestyleJob ("cbi2" , "config.job.hudson" );
200+ transformAndCompareFreestyleJob ("cbi2" );
201201 }
202202
203203 @ Test
204204 public void configJobTest_cbi3 () {
205- transformAndCompareFreestyleJob ("cbi3" , "config.job.hudson" );
205+ transformAndCompareFreestyleJob ("cbi3" );
206206 }
207207
208208 @ Test
209209 public void configJobTest_cbi4 () {
210- transformAndCompareFreestyleJob ("cbi4" , "config.job.hudson" );
210+ transformAndCompareFreestyleJob ("cbi4" );
211211 }
212212
213213 /**
214214 * Tests that the <authToken> field is transformed correctly
215215 */
216216 @ Test
217217 public void configJobTest_omr () {
218- transformAndCompareFreestyleJob ("omr" , "config.job.hudson" );
218+ transformAndCompareFreestyleJob ("omr" );
219219 }
220220
221221 /**
222222 * Tests that CloneWorkspaceSCM is transformed correctly
223223 */
224224 @ Test
225225 public void configJobTest_kura1 () {
226- transformAndCompareFreestyleJob ("kura1" , "config.job.hudson" );
226+ transformAndCompareFreestyleJob ("kura1" );
227227 }
228228
229229 /**
230230 * Tests that CloneWorkspacePublisher is transformed correctly
231231 */
232232 @ Test
233233 public void configJobTest_kura2 () {
234- transformAndCompareFreestyleJob ("kura2" , "config.job.hudson" );
234+ transformAndCompareFreestyleJob ("kura2" );
235235 }
236236
237237 /**
238238 * Tests that LockWrapper is transformed correctly
239239 */
240240 @ Test
241241 public void configJobTest_simrel1 () {
242- transformAndCompareFreestyleJob ("simrel1" , "config.job.hudson" );
242+ transformAndCompareFreestyleJob ("simrel1" );
243243 }
244244
245245 /**
246246 * Tests that Groovy build step is transformed correctly
247247 */
248248 @ Test
249249 public void configJobTest_simrel2 () {
250- transformAndCompareFreestyleJob ("simrel2" , "config.job.hudson" );
250+ transformAndCompareFreestyleJob ("simrel2" );
251251 }
252252
253253 /**
254254 * Tests that Subversion SCM is transformed correctly
255255 */
256256 @ Test
257257 public void configJobTest_jwt () {
258- transformAndCompareFreestyleJob ("jwt" , "config.job.hudson" );
258+ transformAndCompareFreestyleJob ("jwt" );
259259 }
260260
261261 /**
262262 * Tests that Buckminster build step is transformed correctly
263263 */
264264 @ Test
265265 public void configJobTest_qvtd () {
266- transformAndCompareFreestyleJob ("qvtd" , "config.job.hudson" );
266+ transformAndCompareFreestyleJob ("qvtd" );
267267 }
268268
269269 /**
270270 * Tests that parameterized trigger build step is transformed correctly
271271 */
272272 @ Test
273273 public void configJobTest_lyo () {
274- transformAndCompareFreestyleJob ("lyo" , "config.job.hudson" );
274+ transformAndCompareFreestyleJob ("lyo" );
275275 }
276276
277277// @Test
@@ -284,7 +284,7 @@ public void configJobTest_lyo() {
284284 */
285285 @ Test
286286 public void configJobTest_hono () {
287- transformAndCompareFreestyleJob ("hono" , "config.job.hudson" );
287+ transformAndCompareFreestyleJob ("hono" );
288288 }
289289
290290 /**
@@ -300,23 +300,23 @@ public void configJobTest_gendoc() {
300300 */
301301 @ Test
302302 public void configJobTest_xtext1 () {
303- transformAndCompareFreestyleJob ("xtext1" , "config.job.hudson" );
303+ transformAndCompareFreestyleJob ("xtext1" );
304304 }
305305
306306 /**
307307 * Tests that "AggregatedTestResultPublisher" does not appear twice
308308 */
309309 @ Test
310310 public void configJobTest_xtext2 () {
311- transformAndCompareFreestyleJob ("xtext2" , "config.job.hudson" );
311+ transformAndCompareFreestyleJob ("xtext2" );
312312 }
313313
314314 /**
315315 * Tests that parameter in "Trigger parameterized build on other projects" is not missing
316316 */
317317 @ Test
318318 public void configJobTest_xtext3 () {
319- transformAndCompareFreestyleJob ("xtext3" , "config.job.hudson" );
319+ transformAndCompareFreestyleJob ("xtext3" );
320320 }
321321
322322 @ Test
@@ -421,8 +421,8 @@ private void testCopyViews(String in, String configFile) {
421421 compareWithReferenceFile (nameWithoutExtension );
422422 }
423423
424- private void transformAndCompareFreestyleJob (String name , String prefix ) {
425- transformAndCompare (name , prefix , "project" );
424+ private void transformAndCompareFreestyleJob (String name ) {
425+ transformAndCompare (name , "config.job.hudson" , "project" );
426426 }
427427
428428 //TODO: simplify
0 commit comments