- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for doStuff2 (0.24 sec)
-
platforms/core-execution/execution-e2e-tests/src/integTest/groovy/org/gradle/integtests/TaskUpToDateIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 04 10:15:40 UTC 2024 - 15.8K bytes - Viewed (0) -
platforms/extensibility/unit-test-fixtures/src/test/groovy/org/gradle/testfixtures/CustomTask.groovy
*/ package org.gradle.testfixtures import org.gradle.api.DefaultTask import org.gradle.api.tasks.TaskAction class CustomTask extends DefaultTask { String property @TaskAction def doStuff() { property = 'some value' }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 861 bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/SettingsScriptExecutionIntegrationTest.groovy
try { buildscript.classLoader.loadClass('BuildSrcClass') assert false: 'should fail' } catch (ClassNotFoundException e) { // expected } """ buildFile << 'task doStuff' when: run('doStuff') then: output.contains('quiet message') errorOutput.contains('error message') } private TestFile createBuildSrc() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ChangesByGradleFileWatchingIntegrationTest.groovy
abstract DirectoryProperty getLocalStateDirectory() @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void doStuff() { def localStateDir = localStateDirectory.get().asFile localStateDir.mkdirs() new File(localStateDir, "localState.txt").text = "localState"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart2IntegrationTest.groovy
@Input public FileTree getFileTree() { return getProject().files().getAsFileTree(); } @TaskAction public void doStuff() { } } """ when: executer.withArgument("-Dorg.gradle.internal.max.validation.errors=7") then: assertValidationFailsWith([
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 09:03:53 UTC 2024 - 40K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/ContinuousBuildFileWatchingIntegrationTest.groovy
succeeds("build") executedAndNotSkipped ":compileJava", ":build" vfsLogs.getRetainedFilesInCurrentBuild() >= numberOfFilesInVfs when: sourceFile.text = "class Thing { public void doStuff() {} }" then: buildTriggeredAndSucceeded() vfsLogs.getRetainedFilesSinceLastBuild() >= numberOfFilesInVfs - 1 vfsLogs.getRetainedFilesInCurrentBuild() >= numberOfFilesInVfs
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/RuntimePluginValidationIntegrationTest.groovy
@Input public FileTree getFileTree() { return getProject().files().getAsFileTree(); } @TaskAction public void doStuff() { } } """ expect: executer.withArgument("-Dorg.gradle.internal.max.validation.errors=10") assertValidationFailsWith([
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 14:30:05 UTC 2024 - 11.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy
TaskWithMultiParamAction | "Cannot use @TaskAction annotation on method TaskWithMultiParamAction.doStuff() as this method takes multiple parameters." TaskWithSingleParamAction | "Cannot use @TaskAction annotation on method TaskWithSingleParamAction.doStuff() because int is not a valid parameter to an action method."
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 38.8K bytes - Viewed (0) -
platforms/extensibility/unit-test-fixtures/src/test/groovy/org/gradle/testfixtures/ProjectBuilderTest.groovy
} def canCreateAndExecuteACustomTask() { when: def project = buildProject() def task = project.task('custom', type: CustomTask) task.doStuff() then: task.property == 'some value' } @LeaksFileHandles("script jar is held open") def canApplyABuildScript() { when: def project = buildProject()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 13 21:54:27 UTC 2024 - 5.5K bytes - Viewed (0) -
JavadocStyleGuide.md
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 15:43:07 UTC 2024 - 11.5K bytes - Viewed (0)