- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 224 for testPipe (0.15 sec)
-
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorServicesIntegrationTest.groovy
def projectDir = project.projectDir def testFile = project.file("\$buildDir/\$name") additionalParameters = { it.classpath.from(classpath) it.setProjectDir(projectDir) it.setTestFile(testFile) } doLast { assert testFile.exists() } dependsOn sourceSets.main.output }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 12.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy
} @Test public void testPathValidationForDirectoryWithFile() { testFile.createNewFile() try { baseDirConverter.resolve(testFile.name, PathValidation.DIRECTORY) fail() } catch (InvalidUserDataException e) { assertThat(e.message, equalTo("Directory '$testFile.canonicalFile' is not a directory.".toString())) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 29 17:15:52 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy
private void createJarFileWithClassFiles(TestFile jar, List<String> classNames) { TestFile contents = tmpDir.createDir("contents/$jar.name") classNames.each { className -> writeClass(contents, className) } contents.zipTo(jar) } private static void writeClass(TestFile outputDir, String className) { TestFile classFile = outputDir.createFile("${className}.class")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 20.8K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:31:28 UTC 2024 - 13.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy
it.parentFile.listFiles().findAll { it.name == fileName } }.flatten() as Set<TestFile> } Set<TestFile> typeHierarchyAnalysisOutputs(String artifactName, File cacheDir = getCacheDir()) { return analyzeOutputs(artifactName, TYPE_HIERARCHY_ANALYSIS_FILE_NAME, cacheDir) } TestFile typeHierarchyAnalysisOutput(String artifactName, File cacheDir = getCacheDir()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 18 15:08:33 UTC 2024 - 29K bytes - Viewed (0) -
platforms/jvm/platform-jvm/src/test/groovy/org/gradle/api/java/archives/internal/DefaultManifestTest.groovy
'namE' | _ 'NamE' | _ } def "demonstrate Java vs. Ant Manifest classes behavior wrt. blank lines"() { given: TestFile noBlankLinesManifestFile = tmpDir.file('noBlankLinesManifestFile') TestFile blankLinesManifestFile = tmpDir.file('blankLinesManifestFile') noBlankLinesManifestFile.text = ''' Manifest-Version: 1.0 Some-Main-Attribute: someValue
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 15.1K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/xcode/fixtures/AbstractXcodeIntegrationSpec.groovy
fixture(file(path)) } protected NativeBinaryFixture fixture(TestFile binary) { new NativeBinaryFixture(binary, AvailableToolChains.defaultToolChain) } protected TestFile exe(String str) { file(OperatingSystem.current().getExecutableName(str)) } protected TestFile sharedLib(String str) { file(OperatingSystem.current().getSharedLibraryName(str)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:12 UTC 2023 - 11.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathIntegrationSpec.groovy
} TestFile inJarCache(String filename, boolean shouldBeFound = true) { String fullpath = result.output.readLines().find { it.matches(">>>file:.*${filename}") }.replace(">>>", "") assert fullpath.startsWith(jarsCacheDir.toURI().toString()) == shouldBeFound return new TestFile(new File(URI.create(fullpath))) } TestFile notInArtifactTransformCache(String filename) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:47 UTC 2024 - 19.6K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy
import static org.hamcrest.CoreMatchers.equalTo import static org.hamcrest.MatcherAssert.assertThat import static org.junit.Assert.assertTrue class TestFileHelper { TestFile file TestFileHelper(TestFile file) { this.file = file } void unzipTo(File target, boolean nativeTools, boolean checkParentDirs = true) { // Check that each directory in hierarchy is present
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.8K bytes - Viewed (0) -
testing/distributions-integ-tests/src/integTest/groovy/org/gradle/DistributionIntegrationSpec.groovy
zipFile.close() } } protected TestFile unpackDistribution(type = getDistributionLabel(), TestFile into = testDirectory) { TestFile zip = getZip(type) zip.usingNativeTools().unzipTo(into) assert into.listFiles().size() == 1 into.listFiles()[0] } protected TestFile getZip(String type = getDistributionLabel()) { switch (type) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:14 UTC 2024 - 10.5K bytes - Viewed (0)