Package com.google.enterprise.connector.sharepoint.spiimpl

Examples of com.google.enterprise.connector.sharepoint.spiimpl.SPDocumentList


    document2.setParentList(list2);
    List<SPDocument> list2CrawlQueue = new ArrayList<SPDocument>();
    list2CrawlQueue.add(document2);
    list2.setCrawlQueue(list2CrawlQueue);

    SPDocumentList traversalResult =
        spClient.traverse(globalState, dummyWebState, 0, true);

    assertNotNull(traversalResult);
    assertEquals(ImmutableList.of(
        document0, document1, document2), traversalResult.getDocuments());
    assertEquals(ImmutableList.of(document0, document1), list1.getCrawlQueue());
    assertEquals(ImmutableList.of(document2), list2.getCrawlQueue());
  }
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.sharepoint.spiimpl.SPDocumentList

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.