- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for compileWithoutClasspath (0.27 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/process/internal/SingleRequestWorkerProcessIntegrationTest.groovy
def e = thrown(IllegalArgumentException) e.message == 'Could not convert abc' } def "reports failure to load worker implementation class"() { given: def cl = compileWithoutClasspath("CustomTestWorker", """ import ${RequestHandler.name} class CustomTestWorker implements RequestHandler<Long, Object> { Object run(Long request) { throw new RuntimeException() } } """) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Mar 15 22:51:06 UTC 2020 - 5.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/MultiRequestWorkerProcessIntegrationTest.groovy
result.toString() == "custom-result" cleanup: worker?.stop() } def "propagates failure to load worker implementation class"() { given: def cl = compileWithoutClasspath("CustomTestWorker", """ import ${RequestHandler.name} class CustomTestWorker implements RequestHandler<Long, Object> { Object run(Long request) { throw new RuntimeException() } } """) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Mar 15 22:51:06 UTC 2020 - 6.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/process/internal/AbstractWorkerProcessIntegrationSpec.groovy
} def cleanupSpec() { services.close() } File gradleUserHome() { return tmpDir.file("gradleUserHome") } Class<?> compileWithoutClasspath(String className, String classText) { return new GroovyClassLoader(getClass().classLoader).parseClass(classText, className) } Class<?> compileToDirectoryAndLoad(String className, String classText) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 7.5K bytes - Viewed (0)