- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 428 for TemporaryFolder (0.39 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/fingerprint/impl/BrokenSymlinkNormalizationStrategyTest.groovy
import spock.lang.Specification @Requires(UnitTestPreconditions.Symlinks) @CleanupTestDirectory class BrokenSymlinkNormalizationStrategyTest extends Specification { @Rule final TestNameTestDirectoryProvider temporaryFolder = TestNameTestDirectoryProvider.newInstance(getClass()) private static final StringInterner STRING_INTERNER = new StringInterner() def fileSystemAccess = TestFiles.fileSystemAccess()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-execution/build-cache-packaging/src/test/groovy/org/gradle/caching/internal/packaging/impl/TarBuildCacheEntryPackerPermissionTest.groovy
Mock(Deleter) } def "can pack single file with file mode #mode"() { def sourceOutputFile = Spy(File, constructorArgs: [temporaryFolder.file("source.txt").absolutePath]) as File sourceOutputFile << "output" def targetOutputFile = Spy(File, constructorArgs: [temporaryFolder.file("target.txt").absolutePath]) as File def output = new ByteArrayOutputStream() def unixMode = Integer.parseInt(mode, 8)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/UsedGradleVersionsFromGradleUserHomeCachesTest.groovy
import spock.lang.Subject @CleanupTestDirectory class UsedGradleVersionsFromGradleUserHomeCachesTest extends Specification { @Rule TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass()) def cacheBaseDir = temporaryFolder.createDir("cache-dir") def cacheBuilderFactory = Stub(GlobalScopedCacheBuilderFactory) { getRootDir() >> cacheBaseDir } @Subject
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jan 09 20:22:44 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/crossVersionTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheCrossVersionTest.groovy
previousFixture = new ConfigurationCacheBuildOperationsFixture(new BuildOperationsFixture(previousExecuter, temporaryFolder)) currentExecuter = version(current) currentFixture = new ConfigurationCacheBuildOperationsFixture(new BuildOperationsFixture(currentExecuter, temporaryFolder)) } void runPrevious() { previousExecuter.withArguments(argFor(previous.version), 'help').run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/VersionSpecificCacheDirectoryScannerTest.groovy
import spock.lang.Subject @CleanupTestDirectory class VersionSpecificCacheDirectoryScannerTest extends Specification { @Rule TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass()) TestFile cacheBaseDir = temporaryFolder.createDir(DefaultCacheScopeMapping.GLOBAL_CACHE_DIR_NAME) @Subject def versionSpecificCacheDirectoryService = new VersionSpecificCacheDirectoryScanner(cacheBaseDir)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Aug 05 23:07:23 UTC 2021 - 2.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy
import spock.lang.TempDir class AcceptedApiChangesJsonFileManagerTest extends Specification { @TempDir File temporaryFolder @Subject AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager() def jsonFile def setup() { jsonFile = new File(temporaryFolder, 'acceptedChanges.json') } def "can clean existing API changes"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Aug 17 08:32:56 UTC 2021 - 2.5K bytes - Viewed (0) -
platforms/extensibility/unit-test-fixtures/src/test/groovy/org/gradle/testfixtures/ProjectBuilderTest.groovy
} private Project buildProject() { ProjectBuilder.builder().withProjectDir(temporaryFolder.testDirectory).build() } def canCreateARootProjectWithAGivenProjectDir() { when: def project = buildProject() then: project.projectDir == temporaryFolder.testDirectory project.gradle.gradleHomeDir == project.file('gradleHome')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 5.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/outputorigin/IncrementalBuildOutputOriginIntegrationTest.groovy
@Rule public final ScopeIdsFixture scopeIds = new ScopeIdsFixture(executer, temporaryFolder) @Rule public final OriginFixture originBuildInvocationId = new OriginFixture(executer, temporaryFolder) @Delegate @Rule public final BuildCacheKeyFixture buildCacheKeyFixture = new BuildCacheKeyFixture(executer, temporaryFolder) String getBuildInvocationId() { scopeIds.buildInvocationId.asString() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 08:27:17 UTC 2024 - 6.1K bytes - Viewed (0) -
platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/AbstractWrapperIntegrationSpec.groovy
executer.beforeExecute(action) executer.withArguments("wrapper", "--gradle-distribution-url", distributionUri.toString()).run() } void prepareWrapper(URI distributionUri = distribution.binDistribution.toURI(), TestKeyStore keyStore) { def executer = new InProcessGradleExecuter(distribution, temporaryFolder) executer.withArguments(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:54:32 UTC 2024 - 2.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/DefaultProjectRegistryTest.java
@Rule public TestNameTestDirectoryProvider temporaryFolder = new TestNameTestDirectoryProvider(getClass()); @Before public void setUp() { projectRegistry = new DefaultProjectRegistry<ProjectInternal>(); rootMock = TestUtil.create(temporaryFolder).rootProject(); childMock = TestUtil.createChildProject(rootMock, CHILD_NAME);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 19 10:56:37 UTC 2021 - 6.1K bytes - Viewed (0)