Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 993 for listener2 (0.17 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/taskgraph/DefaultTaskExecutionGraph.java

            notifyListenerRegistration("TaskExecutionGraph.addTaskExecutionListener", listener);
            taskListeners.add(listener);
        }
    
        @Override
        public void removeTaskExecutionListener(org.gradle.api.execution.TaskExecutionListener listener) {
            taskListeners.remove(listener);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestTaskSpec.groovy

        }
    
        def "notifies listener of test progress"() {
            def listener = Mock(TestListener)
    
            given:
            expectTestPasses()
    
            task.addTestListener(listener)
    
            when:
            task.executeTests()
    
            then:
            1 * listener.beforeSuite(_)
            1 * listener.beforeTest(_)
            1 * listener.afterTest(_, _)
            1 * listener.afterSuite(_, _)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/FailsafePhasedActionResultListener.java

    import org.gradle.tooling.internal.protocol.PhasedActionResult;
    import org.gradle.tooling.internal.protocol.PhasedActionResultListener;
    
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Listener that will collect failures from the delegate listener and rethrow them in the right moment of the build.
     */
    public class FailsafePhasedActionResultListener implements PhasedActionResultListener {
        private final PhasedActionResultListener delegate;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 13 23:23:59 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. pkg/wellknown/wellknown.go

    )
    
    // Listener filter names
    const (
    	// OriginalDestination listener filter
    	OriginalDestination = "envoy.filters.listener.original_dst"
    	// ProxyProtocol listener filter
    	ProxyProtocol = "envoy.filters.listener.proxy_protocol"
    	// TLSInspector listener filter
    	TLSInspector = "envoy.filters.listener.tls_inspector" // nolint:golint,revive
    	// HTTPInspector listener filter
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 15:29:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. tests/integration/telemetry/policy/helper_test.go

    	// Test cases:
    	// 1. http case:
    	//    client -------> Hits listener 0.0.0.0_80 cluster
    	//    Metric is istio_requests_total i.e. HTTP
    	//
    	// 2. https case:
    	//    client ----> Hits no listener -> 0.0.0.0_150001 -> ALLOW_ANY/REGISTRY_ONLY
    	//    Metric is istio_tcp_connections_closed_total i.e. TCP
    	//
    	// 3. https conflict case:
    	//    client ----> Hits listener 0.0.0.0_9443
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectInternal.java

        /**
         * Executes the given action against the given listener collecting any new listener registrations in a separate
         * {@link ProjectEvaluationListener} instance which is returned at the end if not empty.
         *
         * @param listener the current listener
         * @param action the listener action
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 16 21:18:55 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/invocation/IsolatedProjectEvaluationListenerProvider.java

         * @see org.gradle.api.invocation.GradleLifecycle#afterProject(IsolatedAction)
         */
        void afterProject(IsolatedAction<? super Project> action);
    
        /**
         * Returns an isolated listener for the registered actions, if any. The listener makes it impossible for
         * the actions to carry any shared mutable state across projects and can be safely executed in parallel.
         */
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 11:22:06 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/BuildProgressCrossVersionSpec.groovy

            }
    
            then: "build progress events must be forwarded to the attached listeners"
            events.assertIsABuild()
        }
    
        def "stops dispatching events to progress listeners when a listener fails and continues with build"() {
            given:
            goodCode()
    
            when: "launching a build"
            List<ProgressEvent> resultsOfFirstListener = []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/testng/TestNGOptionsTest.groovy

                includeGroups == source.includeGroups
                excludeGroups == source.excludeGroups
                configFailurePolicy == source.configFailurePolicy
                listeners == source.listeners
                parallel == source.parallel
                threadCount == source.threadCount
                suiteThreadPoolSize.get() == source.suiteThreadPoolSize.get()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTaskTest.java

        assertEquals(1, listenerLatch.getCount());
        assertFalse(task.isDone());
        assertFalse(task.isCancelled());
    
        // Finish the task by unblocking the task latch.  Then wait for the
        // listener to be called by blocking on the listener latch.
        taskLatch.countDown();
        assertEquals(25, task.get().intValue());
        assertTrue(listenerLatch.await(5, TimeUnit.SECONDS));
        assertTrue(task.isDone());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top