Package com.google.jstestdriver

Examples of com.google.jstestdriver.LoadedFileInfo


    this.mapper = mapper;
  }

  public List<FileInfo> processPlugins(List<FileInfo> files) {
    LinkedList<FileInfo> processed = new LinkedList<FileInfo>();
    processed.add(0, new LoadedFileInfo(LCOV_JS, -1, false, false,
        fileLoader.load("/" + LCOV_JS)));
    processed.addAll(files);
    return processed;
  }
View Full Code Here


    List<FileInfo> processed = new CoverageJsAdder(
        new FileLoaderStub(lcovSource),
        new CoverageNameMapper()).processPlugins(files);
    FileInfo lcov = processed.get(0);
    assertEquals(
        new LoadedFileInfo(CoverageJsAdder.LCOV_JS, -1, false, false, lcovSource),
        lcov);
    assertEquals(lcovSource, lcov.getData());
    assertFalse(lcov.canLoad());
  }
View Full Code Here

    List<FileInfo> processed = new CoverageJsAdder(
        new FileLoaderStub(lcovSource),
        new CoverageNameMapper()).processPlugins(files);
    FileInfo lcov = processed.get(0);
    assertEquals(
        new LoadedFileInfo(CoverageJsAdder.LCOV_JS, -1, false, false, lcovSource),
        lcov);
    assertEquals(lcovSource, lcov.getData());
    assertFalse(lcov.canLoad());
    assertSame(expected, processed.get(1));
  }
View Full Code Here

TOP

Related Classes of com.google.jstestdriver.LoadedFileInfo

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.