Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,131 for STARTED (0.15 sec)

  1. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorTest.groovy

            1 * processor.started({ it.id == 2 && it.name == 'Gradle test' }, _)
            1 * processor.started({ it.name == 'ok' && it.className == ATestNGClassWithManyMethods.name }, { it.parentId == 2 })
            1 * processor.started({ it.name == 'ok2' && it.className == ATestNGClassWithManyMethods.name }, { it.parentId == 2 })
            0 * processor.started(_, _)
        }
    
        void "executes no tests if none of the included test methods match"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. src/cmd/go/internal/par/queue_test.go

    	var wg sync.WaitGroup
    	wg.Add(totalWork)
    	started := make([]chan struct{}, totalWork)
    	unblock := make(chan struct{})
    	for i := range started {
    		started[i] = make(chan struct{})
    		i := i
    		q.Add(func() {
    			close(started[i])
    			<-unblock
    			wg.Done()
    		})
    	}
    
    	for i, c := range started {
    		if i < maxActive {
    			<-c // Work item i should be started immediately.
    		} else {
    			select {
    			case <-c:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 24 21:08:46 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/progress/DefaultProgressLoggerFactoryTest.groovy

            def parentId
    
            when:
            parent.started()
            sibling.started()
            child.started()
    
            then:
            1 * progressListener.started(!null) >> { ProgressStartEvent event ->
                assert event.description == "parent"
                parentId = event.progressOperationId
            }
            1 * progressListener.started(!null) >> { ProgressStartEvent event ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. tests/test_dependency_contextmanager.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    state = {
        "/async": "asyncgen not started",
        "/sync": "generator not started",
        "/async_raise": "asyncgen raise not started",
        "/sync_raise": "generator raise not started",
        "context_a": "not started a",
        "context_b": "not started b",
        "bg": "not set",
        "sync_bg": "not set",
    }
    
    errors = []
    
    
    async def get_state():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationIntegrationTest.groovy

            notifications.started(ConfigureProjectBuildOperationType.Details, [buildPath: ":buildSrc", projectPath: ":"])
            notifications.started(ConfigureProjectBuildOperationType.Details, [buildPath: ":a:buildSrc", projectPath: ":"])
            notifications.started(ConfigureProjectBuildOperationType.Details, [buildPath: ":a", projectPath: ":"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorTest.groovy

            then:
            1 * processor.started({ it.name == ATestClassWithSeveralMethods.name }, _)
            1 * processor.started({ it.name == "pass" && it.className == ATestClassWithSeveralMethods.name }, _)
            1 * processor.started({ it.name == "pass2" && it.className == ATestClassWithSeveralMethods.name }, _)
            0 * processor.started(_, _)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 24.8K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/results/StateTrackingTestResultProcessorTest.groovy

            when:
            adapter.started(suite, startEvent)
            adapter.started(test, testStartEvent)
            adapter.completed('testId', testCompleteEvent)
            adapter.completed('suiteId', completeEvent)
    
            then:
            1 * listener.started({it.descriptor == suite}, startEvent)
            1 * listener.started({it.descriptor == test}, testStartEvent)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGClassIntegrationTest.groovy

            """
    
            when:
            succeeds 'test'
    
            then:
            containsEvent(STARTED, DefaultTestSuiteDescriptor, 'TestSuite > LightTest')
            containsEvent(STARTED, DefaultTestClassDescriptor, 'TestSuite > LightTest > org.company.SystemOutTest')
            containsEvent(STARTED, DefaultTestMethodDescriptor, 'TestSuite > LightTest > org.company.SystemOutTest > testOut')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. subprojects/core/src/test/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationBridgeTest.groovy

            when:
            broadcast.started(d1, new OperationStartEvent(0))
            broadcast.started(d2, null)
    
            broadcast.started(d3, new OperationStartEvent(0))
            broadcast.finished(d3, new OperationFinishEvent(-1, -1, null, null))
    
            broadcast.started(d4, new OperationStartEvent(0))
            broadcast.started(d5, new OperationStartEvent(0))
            broadcast.started(d6, new OperationStartEvent(0))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/results/AttachParentTestResultProcessorTest.groovy

            TestStartEvent suiteStartEvent = new TestStartEvent(100L)
    
            when:
            processor.started(suite, suiteStartEvent)
            processor.started(test, new TestStartEvent(200L))
    
            then:
            1 * target.started(suite, suiteStartEvent)
            1 * target.started(test, { it.parentId == 'suite' })
        }
    
        def canHaveMoreThanOneRootSuite() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top