Package org.gradle.foundation.output

Examples of org.gradle.foundation.output.FileLink


      if( verifyFileExists && !file.exists() )
      {
         return -1;
      }

      fileLinks.add( new FileLink( file, start + prefix.length(), end, -1, this ) );
      return end;
   }
View Full Code Here


               + "[ant:javac] symbol  : constructor Integer()\n"
               + "[ant:javac] location: class java.lang.Integer\n"
               + "[ant:javac]       SwingUtilities.invokeLater( new Integer() );\n"
               + "[ant:javac]                                   ^\n";

       parseOutputTest(outputText, new FileLink(new File("/home/user/project/modules/plugins/src/main/java/com/thing/plugins/gradle/ui/GradleComponent.java"), 114, 215, 186));
   }
View Full Code Here

               + "[ant:javac] Note: /home/user/project/modules/plugins/gradle/src/main/java/com/thing/plugins/gradle/ui/GradleComponent.java uses or overrides a deprecated API.\n"
               + "[ant:javac] Note: Recompile with -Xlint:deprecation for details.\n"
               + "[ant:javac] 1 error\n"
               + "Total time: 4.622 secs";

       parseOutputTest(outputText, new FileLink(new File("/home/user/project/modules/plugins/gradle/src/main/java/com/thing/plugins/gradle/ui/GradleComponent.java"), 120, 224, -1));
   }
View Full Code Here

               + "* 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

               + "\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

               + "* 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

               + "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

    */
   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

               + "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

               + "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

TOP

Related Classes of org.gradle.foundation.output.FileLink

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.