- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for setUpProject (0.36 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheStandardStreamsIntegrationTest.groovy
import javax.annotation.Nullable class ConfigurationCacheStandardStreamsIntegrationTest extends AbstractConfigurationCacheIntegrationTest { def "#task task can run with default configuration"() { setUpProject( makeTask(task, extraArg: "Gradle") ) when: configurationCacheRun("run") then: outputContains("Hello, Gradle") where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 8.6K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/swift/SwiftCachingIntegrationTest.groovy
def newLocation = file('new-location') def allCompileTasks = ['', ':hello', ':log'].collect { compileTask(it, buildType) } as String[] setupProject(originalLocation) setupProject(newLocation) when: inDirectory(originalLocation) withBuildCache().run compileTask(buildType) then: executedAndNotSkipped allCompileTasks
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventLegacyCrossVersionTest.groovy
setupProject() when: def events = ProgressEvents.create() withConnection { it.newBuild().forTasks(":a:taskC") .addProgressListener(events, OperationType.BUILD_PHASE) .run() } then: events.getAll().isEmpty() } def setupProject() { settingsFile << """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.8K bytes - Viewed (0) -
platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppCachingIntegrationTest.groovy
def "compilation task is relocatable for release"() { def originalLocation = file('original-location') def newLocation = file('new-location') setupProject(originalLocation) setupProject(newLocation) when: inDirectory(originalLocation) withBuildCache().run tasks.release.compile def snapshotsInOriginalLocation = snapshotObjects(originalLocation)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 6.1K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/BuildPhaseOperationEventCrossVersionTest.groovy
@TargetGradleVersion('>=7.6') class BuildPhaseOperationEventCrossVersionTest extends ToolingApiSpecification { def "generates build phase events for task #taskName and expects #expectedReportedTasksCount run tasks"() { setupProject() when: def events = ProgressEvents.create() withConnection { it.newBuild().forTasks(taskName) .addProgressListener(events, OperationType.BUILD_PHASE)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 10:41:50 UTC 2024 - 10.4K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/FinalizerTaskIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 13:27:33 UTC 2024 - 32.3K bytes - Viewed (0) -
platforms/ide/tooling-api-builders/src/test/groovy/org/gradle/tooling/internal/provider/runner/TestExecutionBuildTaskSchedulerTest.groovy
debugOptions.isDebugMode() >> false testExecutionRequest.getDebugOptions() >> debugOptions testExecutionRequest.getTaskSpecs() >> [] setupProject() setupTestTask() } private void setupProject() { _ * gradleInternal.owner >> buildState _ * buildState.projects >> buildProjectRegistry _ * buildProjectRegistry.allProjects >> [projectState]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 7.3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy
} else { Tar tar = new Tar() tar.setProject(new Project()) setSourceDirectory(tar, readOnly) tar.setDestFile(tarFile) tar.execute() } } void tgzTo(TestFile tarFile, boolean readOnly) { Tar tar = new Tar() tar.setProject(new Project()) setSourceDirectory(tar, readOnly)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 10.8K bytes - Viewed (0) -
platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/model/LaunchableGradleProjectTask.java
private DefaultGradleProject project; public DefaultGradleProject getProject() { return project; } public LaunchableGradleProjectTask setProject(DefaultGradleProject project) { this.project = project; return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 02 15:51:49 UTC 2023 - 1.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
private final Map<MavenProject, BuildSummary> buildSummaries = Collections.synchronizedMap(new IdentityHashMap<>()); private boolean canResume = false; public MavenExecutionResult setProject(MavenProject project) { this.project = project; return this; } public MavenProject getProject() { return project; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 3.2K bytes - Viewed (0)