- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 356 for createRule (0.15 sec)
-
platforms/native/language-native/src/test/groovy/org/gradle/language/objectivec/tasks/ObjectiveCCompileTest.groovy
pch.includeString >> "header" pch.prefixHeaderFile >> temporaryFolder.file("prefixHeader").createFile() pch.objectFile >> temporaryFolder.file("pchObjectFile").createFile() pch.pchObjects >> TestFiles.empty() 1 * objCCompiler.execute({ ObjectiveCCompileSpec spec -> assert spec.sourceFiles*.name == ["sourceFile"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.7K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/BuildSessionServiceReuseContinuousIntegrationTest.groovy
@ToBeFixedForConfigurationCache def "reuses #service across continuous builds" () { def triggerFileName = "trigger" def triggerFile = file(triggerFileName).createFile() def idFileName = "build/${service}.id" def idFile = file(idFileName).createFile() buildFile << """ import ${UnscopedCacheBuilderFactory.name} import ${WorkerProcessClassPathProvider.name}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/internal/prebuilt/DefaultPrebuiltStaticLibraryBinaryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/tasks/SourceTaskTest.groovy
def setup() { task = createTask(SourceTask.class) } def "can append to source"() { given: File file1 = temporaryFolder.file('file1.txt').createFile() File file2 = temporaryFolder.file('file2.txt').createFile() file2.createNewFile() task.source = file1 task.source = task.source + project.layout.files(file2) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 22 12:57:17 UTC 2020 - 1.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy
skipped ':producesLink' when: target.createFile() run 'producesLink' then: executedAndNotSkipped ':producesLink' } @Issue('https://github.com/gradle/gradle/issues/1365') def "broken symlink not produced by task is ignored"() { given: def input = file("input.txt").createFile() def outputDirectory = file("output")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 15.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 14:30:36 UTC 2024 - 8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalTaskWithNormalizedInputsIntegrationTest.groovy
@Issue("https://github.com/gradle/gradle/issues/9320") def "incremental task with NAME_ONLY input (matching file names and content) detects changed input"() { def inputs = folderNames().collect { file("${it}/input.txt").createFile() } def modifiedInput = inputs[1] buildFile << incrementalTaskWithNameOnlyInputFiles(inputs) run INCREMENTAL_TASK_NAME, "--info" when: modifiedInput.text = "changed"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 30 07:31:26 UTC 2022 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/DirectoryPropertyTest.groovy
} def "can view directory as a file tree"() { given: def dir1 = baseDir.createDir("dir1") def file1 = dir1.createFile("sub-dir/file1") def file2 = dir1.createFile("file2") def dir2 = baseDir.createDir("dir2") def file3 = dir2.createFile("other/file3") expect: def tree1 = baseDirectory.asFileTree tree1.files == [file1, file2, file3] as Set and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/initialization/InitScriptHandlerTest.groovy
then: 0 * executor._ 0 * processor._ } def "finds and processes init scripts"() { File script1 = testDirectoryProvider.createFile("script1.gradle") File script2 = testDirectoryProvider.createFile("script2.gradle") given: startParameter.allInitScripts >> [script1, script2] when: handler.executeScripts(gradle) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 2.5K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/ProjectFactoryTest.groovy
def setup() { owner.buildIdentifier >> buildId } def "creates a project with build script"() { def buildFile = tmpDir.createFile("build.gradle") def projectDir = tmpDir.createFile("project") given: projectDescriptor.name >> "name" projectDescriptor.projectDir >> projectDir projectDescriptor.buildFile >> buildFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jul 06 10:41:06 UTC 2023 - 5.7K bytes - Viewed (0)