}
else
{
URL fileURL = this.getClass().getResource(basepath + fileName);
String filePath = fileURL != null ? fileURL.getPath() : basepath + fileName;
resourceProvider = new FileResourceProvider(filePath);
}
NavChecker navChecker = new NavChecker(resourceProvider, testReport, basepath
+ fileName, "application/xhtml+xml", EPUBVersion.VERSION_3);