Skip to content

Commit

Permalink
fix #288 - update test to expect the change made to the server-genera…
Browse files Browse the repository at this point in the history
…ted binary metadata
  • Loading branch information
sammefford committed May 7, 2015
1 parent 7c558b5 commit 97d8f7a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class BinaryDocumentTest {
@BeforeClass
public static void beforeClass() {
Common.connect();
//System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.http.wire", "debug");
}
@AfterClass
public static void afterClass() {
Expand Down Expand Up @@ -80,7 +81,7 @@ public void testReadWrite() throws IOException, XpathException {
docMgr.setMetadataCategories(Metadata.PROPERTIES);
Document metadataDocument = docMgr.readMetadata(docId, new DOMHandle()).get();
assertXpathEvaluatesTo("image/png","string(/*[local-name()='metadata']/*[local-name()='properties']/*[local-name()='content-type'])", metadataDocument);
assertXpathEvaluatesTo("none","string(/*[local-name()='metadata']/*[local-name()='properties']/*[local-name()='filter-capabilities'])", metadataDocument);
assertXpathEvaluatesTo("text HD-HTML","string(/*[local-name()='metadata']/*[local-name()='properties']/*[local-name()='filter-capabilities'])", metadataDocument);
assertXpathEvaluatesTo("815","string(/*[local-name()='metadata']/*[local-name()='properties']/*[local-name()='size'])", metadataDocument);
}
}

0 comments on commit 97d8f7a

Please sign in to comment.