Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 643 for test0 (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. test/fixedbugs/issue5470.dir/b.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package b
    
    import "./a"
    
    func main() {
    	a.Test1()
    	a.Test2()
    	a.Test3()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 07:01:43 UTC 2013
    - 234 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. test/fixedbugs/issue5470.dir/a.go

    package a
    
    type Foo interface {
    	Hi() string
    }
    
    func Test1() Foo { return make(tst1) }
    
    type tst1 map[string]bool
    
    func (r tst1) Hi() string { return "Hi!" }
    
    func Test2() Foo { return make(tst2, 0) }
    
    type tst2 []string
    
    func (r tst2) Hi() string { return "Hi!" }
    
    func Test3() Foo { return make(tst3) }
    
    type tst3 chan string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 07:01:43 UTC 2013
    - 532 bytes
    - Viewed (0)
  10. 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)
Back to top