Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 93 for listener2 (0.26 sec)

  1. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiStreamingBuildActionIntegrationTest.groovy

            and:
            def streamedModels2 = listener2.models
            streamedModels2.size() == 2
            (streamedModels2[0] as GradleProject).name == "hello-world"
            (streamedModels2[1] as EclipseProject).gradleProject.name == "hello-world"
        }
    
        def "models are streamed on phased build action cache hit"() {
            def listener1 = new TestStreamedValueListener()
            def listener2 = new TestStreamedValueListener()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. subprojects/build-events/src/integTest/groovy/org/gradle/build/event/BuildEventsParallelIntegrationTest.groovy

                }
    
                // Do not inline listener, or it weakens the test.
                // We try to create the shared services registry first to have it handle buildFinished earlier.
                def listener = gradle.sharedServices.registerIfAbsent('listener', BlockingListener)
                def registry = project.services.get(BuildEventsListenerRegistry)
                registry.onTaskCompletion(listener)
    
                tasks.register("a")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 19:15:46 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. internal/http/listener.go

    		listener.listeners[i].Close()
    	}
    
    	return nil
    }
    
    // Addr - net.Listener interface compatible method returns net.Addr.  In case of multiple TCP listeners, it returns '0.0.0.0' as IP address.
    func (listener *httpListener) Addr() (addr net.Addr) {
    	addr = listener.listeners[0].Addr()
    	if len(listener.listeners) == 1 {
    		return addr
    	}
    
    	tcpAddr := addr.(*net.TCPAddr)
    	if ip := net.ParseIP("0.0.0.0"); ip != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 22 23:07:14 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. internal/grid/debug.go

    			}
    		}
    		addr := l.Addr()
    		hosts = append(hosts, "http://"+addr.String())
    		listeners = append(listeners, l)
    	}
    	return
    }
    
    func startHTTPServer(listener net.Listener, handler http.Handler) (server *httptest.Server) {
    	server = httptest.NewUnstartedServer(handler)
    	server.Config.Addr = listener.Addr().String()
    	server.Listener = listener
    	server.Start()
    	return server
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/service/scopes/EventScope.java

    import java.lang.annotation.Target;
    
    /**
     * Attached to a listener interface to indicate which scope its events are generated in.
     *
     * <p>Events generated in a particular scope are visible to listeners in the same scope and ancestor scopes.
     * Events are not visible to listeners in descendent scopes.
     *
     * <p>This annotation is used primarily to indicate to developers the scopes where this listener are available. There is also
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listenertest/match.go

    	"istio.io/istio/pkg/util/sets"
    )
    
    type ListenersTest struct {
    	// Match listener by name
    	Name string
    	// Match listener by port
    	Port uint32
    
    	// Listener assertions
    	Listener ListenerTest
    }
    
    // ListenerTest provides a struct for defining expectations for a listener
    type ListenerTest struct {
    	// Assert the listener contains these filter chains (in order, if TotalMatch)
    	FilterChains []FilterChainTest
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. 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)
  8. pkg/ctrlz/ctrlz.go

    	}
    
    	// Canonicalize the address and resolve a dynamic port if necessary
    	listener, err := net.Listen("tcp", fmt.Sprintf("%s:%d", addr, o.Port))
    	if err != nil {
    		log.Errorf("Unable to start ControlZ: %v", err)
    		return nil, err
    	}
    
    	s := &Server{
    		listener: listener,
    		httpServer: http.Server{
    			Addr:           listener.Addr().(*net.TCPAddr).String(),
    			ReadTimeout:    10 * time.Second,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/LoggingBridgingBuildActionExecuter.java

            attachConsole(actionParameters);
            ProgressListenerVersion1 progressListener = actionParameters.getProgressListener();
            OutputEventListenerAdapter listener = new OutputEventListenerAdapter(progressListener);
            loggingManager.addOutputEventListener(listener);
            loggingManager.setLevelInternal(actionParameters.getBuildLogLevel());
            loggingManager.start();
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r87/ProblemProgressEventCrossVersionTest.groovy

        }
    
        def runTask() {
            def listener = new ProblemProgressListener()
            withConnection { connection ->
                connection.newBuild().forTasks('reportProblem')
                    .addProgressListener(listener)
                    .run()
            }
            return listener.problems
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 11:36:58 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top