Package com.google.enterprise.connector.otex.client.mock

Examples of com.google.enterprise.connector.otex.client.mock.MockClientValueFactory


   * for Search.
   */
  public void testGetAttributeValue_empty()
      throws RepositoryException {
    CategoryHandler categoryHandler = getObjectUnderTest("all,searchable");
    ClientValueFactory valueFactory = new MockClientValueFactory();
    ClientValue attrInfo = valueFactory.createAssoc();

    assertNull(categoryHandler.searchableCache);
    getAttributeValue(categoryHandler, attrInfo);
    assertNotNull(categoryHandler.searchableCache);
    assertTrue(categoryHandler.searchableCache.toString(),
View Full Code Here


   * for Search.
   */
  public void testGetAttributeValue_search()
      throws RepositoryException {
    CategoryHandler categoryHandler = getObjectUnderTest("all,searchable");
    ClientValueFactory valueFactory = new MockClientValueFactory();
    ClientValue attrInfo = valueFactory.createAssoc();
    attrInfo.add("Search", true);

    assertNull(categoryHandler.searchableCache);
    getAttributeValue(categoryHandler, attrInfo);
    assertNull(categoryHandler.searchableCache);
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.otex.client.mock.MockClientValueFactory

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.