|
37 | 37 | import org.codehaus.plexus.util.FileUtils; |
38 | 38 |
|
39 | 39 | public class ResourcesMojoTest extends AbstractMojoTestCase { |
40 | | - protected static final String defaultPomFilePath = "/target/test-classes/unit/resources-test/plugin-config.xml"; |
| 40 | + private final String defaultPomFilePath = "/target/test-classes/unit/resources-test/plugin-config.xml"; |
41 | 41 |
|
42 | 42 | /** |
43 | 43 | * test mojo lookup, test harness should be working fine |
@@ -89,7 +89,7 @@ public void testResourceDirectoryStructure() throws Exception { |
89 | 89 | /** |
90 | 90 | * @throws Exception |
91 | 91 | */ |
92 | | - public void testResourceDirectoryStructure_RelativePath() throws Exception { |
| 92 | + public void testResourceDirectoryStructureRelativePath() throws Exception { |
93 | 93 | File testPom = new File(getBasedir(), defaultPomFilePath); |
94 | 94 | ResourcesMojo mojo = (ResourcesMojo) lookupMojo("resources", testPom); |
95 | 95 | MavenProjectResourcesStub project = new MavenProjectResourcesStub("resourceDirectoryStructure_RelativePath"); |
@@ -294,7 +294,7 @@ public void testResourceTargetPath() throws Exception { |
294 | 294 | /** |
295 | 295 | * @throws Exception |
296 | 296 | */ |
297 | | - public void testResourceSystemProperties_Filtering() throws Exception { |
| 297 | + public void testResourceSystemPropertiesFiltering() throws Exception { |
298 | 298 | File testPom = new File(getBasedir(), defaultPomFilePath); |
299 | 299 | ResourcesMojo mojo = (ResourcesMojo) lookupMojo("resources", testPom); |
300 | 300 | MavenProjectResourcesStub project = new MavenProjectResourcesStub("resourceSystemProperties_Filtering"); |
@@ -340,7 +340,7 @@ public void testResourceSystemProperties_Filtering() throws Exception { |
340 | 340 | /** |
341 | 341 | * @throws Exception |
342 | 342 | */ |
343 | | - public void testResourceProjectProperties_Filtering() throws Exception { |
| 343 | + public void testResourceProjectPropertiesFiltering() throws Exception { |
344 | 344 | File testPom = new File(getBasedir(), defaultPomFilePath); |
345 | 345 | ResourcesMojo mojo = (ResourcesMojo) lookupMojo("resources", testPom); |
346 | 346 | MavenProjectResourcesStub project = new MavenProjectResourcesStub("resourceProjectProperties_Filtering"); |
@@ -371,7 +371,7 @@ public void testResourceProjectProperties_Filtering() throws Exception { |
371 | 371 | /** |
372 | 372 | * @throws Exception |
373 | 373 | */ |
374 | | - public void testProjectProperty_Filtering_PropertyDestination() throws Exception { |
| 374 | + public void testProjectPropertyFilteringPropertyDestination() throws Exception { |
375 | 375 | File testPom = new File(getBasedir(), defaultPomFilePath); |
376 | 376 | ResourcesMojo mojo = (ResourcesMojo) lookupMojo("resources", testPom); |
377 | 377 | MavenProjectResourcesStub project = |
@@ -406,7 +406,7 @@ public void testProjectProperty_Filtering_PropertyDestination() throws Exception |
406 | 406 | /** |
407 | 407 | * @throws Exception |
408 | 408 | */ |
409 | | - public void testPropertyFiles_Filtering() throws Exception { |
| 409 | + public void testPropertyFilesFiltering() throws Exception { |
410 | 410 | File testPom = new File(getBasedir(), defaultPomFilePath); |
411 | 411 | ResourcesMojo mojo = (ResourcesMojo) lookupMojo("resources", testPom); |
412 | 412 | MavenProjectResourcesStub project = new MavenProjectResourcesStub("resourcePropertyFiles_Filtering"); |
@@ -439,7 +439,7 @@ public void testPropertyFiles_Filtering() throws Exception { |
439 | 439 | /** |
440 | 440 | * @throws Exception |
441 | 441 | */ |
442 | | - public void testPropertyFiles_Extra() throws Exception { |
| 442 | + public void testPropertyFilesExtra() throws Exception { |
443 | 443 | File testPom = new File(getBasedir(), defaultPomFilePath); |
444 | 444 | ResourcesMojo mojo = (ResourcesMojo) lookupMojo("resources", testPom); |
445 | 445 | MavenProjectResourcesStub project = new MavenProjectResourcesStub("resourcePropertyFiles_Extra"); |
@@ -472,7 +472,7 @@ public void testPropertyFiles_Extra() throws Exception { |
472 | 472 | /** |
473 | 473 | * @throws Exception |
474 | 474 | */ |
475 | | - public void testPropertyFiles_MainAndExtra() throws Exception { |
| 475 | + public void testPropertyFilesMainAndExtra() throws Exception { |
476 | 476 | File testPom = new File(getBasedir(), defaultPomFilePath); |
477 | 477 | ResourcesMojo mojo = (ResourcesMojo) lookupMojo("resources", testPom); |
478 | 478 | MavenProjectResourcesStub project = new MavenProjectResourcesStub("resourcePropertyFiles_MainAndExtra"); |
@@ -516,7 +516,7 @@ public void testPropertyFiles_MainAndExtra() throws Exception { |
516 | 516 | * |
517 | 517 | * @throws Exception |
518 | 518 | */ |
519 | | - public void testPropertyFiles_Filtering_TokensInFilters() throws Exception { |
| 519 | + public void testPropertyFilesFilteringTokensInFilters() throws Exception { |
520 | 520 | final File testPom = new File(getBasedir(), defaultPomFilePath); |
521 | 521 | final ResourcesMojo mojo = (ResourcesMojo) lookupMojo("resources", testPom); |
522 | 522 | final MavenProjectResourcesStub project = |
|
0 commit comments