- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,090 for action1 (0.17 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/ImmutableActionSetTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 16.1K bytes - Viewed (0) -
platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 19:07:35 UTC 2024 - 11.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/execution/ExecuteActionsTaskExecuterTest.groovy
} def "captures exceptions from both task action and async work"() { given: task.getTaskActions() >> [action1, action2] task.hasTaskActions() >> true action1.execute(task) >> { throw new RuntimeException("failure from task action") } when: executer.execute(task, state, executionContext)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 19.8K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/DefaultTaskTest.groovy
1 == defaultTask.actions.size() defaultTask.is(defaultTask.doFirst(action2)) 2 == defaultTask.actions.size() action2.is(defaultTask.actions[0].action) action1.is(defaultTask.actions[1].action) } def "doLast() adds action to the end of actions list"() { given: Action<Task> action1 = Actions.doNothing()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 24 11:56:02 UTC 2023 - 16.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginManagerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 13:46:07 UTC 2024 - 16.1K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy
def binary2 = Stub(SwiftBinary) def action1 = Mock(Action) def action2 = Mock(Action) def finalizeAction = Mock(Action) spec.isSatisfiedBy(binary2) >> true given: def p = container.get(spec) p.whenFinalized(finalizeAction) p.configure(action1) container.configureEach(action2) container.add(binary1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 18.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/LockOnDemandCrossProcessCacheAccessTest.groovy
def release1 = cacheAccess.acquireFileLock() thread.blockUntil.action2 release1.run() instant.action1 } start { def release2 = cacheAccess.acquireFileLock() instant.action2 thread.blockUntil.action1 release2.run() } } then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 21.8K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/DefaultCommandLineActionFactoryTest.groovy
outputs.stdOut.contains(expectedText) outputs.stdOut.contains("action1") !action1Intermediary || outputs.stdOut.contains("action2") and: 1 * actionFactory1.createAction(!null, !null) >> { def action1 = { println "action1" } action1Intermediary ? action1 as ContinuingAction<ExecutionListener> : action1 as Action<ExecutionListener> }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 11.6K bytes - Viewed (0) -
platforms/software/resources-sftp/src/test/groovy/org/gradle/internal/resource/transport/sftp/SftpClientFactoryTest.groovy
instant.action1 thread.blockUntil.action2 sftpClientFactory.releaseSftpClient(actualClient1) } start { actualClient2 = sftpClientFactory.createSftpClient(uri, credentials) instant.action2 thread.blockUntil.action1 sftpClientFactory.releaseSftpClient(actualClient2)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 14.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskContainerTest.groovy
1 * action.execute(task) 0 * action._ } void "container and task specific configuration actions are executed when task is created"() { def action1 = Mock(Action) def action2 = Mock(Action) def action3 = Mock(Action) def action4 = Mock(Action) def action5 = Mock(Action) def action6 = Mock(Action) def task = task("task")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 14:36:44 UTC 2024 - 44.9K bytes - Viewed (0)