Esempio n. 1
0
  /**
   * Test typical Acrobat CS3 metadata
   *
   * @throws Exception Forwards exceptions to JUnit
   */
  public void testAcrobatS3() throws Exception {
    XMPMeta xmp = XMPMetaFactory.parse(getTestFilestream("XMPApplicationDataTest_AcrobatCS3.xmp"));
    assertNotNull(xmp);

    log(xmp.dumpObject());

    compareReferenceAndResult("XMPApplicationDataTest_AcrobatCS3.txt", xmp.dumpObject());
  }
Esempio n. 2
0
  /**
   * Test typical Indesign CS3 metadata
   *
   * @throws Exception Forwards exceptions to JUnit
   */
  @Ignore("todo: Import the latest changes to enable the below test case.")
  public void itestIndesignCS3() throws Exception {
    XMPMeta xmp = XMPMetaFactory.parse(getTestFilestream("XMPApplicationDataTest_IndesignCS3.xmp"));
    assertNotNull(xmp);

    log(xmp.dumpObject());

    compareReferenceAndResult("XMPApplicationDataTest_IndesignCS3.txt", xmp.dumpObject());
  }