Package com.crawljax.plugins.crawloverview.model

Examples of com.crawljax.plugins.crawloverview.model.Statistics


  }

  @Test
  public void allStatesAreShown() {
    selenium.open("/#graph");
    Statistics statistics = HOVER_CRAWL.getResult().getStatistics();
    // drawnstate -1 because the outer state is also a group.
    int drawnStates = driver.findElements(By.cssSelector("g")).size() - 1;
    List<WebElement> drawnEdges = visibleElementsByCss("path");
    assertThat(drawnStates, is(statistics.getStateStats().getTotalNumberOfStates()));
    assertThat(drawnEdges, hasSize(statistics.getEdges()));
  }
View Full Code Here


              "Printing state difference. \nSession states: {} \nResult states: {}",
              statesCopy, session.getStateFlowGraph().getAllStates());
    }

    StateStatistics stateStats = new StateStatistics(statesCopy.values());
    return new OutPutModel(statesCopy, edgesCopy, new Statistics(session,
            stateStats, startDate, failedEvents.get()), exitStatus);
  }
View Full Code Here

TOP

Related Classes of com.crawljax.plugins.crawloverview.model.Statistics

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.