- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 747 for TestFile (0.18 sec)
-
testing/distributions-integ-tests/src/integTest/groovy/org/gradle/AllDistributionIntegrationSpec.groovy
def allZipContents() { given: TestFile contentsDir = unpackDistribution() expect: checkMinimalContents(contentsDir) // Source contentsDir.file('src').eachFile { TestFile file -> file.assertIsDir() } contentsDir.file('src/core-api/org/gradle/api/Project.java').assertIsFile()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2K bytes - Viewed (0) -
platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/Antlr3RelocationIntegrationTest.groovy
import org.gradle.test.fixtures.file.TestFile class Antlr3RelocationIntegrationTest extends AbstractProjectRelocationIntegrationTest { @Override protected String getTaskName() { return ":generateGrammarSource" } @Override protected void setupProjectIn(TestFile projectDir) { projectDir.file("src/main/antlr/org/acme/test/Test.g") << """grammar Test;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/enterprise/enterprise-plugin-performance/src/performanceTest/groovy/org/gradle/performance/BuildScanPluginPerformanceTest.groovy
def buildCacheDirectory = new TestFile(projectDir, 'local-build-cache') def cacheEntries = buildCacheDirectory.listFiles() if (cacheEntries == null) { throw new IllegalStateException("Cache dir doesn't exist, did the build succeed? Please check the build log.") } cacheEntries.sort().eachWithIndex { TestFile entry, int i -> if (i % 2 == 0) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 19 09:04:53 UTC 2024 - 9.4K bytes - Viewed (0) -
platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/javadoc/JavadocToolchainIntegrationTest.groovy
} private TestFile configureProjectWithJavaPlugin() { buildFile << """ plugins { id 'java' } javadoc { options.jFlags("-version") } """ } private TestFile configureProjectWithoutJavaBasePlugin() { buildFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 8.2K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/HttpBuildCacheServer.groovy
this.webapp.setInitParameter("org.eclipse.jetty.servlet.Default.useFileMappedBuffer", "false") } TestFile getCacheDir() { Preconditions.checkNotNull(cacheDir) } List<TestFile> listCacheFiles() { cacheDir.listFiles().findAll { it.name ==~ /\p{XDigit}{${Hashing.defaultFunction().hexDigits}}/ }.sort() } void deleteCacheFiles() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.3K 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) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r85/TestLauncherDebugCrossVersionTest.groovy
} } } } private void javaBuildWithTests(TestFile projectDir) { propertiesFile << 'org.gradle.configuration-cache=true' projectDir.file('settings.gradle') << '' javaLibraryWithTests(projectDir) } private void javaLibraryWithTests(TestFile projectDir) { projectDir.file('build.gradle') << ''' plugins {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 29 08:00:25 UTC 2023 - 4.6K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppGeneratedPublicHeadersIntegrationTest.groovy
import org.gradle.nativeplatform.fixtures.AbstractInstalledToolChainIntegrationSpec import org.gradle.nativeplatform.fixtures.app.CppAppWithLibraries import org.gradle.test.fixtures.file.TestFile import spock.lang.Issue class CppGeneratedPublicHeadersIntegrationTest extends AbstractInstalledToolChainIntegrationSpec { def app = new CppAppWithLibraries() def setup() { settingsFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 30 15:38:28 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/jvm/JvmTest.groovy
JavaVersion.resetCurrent() OperatingSystem.resetCurrent() } def assertJreHomeIfNotJava9(Jvm jvm, TestFile softwareRoot, String jreHome) { assertJreHomeIfNotJava9(jvm, softwareRoot, jreHome, false /* alsoStandaloneJreHome */) } def assertJreHomeIfNotJava9(Jvm jvm, TestFile softwareRoot, String jreHome, boolean alsoStandaloneJreHome) { if (jvm.javaVersion.isJava9Compatible()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 00:09:57 UTC 2024 - 15.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/normalization/ConfigureRuntimeClasspathNormalizationIntegrationTest.groovy
PropertiesResource propertiesFileInNestedInDirJar TestFile libraryJar TestFile nestedJar TestFile nestedInDirJar private TestFile libraryJarContents private TestFile nestedJarContents private TestFile nestedInDirJarContents private final String projectName final TestFile buildFile final TestFile settingsFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 01 03:07:53 UTC 2023 - 37.2K bytes - Viewed (0)