add missing files for maven plugin test
This commit is contained in:
parent
f903382756
commit
f79133d8f5
2 changed files with 4 additions and 4 deletions
|
@ -128,7 +128,7 @@ public class RpmPackageRuleTest extends RpmBaseObjectTest {
|
||||||
rpmFileRule.setIncludes(includes);
|
rpmFileRule.setIncludes(includes);
|
||||||
rpmFileRule.setExcludes(excludes);
|
rpmFileRule.setExcludes(excludes);
|
||||||
String[] files = rpmFileRule.listFiles();
|
String[] files = rpmFileRule.listFiles();
|
||||||
assertEquals(63, files.length);
|
assertEquals(62, files.length);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(expected = PathOutsideBuildPathException.class)
|
@Test(expected = PathOutsideBuildPathException.class)
|
||||||
|
@ -147,7 +147,7 @@ public class RpmPackageRuleTest extends RpmBaseObjectTest {
|
||||||
rpmFileRule.setIncludes(includes);
|
rpmFileRule.setIncludes(includes);
|
||||||
rpmFileRule.setExcludes(excludes);
|
rpmFileRule.setExcludes(excludes);
|
||||||
String[] files = rpmFileRule.addFiles(builder);
|
String[] files = rpmFileRule.addFiles(builder);
|
||||||
assertEquals(63, files.length);
|
assertEquals(62, files.length);
|
||||||
assertEquals(94, builder.getContents().size());
|
assertEquals(92, builder.getContents().size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -167,6 +167,6 @@ public class AbstractRpmMojoTest {
|
||||||
mojo.setBuildPath(String.format("%s%sfiles", testOutputPath, File.separator));
|
mojo.setBuildPath(String.format("%s%sfiles", testOutputPath, File.separator));
|
||||||
mojo.scanMasterFiles();
|
mojo.scanMasterFiles();
|
||||||
Set<String> masterFiles = mojo.getMasterFiles();
|
Set<String> masterFiles = mojo.getMasterFiles();
|
||||||
assertEquals(65, masterFiles.size());
|
assertEquals(64, masterFiles.size());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue