Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for invalidExecutable (0.33 sec)

  1. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTest.groovy

            task.testClassesDirs = TestFiles.fixed(new File("tmp"))
            task.binaryResultsDirectory.fileValue(new File("out"))
            def invalidExecutable = temporaryFolder.file("invalidExecutable")
    
            when:
            task.executable = invalidExecutable
            task.javaLauncher.get()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/JavaCompileTest.groovy

            javaCompile.destinationDirectory.fileValue(new File('somewhere'))
            def invalidExecutable = temporaryFolder.file("invalidExecutable")
    
            when:
            javaCompile.options.fork = true
            javaCompile.options.forkOptions.executable = invalidExecutable
            javaCompile.createSpec()
    
            then:
            def e = thrown(AbstractProperty.PropertyQueryException)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 10:21:26 UTC 2024
    - 12.2K bytes
    - Viewed (0)
Back to top