- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 49 for doStuff2 (0.14 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/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/DefaultClassLoaderFactoryTestHelper.java
import javax.xml.transform.TransformerFactory; import javax.xml.validation.SchemaFactory; import javax.xml.xpath.XPathFactory; public class DefaultClassLoaderFactoryTestHelper { public void doStuff() throws Exception { SAXParserFactory.newInstance().newSAXParser(); DocumentBuilderFactory.newInstance().newDocumentBuilder(); DatatypeFactory.newInstance().newXMLGregorianCalendar();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/TestDecoratedGroovyBean.groovy
* limitations under the License. */ package org.gradle.internal.instantiation.generator class TestDecoratedGroovyBean { def String prop def doStuff(String value) { "{$value}" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 784 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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/UntrackedTaskIntegrationTest.groovy
@InputFile abstract RegularFileProperty getInputFile() @OutputFile abstract RegularFileProperty getOutputFile() @TaskAction void doStuff() { outputFile.get().asFile.text = inputFile.get().asFile.text } } tasks.register("myTask", MyTask) { inputFile = file("input.txt")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 23 08:05:53 UTC 2023 - 16.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/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/DefaultClassLoaderFactoryTest.groovy
then: c != DefaultClassLoaderFactoryTestHelper when: Thread.currentThread().contextClassLoader = cl c.getConstructor().newInstance().doStuff() then: notThrown() } def getClasspath() { return DefaultClassPath.of(ClasspathUtil.getClasspathForClass(DefaultClassLoaderFactoryTestHelper)) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
def "nested destroyables are discovered"() { buildFile << classesForNestedProperties() buildFile << """ class MyDestroyer extends DefaultTask { @TaskAction void doStuff() {} @Nested Object bean } class DestroyerBean { @Destroys File destroyedFile }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 21 19:38:50 UTC 2022 - 16.8K 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)