- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 355 for createFile1 (0.25 sec)
-
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/SourceParseAndResolutionTest.groovy
given: def header1 = includeDir.createFile("hello1.h") def header2 = includeDir.createFile("hello2.h") def header3 = includeDir.createFile("hello3.h") def header4 = includeDir.createFile("hello4.h") sourceFile << """ #define HEADER1_NAME1 "hello1.h" #define HEADER1_NAME2 "hello2.h"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 21.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TestKitIntegrationTest.kt
import org.junit.* import org.hamcrest.MatcherAssert.assertThat import org.junit.rules.TemporaryFolder import kotlin.io.path.appendText import kotlin.io.path.createFile class TestPluginTest { @Rule @JvmField val temporaryFolder = TemporaryFolder() @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Mar 14 10:30:09 UTC 2024 - 7.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/OutputsCleanerTest.groovy
outputFiles << outputDir.file("some-output.txt") def subDir = outputDir.createDir("subDir") outputFiles << subDir.file("in-subdir.txt") def outputFile = temporaryFolder.createFile("output.txt") outputFiles << outputFile outputFiles.each { it << "output ${it.name}" } def overlappingFile = subDir.file("overlap")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 3.4K bytes - Viewed (0) -
platforms/software/resources/src/test/groovy/org/gradle/internal/resource/transfer/UrlExternalResourceTest.groovy
class UrlExternalResourceTest extends Specification { @Rule TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass()) def "can read file"() { def file = tmpDir.createFile("content") file.text = "1234" expect: def resource = UrlExternalResource.open(file.toURI().toURL()) resource.withContentIfPresent(new ExternalResource.ContentAndMetadataAction() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.7K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 18.9K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishFeaturesJavaIntegTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 14:02:46 UTC 2023 - 19.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskInputsTest.groovy
when: file(inputFilePath).createFile() inputs.dir("a") then: inputFileProperties() == ['$1': "a"] inputs.files.files == files(inputFilePath) } def "can register input dir with property name"() { def inputFilePath = "a/input.txt" when: file(inputFilePath).createFile() inputs.dir("a").withPropertyName("prop") then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 16 20:09:26 UTC 2022 - 7.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/testFixtures/groovy/org/gradle/testing/fixture/JUnitPlatformTestFixture.groovy
def testClass = fixture.testClass(name) selected.add(testClass) return testClass } TestSuite writeContents() { def classFile = fixture.projectDir.createFile("src/test/java/${name}.java") classFile.parentFile.mkdirs() classFile << """ import org.junit.platform.suite.api.SelectClasses; import org.junit.platform.suite.api.Suite;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParserTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 33.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/DefaultProjectLayoutTest.groovy
} def "can view directory as a file tree"() { def dir1 = projectDir.createDir("dir1") def file1 = dir1.createFile("sub-dir/file1") def file2 = dir1.createFile("file2") def dir2 = projectDir.createDir("dir2") def file3 = dir2.createFile("other/file3") expect: def tree1 = layout.projectDirectory.dir("dir1").asFileTree tree1.files == [file1, file2] as Set
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 23 16:13:03 UTC 2022 - 9.5K bytes - Viewed (0)