Examples of FileLink


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

      }
      else
      {
         if( hasClickableFiles )
         {
            FileLink fileLink = getFileLinkAt( point );
            if( fileLink != null )
            {
               interaction.fileClicked( fileLink.getFile(), fileLink.getLineNumber() );
            }
         }
      }
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

    @param fileLinks the FileLinks to apply
    */
   private void highlightFileLinks( List<FileLink> fileLinks ) {
      Iterator<FileLink> iterator = fileLinks.iterator();
      while( iterator.hasNext() ) {
         FileLink fileLink = iterator.next();

         document.setCharacterAttributes( fileLink.getStartingIndex(), fileLink.getLength(), fileStyle, true );
      }
   }
View Full Code Here

Examples of org.gradle.foundation.output.FileLink

    There is a single file link in it. We should find it. Specifically, this is going
    to break up the file so it comes in multiple parts.
    */
   public void testBasic()
   {
      FileLink expectedFileLink = new FileLink( new File( "/home/user/project/modules/plugins/src/main/java/com/thing/plugins/gradle/ui/GradleComponent.java" ), 114, 215, 186 );

      appendTextWithoutFileLinks( ":distributionDiskResources " );
      appendTextWithoutFileLinks( "SKIPPED\n:installDiskResources SKIPPED\n" );
      appendTextWithoutFileLinks( ":idea-plugins:ideagradle:compileJava\n" );
      appendTextWithoutFileLinks( "[ant:javac] /home/user/project/modules/plugins");
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.