Package org.waveprotocol.wave.model.testing.RandomDocOpGenerator

Examples of org.waveprotocol.wave.model.testing.RandomDocOpGenerator.Parameters


  }

  public void testRandomDocOps() throws OperationException {
    OpEquator eq = OpComparators.SYNTACTIC_IDENTITY;

    Parameters p = new Parameters();
    for (int i = 0; i < 200; i++) {
      BootstrapDocument doc = new BootstrapDocument();
      for (int j = 0; j < 20; j++) {
        RandomProvider ra = RandomProviderImpl.ofSeed(i * 20 + j);
        RandomProvider rb = RandomProviderImpl.ofSeed(i * 20 + j + 1);
View Full Code Here


    } catch (AssertionError e) { }
    Map<Event, Integer> eventCounts = new TreeMap<Event, Integer>();

    DocOpScrub.setShouldScrubByDefault(false);
    r = RandomProviderImpl.ofSeed(seed);
    p = new Parameters();
    p.setMaxOpeningComponents(5);
    Doc client = new Doc();
    FakeServer server = new FakeServer(r, p);
    LinkedList<Integer> xhrResponses = Lists.newLinkedList();
View Full Code Here

TOP

Related Classes of org.waveprotocol.wave.model.testing.RandomDocOpGenerator.Parameters

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.