- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 20 for javaClassFile (0.29 sec)
-
platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/jpms/compile/JavaModuleCrossCompileIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Sep 27 18:13:37 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaCrossCompilationIntegrationTest.groovy
} succeeds 'test' getClassMajorVersion(javaClassFile("Thing.class")) == TestJavaClassUtil.getClassVersion(toJavaVersion(version)) getClassMajorVersion(classFile ( "java", "test", "ThingTest.class")) == TestJavaClassUtil.getClassVersion(toJavaVersion(version)) where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 05:59:30 UTC 2024 - 6.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedTaskExecutionIntegrationTest.groovy
// Remove the project completely remoteProjectDir.deleteDir() when: withBuildCache().run "compileJava" then: skipped ":compileJava" javaClassFile("Hello.class").exists() } def "compile task gets loaded from cache when source is moved to another directory"() { def remoteProjectDir = file("remote-project")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 16.8K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/CachedGroovyCompileIntegrationTest.groovy
RequiredByGroovy.printSomething() } } """ file('src/main/groovy/UsesJava.groovy').makeOlder() def compiledJavaClass = javaClassFile('RequiredByGroovy.class') def compiledGroovyClass = groovyClassFile('UsesJava.class') when: withBuildCache().run ':compileJava', ':compileGroovy' then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 12 18:44:49 UTC 2023 - 5K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ChangesDuringBuildContinuousIntegrationTest.groovy
Thread.sleep(100) count-- } sendEOT() then: cancelsAndExits() when: def classloader = new URLClassLoader([javaClassFile("").toURI().toURL()] as URL[]) then: assert classloader.loadClass('Thing').getDeclaredFields()*.name == ["CHANGED"] } @UnsupportedWithConfigurationCache(because = "taskGraph.afterTask")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 6.8K bytes - Viewed (0) -
platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/integtests/JavaCompileOnlyDependencyIntegrationTest.groovy
apply plugin: 'java' ${mavenCentralRepository()} dependencies { compileOnly 'commons-logging:commons-logging:1.2' } """ when: run('compileJava') then: javaClassFile('Test.class').exists() } def "production compile only dependencies not visible to tests"() { given: file('src/test/java/Test.java') << """ import org.apache.commons.logging.Log;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 22 20:01:36 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/JavaCompileIntegrationTest.groovy
} } """ succeeds "test" then: executedAndNotSkipped ":test" javaClassFile("com/Example/Foo.class").assertIsFile() javaClassFile("com/example/Foo.class").assertDoesNotExist() } def "implementation dependencies should not leak into compile classpath of consumer"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:39 UTC 2024 - 39.6K bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/CachedScalaCompileIntegrationTest.groovy
RequiredByScala.printSomething() } } """ file('src/main/scala/UsesJava.scala').makeOlder() def compiledJavaClass = javaClassFile('RequiredByScala.class') def compiledScalaClass = scalaClassFile('UsesJava.class') when: withBuildCache().run ':compileJava', compilationTask then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 9K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestTaskIntegrationTest.groovy
exports com.acme; }''' when: succeeds 'test' then: noExceptionThrown() and: classFormat(javaClassFile('module-info.class')) == 53 classFormat(classFile('java', 'test', 'MyTest.class')) == 53 } def "test task does not hang if maxParallelForks is greater than max-workers (#maxWorkers)"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 11.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
TestFile file(Object... path) { if (path.length == 1 && path[0] instanceof TestFile) { return path[0] as TestFile } getTestDirectory().file(path) } TestFile javaClassFile(String fqcn) { classFile("java", "main", fqcn) } TestFile groovyClassFile(String fqcn) { classFile("groovy", "main", fqcn) } TestFile scalaClassFile(String fqcn) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0)