- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for invalidExecutable (0.2 sec)
-
platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/javadoc/JavadocTest.groovy
execute(task) then: 1 * tool.execute(_) } def "fails if custom executable does not exist"() { def invalidExecutable = temporaryFolder.file("invalidExecutable") when: task.executable = invalidExecutable execute(task) then: def e = thrown(TaskExecutionException) def cause = TestUtil.getRootCause(e) as InvalidUserDataException
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.8K bytes - Viewed (0) -
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) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/JavaExecTest.groovy
task.jvmArgs.isEmpty() } def 'fails if custom executable does not exist'() { def task = project.tasks.create("run", JavaExec) def invalidExecutable = temporaryFolder.file("invalid") when: task.executable = invalidExecutable execute(task) then: def e = thrown(TaskExecutionException) def cause = TestUtil.getRootCause(e) as InvalidUserDataException
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.8K bytes - Viewed (0) -
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)