Package com.google.enterprise.connector.dctm.dfcwrap

Examples of com.google.enterprise.connector.dctm.dfcwrap.IFormat


    }
  }

  public void testGetFormat() {
    try {
      IFormat format = object.getFormat();
      assertEquals(format.getMIMEType(), DmInitialize.DM_DEFAULT_MIMETYPE);
    } catch (RepositoryException e) {
      // TODO: Why is this exception ignored?
    }
  }
View Full Code Here


    IId id = dctmClientX.getId(DmInitialize.DM_ID2);
    object = (ISysObject) sess7.getObject(id);
  }

  public void testCanIndex() throws RepositoryException {
    IFormat format = object.getFormat();
    assertTrue(format.canIndex());
  }
View Full Code Here

    IFormat format = object.getFormat();
    assertTrue(format.canIndex());
  }

  public void testGetMIMEType() throws RepositoryException {
    IFormat format = object.getFormat();
    String mime = ((MockDmFormat) format).getMIMEType();
    assertEquals(DmInitialize.DM_DEFAULT_MIMETYPE, mime);
  }
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.dctm.dfcwrap.IFormat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.