Package com.google.jstestdriver.hooks

Examples of com.google.jstestdriver.hooks.FileLoadPostProcessor


    final FileInfo info = new FileInfo("foo.js", 1234, -1, false, true, null, "foo.js");
    final String infoData = "foobar";
    final boolean shouldReset = false;
    final FileInfo expected = new FileInfo("other.js", 4321, -1, false, true, null, "other.js");

    FileLoadPostProcessor processor = new FileLoadPostProcessor() {
      public FileInfo process(FileInfo file) {
        assertEquals(infoData, file.getData());
        assertEquals(info.getFilePath(), file.getFilePath());
        assertEquals(info.getTimestamp(), file.getTimestamp());
        assertEquals(info.isServeOnly(), file.isServeOnly());
View Full Code Here

TOP

Related Classes of com.google.jstestdriver.hooks.FileLoadPostProcessor

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.