Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 453 for testu (0.08 sec)

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

            processor.startProcessing(resultProcessor)
            processor.processTestClass(test1)
            processor.processTestClass(test2)
    
            then:
            1 * factory.create() >> delegate
            1 * delegate.startProcessing(resultProcessor)
            then:
            1 * delegate.processTestClass(test1)
            then:
            1 * delegate.processTestClass(test2)
            then:
            1 * delegate.stop()
            0 * _._
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

            DisposableUtil.dispose();
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test1() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            assertThat(DisposableUtil.disposables.size(), is(1));
            DisposableUtil.dispose();
            assertThat(count, is(1));
            assertThat(names, is("a"));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/DefaultNativeToolChainRegistryTest.groovy

            def defaultToolChain1 = unavailableToolChain("test1")
            def defaultToolChain2 = availableToolChain("test2")
            def defaultToolChain3 = availableToolChain("test3")
    
            when:
            registry.registerDefaultToolChain("test1", TestNativeToolChain)
            registry.registerDefaultToolChain("test2", TestNativeToolChain)
            registry.registerDefaultToolChain("test3", TestNativeToolChain)
            registry.addDefaultToolChains()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  4. platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/DefaultSourceIncludesResolverTest.groovy

            def header1 = includeDir.createFile("test.h")
            includePaths << includeDir
    
            macros << macro("TEST", '"test.h"')
            macroFunctions << macroFunction("TEST1", "TEST")
            macros << macro("TEST2", "TEST1()")
            macros << macro("TEST3", "TEST2")
            macros << unresolvableMacro("IGNORE")
    
            expect:
            def result = resolve(include('TEST3'))
            result.complete
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    			expected: `STATUS    REASON               MESSAGE
    Failure   test-status-reason   test-status-message
    `,
    		},
    		// Test non-table default printing for a Status resource with NoHeaders options.
    		{
    			object:   testStatus,
    			options:  PrintOptions{NoHeaders: true},
    			expected: "Failure   test-status-reason   test-status-message\n",
    		},
    	}
    	for _, test := range tests {
    		// Print the table
    		out := bytes.NewBuffer([]byte{})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  6. pilot/pkg/networking/core/listener_test.go

    	// storing the services out of time order to test that it's being sorted properly.
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 3306, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 3306, protocol.MySQL, tnow))
    	testOutboundListenerConflict(t,
    		buildServiceWithPort("test1.com", 9999, protocol.HTTP, tnow.Add(1*time.Second)),
    		buildServiceWithPort("test2.com", 9999, protocol.MySQL, tnow))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 93.6K bytes
    - Viewed (0)
  7. test/typeparam/issue44688.go

    	m1v("")
    	m2v := b1.m2
    	m2v("")
    	b2v := b2.m2
    	b2v("")
    }
    
    // actual test case from issue
    
    type A[T any] struct{}
    
    func (*A[T]) f(T) {}
    
    type B[T any] struct{ A[T] }
    
    func test3() {
    	var b B[string]
    	b.A.f("")
    	b.f("")
    }
    
    func main() {
    	test1[string]("")
    	test2()
    	test3()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. test/typeparam/geninline.dir/main.go

    package main
    
    import "./a"
    
    // Testing inlining of functions that refer to instantiated exported and non-exported
    // generic types.
    
    func main() {
    	a.Test1()
    	a.Test2()
    	a.Test3()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 24 02:14:15 UTC 2022
    - 342 bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ResolvedConfigurationApiIntegrationTest.groovy

            run 'show'
    
            then:
            outputContains("files: [test-1.0, test-1.0, test-1.0-classy]")
            outputContains("display-names: [test-1.0 (org:test:1.0), test-1.0 (org:test:1.0), test-1.0-classy (org:test:1.0)]")
            outputContains("ids: [test-1.0 (org:test:1.0), test-1.0 (org:test:1.0), test-1.0-classy (org:test:1.0)]")
            outputContains("names: [test::jar, test::, test::]")
            outputContains("classifiers: [null, null, classy]")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 30 18:17:47 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/gover/gover_test.go

    	in2 In2
    	in3 In3
    	out Out
    }
    
    func test1[In, Out any](t *testing.T, tests []testCase1[In, Out], name string, f func(In) Out) {
    	t.Helper()
    	for _, tt := range tests {
    		if out := f(tt.in); !reflect.DeepEqual(out, tt.out) {
    			t.Errorf("%s(%v) = %v, want %v", name, tt.in, out, tt.out)
    		}
    	}
    }
    
    func test2[In1, In2, Out any](t *testing.T, tests []testCase2[In1, In2, Out], name string, f func(In1, In2) Out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 06 23:20:32 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top