Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for testOrg (0.57 sec)

  1. src/net/http/serve_test.go

    		}
    	}
    }
    
    func TestHandlerPanicNil(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		testHandlerPanic(t, false, mode, nil, nil)
    	}, testNotParallel)
    }
    
    func TestHandlerPanic(t *testing.T) {
    	run(t, func(t *testing.T, mode testMode) {
    		testHandlerPanic(t, false, mode, nil, "intentional death for testing")
    	}, testNotParallel)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. src/net/http/transport_test.go

    			}
    		},
    	})
    }
    
    func runCancelTest(t *testing.T, f func(t *testing.T, test cancelTest), opts ...any) {
    	run(t, func(t *testing.T, mode testMode) {
    		if mode == http1Mode {
    			t.Run("TransportCancel", func(t *testing.T) {
    				runCancelTestTransport(t, mode, f)
    			})
    		}
    		t.Run("RequestCancel", func(t *testing.T) {
    			runCancelTestChannel(t, mode, f)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  3. src/database/sql/sql_test.go

    }
    
    type concurrentTest interface {
    	init(t testing.TB, db *DB)
    	finish(t testing.TB)
    	test(t testing.TB) error
    }
    
    type concurrentDBQueryTest struct {
    	db *DB
    }
    
    func (c *concurrentDBQueryTest) init(t testing.TB, db *DB) {
    	c.db = db
    }
    
    func (c *concurrentDBQueryTest) finish(t testing.TB) {
    	c.db = nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 111.6K bytes
    - Viewed (0)
  4. src/crypto/x509/x509_test.go

    	}
    	return
    }
    
    func TestParsePKIXPublicKey(t *testing.T) {
    	t.Run("RSA", func(t *testing.T) {
    		pub := testParsePKIXPublicKey(t, pemPublicKey)
    		_, ok := pub.(*rsa.PublicKey)
    		if !ok {
    			t.Errorf("Value returned from ParsePKIXPublicKey was not an RSA public key")
    		}
    	})
    	t.Run("Ed25519", func(t *testing.T) {
    		pub := testParsePKIXPublicKey(t, pemEd25519Key)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    type R23 R21
    type R24 R21
    
    func TestEmbed(t *testing.T) {
    	typ := TypeOf(R0{})
    	f, ok := typ.FieldByName("X")
    	if ok {
    		t.Fatalf(`FieldByName("X") should fail, returned %v`, f.Index)
    	}
    }
    
    func TestAllocsInterfaceBig(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping malloc count in short mode")
    	}
    	v := ValueOf(S{})
    	if allocs := testing.AllocsPerRun(100, func() { v.Interface() }); allocs > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. pkg/kubelet/kubelet_test.go

    	cadvisortest "k8s.io/kubernetes/pkg/kubelet/cadvisor/testing"
    	"k8s.io/kubernetes/pkg/kubelet/clustertrustbundle"
    	"k8s.io/kubernetes/pkg/kubelet/cm"
    	"k8s.io/kubernetes/pkg/kubelet/config"
    	"k8s.io/kubernetes/pkg/kubelet/configmap"
    	kubecontainer "k8s.io/kubernetes/pkg/kubelet/container"
    	containertest "k8s.io/kubernetes/pkg/kubelet/container/testing"
    	"k8s.io/kubernetes/pkg/kubelet/eviction"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/runtime/framework_test.go

    			if tt.initErr && err == nil {
    				t.Fatal("Framework initialization should fail")
    			}
    			if !tt.initErr && err != nil {
    				t.Fatalf("Failed to create framework for testing: %v", err)
    			}
    		})
    	}
    }
    
    func TestNewFrameworkErrors(t *testing.T) {
    	tests := []struct {
    		name      string
    		plugins   *config.Plugins
    		pluginCfg []config.PluginConfig
    		wantErr   string
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue_test.go

    			actions: []action{
    				{callback: func(t *testing.T, q *PriorityQueue) { poppedPod = popPod(t, logger, q, pod) }},
    				{eventHappens: &NodeAdd},
    				{callback: func(t *testing.T, q *PriorityQueue) { poppedPod2 = popPod(t, logger, q, pod2) }},
    				{eventHappens: &AssignedPodAdd},
    				{callback: func(t *testing.T, q *PriorityQueue) {
    					logger, _ := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_test.go

    			Hosts: hosts,
    		})
    	return m
    }
    
    func TestBuildSidecarClustersWithIstioMutualAndSNI(t *testing.T) {
    	cases := []struct {
    		sni      string
    		expected string
    	}{
    		{"foo.com", "foo.com"},
    		{"", "outbound_.8080_.foobar_.foo.example.org"},
    	}
    	for _, tt := range cases {
    		t.Run(tt.sni, func(t *testing.T) {
    			g := NewWithT(t)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  10. src/crypto/x509/verify_test.go

    	},
    }
    
    func expectHostnameError(msg string) func(*testing.T, error) {
    	return func(t *testing.T, err error) {
    		if _, ok := err.(HostnameError); !ok {
    			t.Fatalf("error was not a HostnameError: %v", err)
    		}
    		if !strings.Contains(err.Error(), msg) {
    			t.Fatalf("HostnameError did not contain %q: %v", msg, err)
    		}
    	}
    }
    
    func expectExpired(t *testing.T, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
Back to top