Package com.google.jstestdriver.model

Examples of com.google.jstestdriver.model.RunData


    final RunTestsAction action =
        new RunTestsAction(new FakeResponseStreamFactory(stream), tests, captureConsole,
            Collections.<TestsPreProcessor> emptySet(), new NullStopWatch());
    final FakeJsTestDriverClient client = new FakeJsTestDriverClient(Collections.<BrowserInfo>emptyList());
    action.run(browserId, client, new RunData(
        Collections.<ResponseStream>emptyList(),
        Collections.<JstdTestCase>emptyList(),
        null), null);

    client.assertTestRun(expected);
View Full Code Here


    final RunTestsAction action =
        new RunTestsAction(new FakeResponseStreamFactory(stream), tests, captureConsole,
            preProcessors, new NullStopWatch());
    final FakeJsTestDriverClient client = new FakeJsTestDriverClient(Collections.<BrowserInfo>emptyList());
    action.run(browserId, client, new RunData(Collections.<ResponseStream>emptyList(), Collections.<JstdTestCase>emptyList(), null), null);

    client.assertTestRun(expected);
  }
View Full Code Here

    final FakeJsTestDriverClient client = new FakeJsTestDriverClient(capturedBrowsers, nextId);
    BrowserStartupAction action =
        new BrowserStartupAction(browsers, client, serverAddress,
            Executors.newSingleThreadExecutor(), new BrowserControlFactoryFake(client));

    action.run(new RunData(Collections.<ResponseStream>emptyList(), Collections
        .<JstdTestCase>emptyList(), null));
    assertEquals(serverAddress + "/capture/id/123/timeout/1000/upload_size/0/",
        browserRunner.serverAddress);
  }
View Full Code Here

    this.stopWatch = stopWatch;
    this.factory = factory;
  }

  public void runActions() {
    RunData runData = factory.get();
    logger.info("TestCases {}", runData.getTestCases().size());
    if (logger.isDebugEnabled()) {
      for (JstdTestCase testCase : runData.getTestCases()) {
        if (testCase.getTests().size() == 1) {
          logger.debug("{}:\n{}", testCase.getTests().get(0).getDisplayPath(),
              Lists.transform(testCase.getDependencies(), new Function<FileInfo, String>() {
                @Override
                public String apply(FileInfo f) {
View Full Code Here

TOP

Related Classes of com.google.jstestdriver.model.RunData

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.