- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 32 for doStuff2 (0.22 sec)
-
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy
then: result.method == method result.arguments == [1, 2] as Object[] } interface Thing { String doStuff(Thing[] things) } def "serializes a method invocation with array type parameters"() { def method = Thing.class.getMethod("doStuff", Thing[].class) def invocation = new MethodInvocation(method, [[] as Thing[]] as Object[]) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/HttpProxyScriptPluginIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 04 22:26:51 UTC 2021 - 4.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy
} finally { if (initscript.classLoader instanceof Closeable) { initscript.classLoader.close() } } """ and: buildFile << 'task doStuff' when: result = executer.usingInitScript(initScript).withTasks('doStuff').run() then: outputContains('quiet message') result.assertHasErrorOutput('error message') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 8.5K bytes - Viewed (0) -
testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildAggregationIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canUseBuiltInAstTransform/src/test/groovy/TestDelegate.groovy
package org.gradle.groovy.compile.GroovyCompilerIntegrationSpec.canUseBuiltInAstTransform.src.test.groovy class TestDelegate { def doStuff(String value) { return "[$value]" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 194 bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/BuildScriptExecutionIntegrationTest.groovy
try { buildscript.classLoader.loadClass('${implClassName}') assert false: 'should fail' } catch (ClassNotFoundException e) { // expected } task doStuff """ ExecutionResult result = inTestDirectory().withTasks('doStuff').run() result.assertOutputContains('quiet message') result.assertHasErrorOutput('error message') } @Test
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 21 07:18:32 UTC 2020 - 2.7K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/testFixtures/resources/org/gradle/groovy/compile/AbstractGroovyCompilerIntegrationSpec/canUseBuiltInAstTransform/src/test/groovy/UseBuiltInTransformTest.groovy
import org.junit.Test class UseBuiltInTransformTest { @Delegate final TestDelegate delegate = new TestDelegate() @Test void transformHasBeenApplied() { assert doStuff("hi") == "[hi]" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 320 bytes - Viewed (0) -
test/fixedbugs/issue32680b.go
// license that can be found in the LICENSE file. package p func hashBytesRaw(b0, b1, b2, b3, b7 byte) uint64 { return (uint64(b0) | uint64(b1)<<8 | uint64(b2)<<16 | uint64(b3)<<24) } func doStuff(data []byte) uint64 { return hashBytesRaw(data[0], data[1], data[2], data[3], data[7])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 14 17:22:18 UTC 2023 - 412 bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/TaskFilePropertiesIntegrationTest.groovy
file('settings.gradle') << 'include "a", "b"' file('a/build.gradle') << ''' configurations { compile } dependencies { compile project(path: ':b', configuration: 'archives') } task doStuff(type: InputTask) { src = configurations.compile + fileTree('src/java') } class InputTask extends DefaultTask { @InputFiles def FileCollection src } '''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 5.5K 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)