Package com.google.enterprise.connector.pusher

Examples of com.google.enterprise.connector.pusher.MockFeedConnection


  private Manager getProductionManager() throws Exception {
    MockInstantiator instantiator = getMockInstantiator();
    ProductionManager manager = new ProductionManager();
    manager.setInstantiator(instantiator);
    manager.setFeedConnection(new MockFeedConnection());
    return manager;
  }
View Full Code Here


  }

  /** Returns a new XmlFeed */
  private XmlFeed newFeed() throws IOException {
    return new XmlFeed("test", FeedType.CONTENT, new FileSizeLimitInfo(),
                       null, new MockFeedConnection());
  }
View Full Code Here

    ThreadPool threadPool = new ThreadPool(5, new SystemClock());
    instantiator = new MockInstantiator(threadPool);
    instantiator.setupTestTraversers();
    manager = new ProductionManager();
    manager.setInstantiator(instantiator);
    manager.setFeedConnection(new MockFeedConnection());
    connectorName = MockInstantiator.TRAVERSER_NAME1;
    identity = new SimpleAuthenticationIdentity("bar");
  }
View Full Code Here

TOP

Related Classes of com.google.enterprise.connector.pusher.MockFeedConnection

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.