Package com.crawljax.plugins.crawloverview.model

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


      LOG.info(
              "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


    assertThat(result.getEdges(), hasSize(NUMBER_OF_EDGES));
  }

  @Test
  public void verifyFanStatistics() {
    StateStatistics stats = result.getStatistics().getStateStats();
    assertThat("Least fan in", stats.getLeastFanIn().getCount(), is(1));
    assertThat("Most fan in", stats.getMostFanIn().getCount(), is(2));
    assertThat("Least fan out", stats.getLeastFanOut().getCount(), is(0));
    assertThat("Most fan out", stats.getMostFanOut().getCount(), is(2));
  }
View Full Code Here

TOP

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

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.