// get the html file for the enclosing class
File htmlFileClass = new File(getAbsolutePathOutdir() + "/PkgVisibleClass.html");
- if (htmlFileClass == null || !htmlFileClass.exists()) {
+ if (!htmlFileClass.exists()) {
fail("couldn't find " + htmlFileClass.getAbsolutePath()
+ " - were there compilation errors?");
}
runAjdoc("private","1.4",files);
File htmlFile = new File(getAbsolutePathOutdir() + "/foo/DeclareCoverage2.html");
- if (htmlFile == null || !htmlFile.exists()) {
+ if (!htmlFile.exists()) {
fail("couldn't find " + htmlFile.getAbsolutePath()
+ " - were there compilation errors?");
}
runAjdoc("private","1.5",files);
File htmlFile = new File(getAbsolutePathOutdir() + "/foo/C.html");
- if (htmlFile == null || !htmlFile.exists()) {
+ if (!htmlFile.exists()) {
fail("couldn't find " + htmlFile.getAbsolutePath()
+ " - were there compilation errors?");
}
// Check the contents of C.html
File htmlC = new File(getAbsolutePathOutdir() + "/pack/C.html");
- if (htmlC == null || !htmlC.exists()) {
+ if (!htmlC.exists()) {
fail("couldn't find " + getAbsolutePathOutdir()
+ "/pack/C.html - were there compilation errors?");
}
// private one (since "public" was an argument)
// Check that this is the case......
File htmlFile = new File(getAbsolutePathOutdir() + "/foo/Pointcuts.html");
- if (htmlFile == null || !htmlFile.exists()) {
+ if (!htmlFile.exists()) {
fail("couldn't find " + htmlFile.getAbsolutePath() + " - were there compilation errors?");
}
// check the contents of the pointcut summary
// private one (since "protected" was an argument)
// Check that this is the case......
File htmlFile = new File(getAbsolutePathOutdir() + "/foo/Pointcuts.html");
- if (htmlFile == null || !htmlFile.exists()) {
+ if (!htmlFile.exists()) {
fail("couldn't find " + htmlFile.getAbsolutePath() + " - were there compilation errors?");
}
// check the contents of the pointcut summary