- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for toolingapi (0.12 sec)
-
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApi.groovy
import org.junit.runners.model.Statement import org.slf4j.Logger import org.slf4j.LoggerFactory import java.util.concurrent.TimeUnit class ToolingApi implements TestRule { private static final Logger LOGGER = LoggerFactory.getLogger(ToolingApi) private GradleDistribution dist private TestDirectoryProvider testWorkDirProvider private TestFile gradleUserHomeDir private TestFile daemonBaseDir
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:07:23 UTC 2024 - 12K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/InvalidateVirtualFileSystemAfterChangeCrossVersionSpec.groovy
} private int countExecutedCommands() { toolingApi.daemons.daemon.log.count("command = ") } private void createIdleDaemon() { withConnection { connection -> connection.model(GradleBuild).get() } toolingApi.daemons.daemon.assertIdle() } def cleanup() { toolingApi.close() } boolean pathsInvalidated() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 4.5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r65/ToolingApiShutdownCrossVersionSpec.groovy
} void assertNoRunningDaemons() { waitFor.eventually { toolingApi.daemons.daemons*.assertStopped() } } void assertNumberOfRunningDaemons(number) { waitFor.eventually { assert toolingApi.daemons.daemons.size() == number toolingApi.daemons.daemons*.assertBusy() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 11.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ToolingApiBackedGradleExecuter.groovy
def toolingApi = new ToolingApi(distribution, testDirectoryProvider) toolingApi.withConnector { it.forProjectDirectory(workingDir) } def systemPropertiesBeforeInvocation = new HashMap<String, Object>(System.getProperties()) try { toolingApi.withConnection { action.execute(it) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiExecution.groovy
this.gradle = packagedDistribution this.toolingApi = loadedDistribution } else { // TAPI {target} -> Gradle current this.gradle = loadedDistribution this.toolingApi = packagedDistribution } this.toolingApiVersion = GradleVersion.version(toolingApi.version.version) this.gradleVersion = GradleVersion.version(gradle.version.version)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r10rc1/PassingCommandLineArgumentsCrossVersionSpec.groovy
// We don't want to validate *all* command line options here, just enough to make sure passing through works. def "understands project properties for building model"() { given: toolingApi.verboseLogging = false //sanity check, see GRADLE-2226 file("build.gradle") << """ description = project.getProperty('theDescription') """ when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ToolingApiSpecification.groovy
@Delegate final ToolingApi toolingApi = new ToolingApi(null, temporaryFolder, stdout, stderr) // TODO: react to the isolatedProejcts prop coming from build settings @Rule public RuleChain cleanupRule = RuleChain.outerRule(temporaryFolder).around(temporaryDistributionFolder).around(toolingApi) private List<String> expectedDeprecations = []
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 16.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r63/DistributionChecksumCrossVersionSpec.groovy
@TargetGradleVersion(">=3.0 <6.3") def "invalid Gradle distribution does not kill the TAPI client with older Gradle versions"() { given: toolingApi.requireDaemons() toolingApi.requireIsolatedUserHome() withConnection { connection -> connection.newBuild().forTasks("wrapper").run() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/SystemPropertyPropagationCrossVersionTest.groovy
hasSystemProperty('mySystemProperty', 'defined in the client JVM') } def "Client JVM system properties do not appear in the build if withSystemProperties() is called"() { setup: toolingApi.requireDaemons() // no separate daemon JVM -> all client JVM system properties are expected to be visible when: runTask { withSystemProperties('unrelated' : 'value') } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 06:17:20 UTC 2024 - 5K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r35/BuildEnvironmentCrossVersionSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 3.1K bytes - Viewed (0)