- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for TestEvent (0.35 sec)
-
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestWorkerProgressListenerTest.groovy
new TestCompleteEvent(new Date().time) } static TestDescriptor createTestDescriptor(TestEvent testEvent) { def testWorkerDescriptor = new WorkerTestClassProcessor.WorkerTestSuiteDescriptor(1, testEvent.testWorkerName) def defaultTestClassDescriptor = new DefaultTestClassDescriptor(1, testEvent.testClassName)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 10.3K bytes - Viewed (0) -
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) -
pilot/pkg/config/memory/monitor_test.go
testConfig := mock.Make(TestNamespace, 0) var testEvent model.Event done := make(chan bool) lock := sync.Mutex{} controller.RegisterEventHandler(collections.Mock.GroupVersionKind(), func(_, config config.Config, event model.Event) { lock.Lock() tc := testConfig lock.Unlock() if event != testEvent { t.Errorf("desired %v, but %v", testEvent, event) } if !mock.Compare(tc, config) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 01 01:34:15 UTC 2023 - 2.4K bytes - Viewed (0) -
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) -
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) -
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) -
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)