- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 24 for sourceFile (0.53 sec)
-
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java
@Override public FileVisitResult visitFile(Path sourceFile, BasicFileAttributes attributes) throws IOException { Path targetFile = targetDir.resolve(sourceDir.relativize(sourceFile)); Files.copy(sourceFile, targetFile, COPY_ATTRIBUTES, REPLACE_EXISTING); return FileVisitResult.CONTINUE;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 18:31:52 UTC 2024 - 30.3K bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/regression/android/RealLifeAndroidBuildPerformanceTest.groovy
) } if (!matched) { throw new IllegalStateException("Unable to add supplementary repositories to '$sourceFile'.") } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:24:57 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy
@TempDir File jacocoDestinationDir def "reports when a TestKit build runs with a Java agent and configuration caching enabled"() { def builder = artifactBuilder() builder.sourceFile("TestAgent.java") << """ public class TestAgent { public static void premain(String p1, java.lang.instrument.Instrumentation p2) { } } """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftApplicationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 08 12:43:37 UTC 2024 - 40.2K bytes - Viewed (1) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
def jarWithClasses(Map<String, String> javaSourceFiles, TestFile jarFile) { def builder = artifactBuilder() for (Map.Entry<String, String> entry : javaSourceFiles.entrySet()) { builder.sourceFile(entry.key + ".java").text = entry.value } builder.buildJar(jarFile) } public MavenFileRepository maven(TestFile repo) { return new MavenFileRepository(repo) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/StaleOutputHistoryLossIntegrationTest.groovy
then: javaProject.assertBuildTasksSkipped(result) } def "tasks have common output directories"() { def sourceFile1 = file('source1/source1.txt') sourceFile1 << 'a' def sourceFile2 = file('source2/source2.txt') sourceFile2 << 'b' def targetFile1 = file('target/source1.txt') def targetFile2 = file('target/source2.txt') def taskPath = ':copyAll'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 19.2K bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle
performanceTest.registerTestProject("withVerboseTestNG", JvmProjectGeneratorTask) { projects = 1 sourceFiles = 10 subProjectTemplates << 'with-verbose-testng' daemonMemory = '256m' } performanceTest.registerTestProject("withVerboseJUnit", JvmProjectGeneratorTask) { projects = 1 sourceFiles = 10 subProjectTemplates << 'with-verbose-junit' daemonMemory = '256m' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 15:43:39 UTC 2024 - 19.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskPropertiesIntegrationTest.groovy
private final ConfigurableFileCollection sourceFiles = getProject().files(); @InputFiles public ConfigurableFileCollection getSourceFiles() { System.out.println("get files from field"); return sourceFiles; } public void setSourceFiles(Object files) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.1K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy
builder.build() == defaultOptions } def "can include/exclude source files"() { def file1 = new File("/src/Person.java") def file2 = new File("Computer.java") spec.sourceFiles = [file1, file2] when: builder.includeSourceFiles(true) then: builder.build() == defaultOptions + [file1.path, file2.path] when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 20:20:36 UTC 2024 - 11.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
/** One peer's streams, listener, and web socket in the test. */ private class TestStreams( client: Boolean, private val taskFaker: TaskFaker, private val sourcePipe: Pipe, private val sinkPipe: Pipe, ) : RealWebSocket.Streams(client, sourcePipe.source.buffer(), sinkPipe.sink.buffer()) { private val name = if (client) "client" else "server" val listener = WebSocketRecorder(name)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 01:59:58 UTC 2024 - 18.5K bytes - Viewed (0)