Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 423 for testu (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/go/internal/gover/mod_test.go

    	"testing"
    
    	"golang.org/x/mod/module"
    )
    
    func TestIsToolchain(t *testing.T) { test1(t, isToolchainTests, "IsToolchain", IsToolchain) }
    
    var isToolchainTests = []testCase1[string, bool]{
    	{"go", true},
    	{"toolchain", true},
    	{"anything", false},
    	{"golang.org/toolchain", false},
    }
    
    func TestModCompare(t *testing.T) { test3(t, modCompareTests, "ModCompare", ModCompare) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 17:51:28 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGPreserveOrderIntegrationTest.groovy

                        System.out.println("Test2.afterClass()");
                    }
                }
            """
    
            when: succeeds "test"
    
            then:
            outputContains("""
    Test1.beforeClass()
    Test1.test1()
    Test1.test2()
    Test1.afterClass()
    """)
            outputContains("""
    Test2.beforeClass()
    Test2.test1()
    Test2.test2()
    Test2.afterClass()
    """)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/events_test.go

    		valid bool
    	}{
    		{
    			&core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test1",
    					Namespace: "foo",
    				},
    				InvolvedObject: core.ObjectReference{
    					Namespace: "bar",
    					Kind:      "Pod",
    				},
    			},
    			false,
    		}, {
    			&core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test2",
    					Namespace: "aoeu-_-aoeu",
    				},
    				InvolvedObject: core.ObjectReference{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
Back to top