- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for doStuff2 (0.12 sec)
-
platforms/core-runtime/messaging/src/integTest/groovy/org/gradle/internal/remote/UnicastMessagingIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:43 UTC 2024 - 8.9K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/actor/internal/DefaultActorFactorySpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 8.1K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptExecutionIntegrationTest.groovy
println 'error message' new BuildSrcClass() assert 'doStuff' == name assert buildscript.classLoader == getClass().classLoader.parent assert buildscript.classLoader == Thread.currentThread().contextClassLoader ext.someProp = 'value' ''' testFile('build.gradle') << ''' task doStuff apply { to doStuff from 'external.gradle' } assert 'value' == doStuff.someProp '''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 6.5K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/ExternalScriptErrorIntegrationTest.groovy
def "produces reasonable error message when task execution fails"() { externalScript << ''' task doStuff { doLast { throw new RuntimeException('fail') } } ''' when: fails 'doStuff' then: failure.assertHasDescription('Execution failed for task \':doStuff\'.') .assertHasCause('fail') .assertHasFileName("Script '${externalScript}'")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 2.8K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Operations.groovy
* * <pre> * when: * // runs the given closure and defines operation 'doStuff' * operation.doStuff { * // do some test action * } * * then: * // query * operation.doStuff.end > operation.doStuff.start * instant.doStuff == operation.doStuff.end * </pre> */ class Operations { private final InstantFactory instantFactory
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/integTest/groovy/org/gradle/internal/watch/LoggingFileSystemWatchingIntegrationTest.groovy
daemon.becomesIdle() when: sourceFile.text = "public class MyClass { private void doStuff() {} }" waitForChangesToBePickedUp() sourceFile.text = "public class MyClass { private void doStuff1() {} }" waitForChangesToBePickedUp() then: // On Windows, it may take some extra time until the event occurs
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 13:50:33 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MessageHubBackedObjectConnectionTest.groovy
when: connectionBuilder.addIncoming(Worker, worker) connectionBuilder.connect() connection.stop() connectionBuilder.stop() then: 1 * worker.doStuff("param 1") 0 * worker._ cleanup: connection?.stop()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 4K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/ProxyDispatchAdapterTest.groovy
def proxyForwardsToDispatch() { when: adapter.getSource().doStuff('param') then: 1 * dispatch.dispatch(new MethodInvocation(ProxyTest.class.getMethod('doStuff', String.class), ['param'] as Object[])) } def proxyIsEqualWhenItHasTheSameTypeAndDispatch() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 2.3K bytes - Viewed (0) -
testing/internal-testing/src/test/groovy/org/gradle/test/fixtures/concurrent/ConcurrentSpecTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 8.7K bytes - Viewed (0) -
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)