Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TestEvent (0.23 sec)

  1. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/CaptureTestOutputTestResultProcessorTest.groovy

            def test = new DefaultTestDescriptor("2", "Bar", "Baz")
            def testEvent = new TestStartEvent(2, "1")
    
            processor.started(new DefaultTestSuiteDescriptor("1", "Foo"), new TestStartEvent(1))
    
            when: processor.started(test, testEvent)
    
            then:
            1 * target.started(test, testEvent)
            1 * redirector.setOutputOwner("2")
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. pkg/kubelet/nodestatus/setters_test.go

    			expectEvents:     []testEvent{},
    		},
    	}
    	for _, tc := range cases {
    		t.Run(tc.desc, func(t *testing.T) {
    			ctx := context.Background()
    			events := []testEvent{}
    			recordEventFunc := func(eventType, event string) {
    				events = append(events, testEvent{
    					eventType: eventType,
    					event:     event,
    				})
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r75/CustomTestTaskProgressEventCrossVersionTest.groovy

            ProgressEvent suiteEvent = null
            ProgressEvent testEvent = null
    
            @Override
            void statusChanged(ProgressEvent event) {
                if (event.descriptor.displayName == "Test suite 'MyCustomTestRoot'") {
                    suiteEvent = event
                } else if (event.descriptor.displayName == 'org.my.MyClass descriptor') {
                    testEvent = event
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r60/TestOutputCrossVersionSpec.groovy

            TestFinishEvent testEvent = testEvents.find { TestFinishEvent e -> e.descriptor instanceof JvmTestOperationDescriptor && e.descriptor.methodName == 'works'}
            TestOutputEvent outputEvent = outputEvents.find { TestOutputEvent event -> event.descriptor.message == "out1" && event.descriptor.destination == Destination.StdOut }
    
            then:
            testEvent.descriptor == outputEvent.descriptor.parent
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/cmd/test2json/main.go

    // runs multiple packages, again use "go test -json".
    //
    // # Output Format
    //
    // The JSON stream is a newline-separated sequence of TestEvent objects
    // corresponding to the Go struct:
    //
    //	type TestEvent struct {
    //		Time    time.Time // encodes as an RFC3339-format string
    //		Action  string
    //		Package string
    //		Test    string
    //		Elapsed float64 // seconds
    //		Output  string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top