Examples of FileLink


Examples of org.gradle.foundation.output.FileLink

               + "* What went wrong:\n"
               + "blah blah blah\n"
               + "Build file '/home/user/gradle/build.gradle'"
               + "Total time: 4.622 secs";

       parseOutputTest(outputText, new FileLink(new File("/home/user/gradle/build.gradle"), 63, 104, 431), new FileLink(new File("/home/user/gradle/build.gradle"), 152, 182, -1));
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

               + "\n"
               + "* What went wrong:\n"
               + "blah blah blah\n"
               + "Total time: 4.622 secs";

       parseOutputTest(outputText, new FileLink(new File("/home/user/gradle/subprojects/gradle-core/src/main/groovy/org/gradle/util/exec/ExecHandleShutdownHookAction.java"), 147, 262, 38));
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

               + "* What went wrong:\n"
               + "Cause: Checkstyle check violations were found in main Java source. See the report at /home/user/gradle/subprojects/gradle-core/build/checkstyle/main.xml\n"
               + "Total time: 4.622 secs"
               + "blah blah blah";

       parseOutputTest(outputText, new FileLink(new File("/home/user/gradle/subprojects/gradle-core/build/checkstyle/main.xml"), 271, 338, -1));
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

               + "Cause: CodeNarc check violations were found in test Groovy source. See the report at /home/user/gradle/subprojects/gradle-ui/build/reports/codenarc/test.html.\n"
               + "\n"
               + "* Try:\n"
               + "Run with -s or -d option to get more details. Run with -S option to get the full (very verbose) stacktrace.";

       parseOutputTest(outputText, new FileLink(new File("/home/user/gradle/subprojects/gradle-ui/build/reports/codenarc/test.html"), 150, 222, -1));
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

    */
   public void testOffByOneCharacterBug() {
       String outputText = "[ant:javac] Note: /home/user/modules/f1j/src/main/java/com/thing/DesignerManager.java uses or overrides a deprecated API.\n"
               + "Build file '/home/user/modules/build.gradle'";

       parseOutputTest(outputText, new FileLink(new File("/home/user/modules/f1j/src/main/java/com/thing/DesignerManager.java"), 18, 85, -1),
               new FileLink(new File("/home/user/modules/build.gradle"), 134, 165, -1));
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

               + "Execution failed for task ':integTest'.\n"
               + "Cause: There were failing tests. See the report at /home/user/gradle/gradle/build/reports/tests.\n"
               + "Total time: 4.622 secs\n"
               + "blah blah blah";

       parseOutputTest(outputText, new FileLink(new File("/home/user/gradle/gradle/build.gradle"), 63, 100, -1),
               new FileLink(new File("/home/user/gradle/gradle/build/reports/tests/index.html"), 213, 258, -1));
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

               + "Cause: CodeNarc check violations were found in test Groovy source. See the report at /home/user/modules/gradle/subprojects/gradle-ui/build/reports/codenarc/test.html.\n"
               + "\n"
               + "* Try:\n"
               + "Run with -s or -d option to get more details. Run with -S option to get the full (very verbose) stacktrace.";

            parseOutputTest(outputText, new FileLink(new File("/home/user/modules/gradle/subprojects/gradle-core/src/main/groovy/org/gradle/util/exec/ExecHandleShutdownHookAction.java"), 120, 243, 38),
                    new FileLink(new File("/home/user/modules/gradle/subprojects/gradle-core/src/test/groovy/org/gradle/integtests/DistributionIntegrationTestRunner.java"), 282, 408, -1),
                    new FileLink(new File("/home/user/modules/gradle/subprojects/gradle-core/build/checkstyle/main.xml"), 531, 606, -1),
                    new FileLink(new File("/home/user/modules/gradle/subprojects/gradle-ui/ui.gradle"), 622, 679, -1),
                    new FileLink(new File("/home/user/modules/gradle/subprojects/gradle-ui/build/reports/codenarc/test.html"), 832, 912, -1));
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

               + "/home/user/files/Thing2.JAVA:929: cannot find symbol\n"
               + "/home/user/files/Thing3.JaVa:77: incompatible types\n"
               + "* Try:\n"
               + "Run with -s or -d option to get more details. Run with -S option to get the full (very verbose) stacktrace.";

       parseOutputTest(outputText, new FileLink(new File("/home/user/files/Thing.java"), 65, 95, 38),
               new FileLink(new File("/home/user/files/Thing2.JAVA"), 128, 160, 929),
               new FileLink(new File("/home/user/files/Thing3.JaVa"), 181, 212, 77));
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

        }

        String remainder = matchedText.substring(realPathEnd);
        int lineNumber = PrefixedFileLinkDefinition.getLineNumber(remainder, lineNumberDelimiter);

        fileLinks.add(new FileLink(file, start + prefixIndex, end, lineNumber, this));
        return end;
    }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

        }

        String remainder = matchedText.substring(realPathEnd);
        int lineNumber = getLineNumber(remainder, lineNumberDelimiter);

        fileLinks.add(new FileLink(file, start + prefixIndex, end, lineNumber, this));
        return end;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.