Class ValidatingParserTest
java.lang.Object
org.openpreservation.odf.validation.ValidatingParserTest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
-
Constructor Details
-
ValidatingParserTest
public ValidatingParserTest()
-
-
Method Details
-
testParseNullPath
-
testParsePath
public void testParsePath() throws PackageParser.ParseException, URISyntaxException, IOException, ParserConfigurationException, SAXException -
testParseNullFile
-
testParseFile
public void testParseFile() throws PackageParser.ParseException, IOException, URISyntaxException, ParserConfigurationException, SAXException -
testParseNullStream
-
testParseNullName
-
testParseStream
public void testParseStream() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException -
testValidPackage
public void testValidPackage() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testInValidZip
public void testInValidZip() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testBadlyFormedPackage
public void testBadlyFormedPackage() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testNoManifest
public void testNoManifest() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testManifestRootNoMime
public void testManifestRootNoMime() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testManifestRootRandMimetype
public void testManifestRootRandMimetype() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testManifestRandRootMime
public void testManifestRandRootMime() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testManifestRootDiffMime
public void testManifestRootDiffMime() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testManifestEmptyRootMime
public void testManifestEmptyRootMime() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testManifestEntry
public void testManifestEntry() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testMimetypeEntry
public void testMimetypeEntry() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testMetainfEntry
public void testMetainfEntry() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testMissingManifestEntry
public void testMissingManifestEntry() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testMissingXmlEntry
public void testMissingXmlEntry() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testMissingFile
public void testMissingFile() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testNoMimeWithRoot
public void testNoMimeWithRoot() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testNoRootMimeTyoe
public void testNoRootMimeTyoe() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testNoMimeNoRoot
public void testNoMimeNoRoot() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testMimeLast
public void testMimeLast() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testMimeCompressed
public void testMimeCompressed() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testMimeCompressedLast
public void testMimeCompressedLast() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testMimeExtra
public void testMimeExtra() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testNoThumbnail
public void testNoThumbnail() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testNoEmbeddedWord
public void testNoEmbeddedWord() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testPasswordEncrypted
public void testPasswordEncrypted() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testDsigValid
public void testDsigValid() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testDsigInvalid
public void testDsigInvalid() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException -
testDsigInvalidBadName
public void testDsigInvalidBadName() throws ParserConfigurationException, SAXException, IOException, PackageParser.ParseException, URISyntaxException
-