Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 384 for desc2 (0.05 sec)

  1. pilot/pkg/model/extensions_test.go

    	}
    }
    
    func TestFailStrategy(t *testing.T) {
    	cases := []struct {
    		desc string
    		in   *extensions.WasmPlugin
    		out  bool
    	}{
    		{
    			desc: "close",
    			in: &extensions.WasmPlugin{
    				Url:          "file://fake.wasm",
    				FailStrategy: extensions.FailStrategy_FAIL_CLOSE,
    			},
    			out: false,
    		},
    		{
    			desc: "open",
    			in: &extensions.WasmPlugin{
    				Url:          "file://fake.wasm",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. src/testing/panic_test.go

    func TestPanic(t *testing.T) {
    	testenv.MustHaveExec(t)
    
    	testCases := []struct {
    		desc  string
    		flags []string
    		want  string
    	}{{
    		desc:  "root test panics",
    		flags: []string{"-test_panic_test=TestPanicHelper"},
    		want: `
    --- FAIL: TestPanicHelper (N.NNs)
        panic_test.go:NNN: TestPanicHelper
    `,
    	}, {
    		desc:  "subtest panics",
    		flags: []string{"-test_panic_test=TestPanicHelper/1"},
    		want: `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 27 16:49:24 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. common/config/.golangci.yml

                desc: "use istio.io/istio/pkg/slices"
              - pkg: k8s.io/utils/pointer
                desc: "use istio.io/istio/pkg/ptr"
              - pkg: go.opencensus.io
                desc: "do not use OpenCensus; use OpenTelemetry instead"
              - pkg: golang.org/x/exp/maps
                desc: "do not use golang.org/x/exp/maps; use istio.io/istio/pkg/maps instead"
              - pkg: maps
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 20:03:06 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    	testCases := []struct {
    		desc          string
    		initialVerb   string
    		suggestedVerb string
    		request       *http.Request
    		requestInfo   *request.RequestInfo
    		expectedVerb  string
    	}{
    		{
    			desc:         "An empty string should be designated as unknown",
    			initialVerb:  "",
    			request:      nil,
    			expectedVerb: "other",
    		},
    		{
    			desc:         "LIST should normally map to LIST",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/impl/SortingAnnotationVisitor.java

        }
    
        @Override
        public AnnotationVisitor visitAnnotation(String name, String desc) {
            AnnotationMember annotation = new AnnotationMember(desc, true);
            SortingAnnotationVisitor visitor =
                new SortingAnnotationVisitor(annotation, super.visitAnnotation(name, desc));
            visitor.parentVisitor = this;
            visitor.annotationValueName = nameOrValue(name);
            return visitor;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("http://www.example.com/catalog?item=12&desc=vacation_hawaii", sitemaps[1].getLoc());
            assertEquals("weekly", ((SitemapUrl) sitemaps[1]).getChangefreq());
            assertNull(((SitemapUrl) sitemaps[1]).getPriority());
    
            assertEquals("2004-12-23", sitemaps[2].getLastmod());
            assertEquals("http://www.example.com/catalog?item=73&desc=vacation_new_zealand", sitemaps[2].getLoc());
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/testing/sub_test.go

    			}
    			ok := root.Run(tc.desc, tc.f)
    			ctx.release()
    
    			if ok != tc.ok {
    				t.Errorf("%s:ok: got %v; want %v", tc.desc, ok, tc.ok)
    			}
    			if ok != !root.Failed() {
    				t.Errorf("%s:root failed: got %v; want %v", tc.desc, !ok, root.Failed())
    			}
    			if ctx.running != 0 || ctx.numWaiting != 0 {
    				t.Errorf("%s:running and waiting non-zero: got %d and %d", tc.desc, ctx.running, ctx.numWaiting)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 01 21:27:08 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/ipset/ipset_test.go

    	testCases := []struct {
    		portRange string
    		expectErr bool
    		desc      string
    	}{
    		{ // case[0]
    			portRange: "a-b",
    			expectErr: true,
    			desc:      "invalid port number",
    		},
    		{ // case[1]
    			portRange: "1-2",
    			expectErr: false,
    			desc:      "valid",
    		},
    		{ // case[2]
    			portRange: "90-1",
    			expectErr: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  9. pkg/api/v1/pod/util_test.go

    	testCases := []struct {
    		desc           string
    		spec           *v1.PodSpec
    		wantContainers []string
    		mask           ContainerType
    	}{
    		{
    			desc:           "empty podspec",
    			spec:           &v1.PodSpec{},
    			wantContainers: []string{},
    			mask:           AllContainers,
    		},
    		{
    			desc: "regular containers",
    			spec: &v1.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 32.1K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    			"failed WriteCert with an error: %v",
    			err,
    		)
    	}
    
    	var tests = []struct {
    		desc     string
    		path     string
    		name     string
    		expected bool
    	}{
    		{
    			desc:     "empty path and name",
    			path:     "",
    			name:     "",
    			expected: false,
    		},
    		{
    			desc:     "valid path and name, both cert and key exist",
    			path:     tmpdir,
    			name:     "foo-0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
Back to top