- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for someFile (0.2 sec)
-
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListenerTest.groovy
name >> "SomeFile.java" } diagnostic.lineNumber >> 1 diagnostic.columnNumber | diagnostic.startPosition | diagnostic.endPosition >> Diagnostic.NOPOS when: diagnosticToProblemListener.buildProblem(diagnostic, spec) then: 1 * spec.fileLocation("SomeFile.java") 1 * spec.lineInFileLocation("SomeFile.java", 1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 30 13:58:13 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/vfs/impl/DefaultFileSystemAccessTest.groovy
def someFile = parentDir.file("directory/somefile.txt").createFile() when: allowFileSystemAccess(true) def snapshot = read(someFile) then: assertIsFileSnapshot(snapshot, someFile) when: allowFileSystemAccess(false) fileSystemAccess.write([someFile.absolutePath]) { someFile << "Updated" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 09:41:32 UTC 2023 - 10K bytes - Viewed (0) -
platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/plugins/DistributionPluginIntegrationTest.groovy
} def createTarTaskForCustomDistribution() { when: buildFile << """ apply plugin:'distribution' distributions { custom{ contents { from { "someFile" } } } } """ then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Oct 20 21:03:51 UTC 2023 - 13.8K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/ClassMethodNameStackTraceSpecTest.groovy
spec.isSatisfiedBy(new StackTraceElement("ClassName", "methodName", "SomeFile.java", 42)) spec.isSatisfiedBy(new StackTraceElement('ClassName$1$1$1', "methodName", "SomeFile.kt", 42)) spec.isSatisfiedBy(new StackTraceElement("ClassName", "otherMethodName", "SomeFile.java", 42)) !spec.isSatisfiedBy(new StackTraceElement('ClassName1$1', "otherMethodName", "SomeFile.java", 42))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecActionFactoryTest.groovy
.withInstantiator(instantiator.decorateLenient()) .withObjectFactory(TestUtil.objectFactory()) .build() def javaexec() { File testFile = tmpDir.file("someFile") List files = ClasspathUtil.getClasspath(getClass().classLoader).asFiles when: ExecResult result = factory.javaexec { spec -> spec.classpath(files as Object[])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 15 17:11:21 UTC 2023 - 4.1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy
cacheEntries[2].assertExists() deletedFiles == [cacheEntries[1]] } def "can delete directories"() { given: def cacheEntry = cacheDir.file("subDir").createFile("somefile") cacheEntry.text = "delete me" when: cleanupAction(finder([cacheEntry.parentFile]), { true }) .clean(cleanableStore, progressMonitor) then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 4.4K bytes - Viewed (0) -
maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
assertActivation(false, newExistsProfile("someFile.txt"), context); assertActivation(false, newExistsProfile("${basedir}/someFile.txt"), context); assertActivation(false, newMissingProfile(null), context); assertActivation(true, newMissingProfile("someFile.txt"), context); assertActivation(true, newMissingProfile("${basedir}/someFile.txt"), context); } @Test
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/locking/ExclusiveFileAccessManagerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:52:53 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/files/fileTrees/groovy/build.gradle
tree.visit {element -> println "$element.relativePath => $element.file" } // end::use[] // tag::archive-trees[] // Create a ZIP file tree using path FileTree zip = zipTree('someFile.zip') // Create a TAR file tree using path FileTree tar = tarTree('someFile.tar') //tar tree attempts to guess the compression based on the file extension //however if you must specify the compression explicitly you can:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/impl/DefaultDeleterTest.groovy
TestFile dir = tmpDir.getTestDirectory() dir.file("someFile").createFile() when: boolean didWork = deleter.deleteRecursively(dir) then: dir.assertDoesNotExist() didWork } def "deletes file"() { given: TestFile dir = tmpDir.getTestDirectory() TestFile file = dir.file("someFile") file.createFile() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 09 12:40:48 UTC 2024 - 14.2K bytes - Viewed (0)