- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 356 for createRule (0.24 sec)
-
platforms/native/language-native/src/test/groovy/org/gradle/language/objectivecpp/tasks/ObjectiveCppCompileTest.groovy
pch.includeString >> "header" pch.prefixHeaderFile >> temporaryFolder.file("prefixHeader").createFile() pch.objectFile >> temporaryFolder.file("pchObjectFile").createFile() pch.pchObjects >> TestFiles.empty() 1 * objCppCompiler.execute({ ObjectiveCppCompileSpec 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) -
subprojects/core/src/test/groovy/org/gradle/internal/installation/GradleRuntimeShadedJarDetectorTest.groovy
writeClass(contents) contents.createFile(GradleRuntimeShadedJarDetector.MARKER_FILENAME) } } private void createJarWithoutMarkerFile(TestFile jar) { handleAsJarFile(jar) { TestFile contents -> writeClass(contents) contents.createFile('content.txt') } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 06 01:29:26 UTC 2020 - 3.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/CopyActionExecuterTest.groovy
def "correctly executes copy actions, normalising and handling excludes"() { given: file("a").with { createFile("a") } file("b").with { createFile("b") createDir("b1").createFile("b1") } def resolver = TestFiles.resolver(testDirectory) def fileCollectionFactory = TestFiles.fileCollectionFactory(testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Feb 28 12:39:32 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryWalkerTest.groovy
long minimumTimestamp = (System.currentTimeMillis() / 1000 * 1000) - 2000 def file1 = rootDir.createFile("a/b/1.txt") file1 << '12345' def file2 = rootDir.createFile("a/b/2.txt") file2 << '12345' def file3 = rootDir.createFile("a/b/3.txt") file3 << '12345' def fileTree = new DirectoryFileTree(rootDir, new PatternSet(), TestFiles.fileSystem(), false)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/jvm/ear/src/integTest/groovy/org/gradle/plugins/ear/EarPluginIntegrationTest.groovy
<application-name>customear</application-name> </application> """ file("${appDirectory}/META-INF/application.xml").createFile().write(applicationXml) file("${appDirectory}/someOtherFile.txt").createFile() file("${appDirectory}/META-INF/stuff/yetAnotherFile.txt").createFile() buildFile << """ apply plugin: 'ear' ear { ${descriptorConfig} deploymentDescriptor {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 24 06:54:47 UTC 2023 - 17.2K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/PCHUtilsTest.groovy
given: def tempDir = tmpDirProvider.createDir("temp") def objectDir = tmpDirProvider.createDir("pch") def prefixFile = tempDir.createFile("header.h") def objectFile = tempDir.createFile("header.o") prefixFile << "#include <stdio.h>" objectFile << "some content" when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/MavenToolchainsInstallationSupplierTest.groovy
} def "ignores toolchains with external xml entities"(boolean useProperty) { given: def externalFile = temporaryFolder.file('external.txt').createFile() def toolchains = mavenHome.createFile("toolchains.xml") toolchains << """ <!DOCTYPE data [ <!ENTITY file SYSTEM "file://${normaliseFileSeparators(externalFile.absolutePath)}"> ]>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 16.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterStatisticsTest.groovy
def "can visit directory hierarchy"() { given: def root = tmpDir.createDir("root") def subDir1 = root.createDir("sub-dir-1") subDir1.createFile("file.txt") def subDir2 = root.createDir("sub-dir-2") subDir2.createFile("file.txt") when: snapshot(root) then: 1 * statisticsCollector.recordVisitHierarchy() then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 5.1K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/nio/ModificationTimeFileAccessTimeJournalTest.groovy
def "updates modification time"() { given: def file = tmpDir.createFile("file") when: journal.setLastAccessTime(file, FIXED_TIMESTAMP) then: file.lastModified() == FIXED_TIMESTAMP } def "reads modification time"() { given: def file = tmpDir.createFile("file") file.lastModified = FIXED_TIMESTAMP when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:57 UTC 2024 - 1.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/tasks/DeleteTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 20 11:15:22 UTC 2023 - 3.1K bytes - Viewed (0)