Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 487 for desc3 (0.13 sec)

  1. platforms/core-runtime/build-option/src/test/groovy/org/gradle/internal/buildoption/BuildOptionFixture.groovy

        static void assertDescription(CommandLineOption option, String desc) {
            assert option.description == desc
        }
    
        static void assertIncubatingDescription(CommandLineOption option, boolean incubating) {
            assertIncubatingDescription(option, incubating, DESCRIPTION)
        }
    
        static void assertIncubatingDescription(CommandLineOption option, boolean incubating, String desc) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. src/internal/fuzz/encoding_test.go

    		{
    			desc: "negative uint",
    			in: `go test fuzz v1
    uint(-32)`,
    			reject: true,
    		},
    		{
    			desc: "int8 too large",
    			in: `go test fuzz v1
    int8(1234456)`,
    			reject: true,
    		},
    		{
    			desc: "multiplication in int value",
    			in: `go test fuzz v1
    int(20*5)`,
    			reject: true,
    		},
    		{
    			desc: "double negation",
    			in: `go test fuzz v1
    int(--5)`,
    			reject: true,
    		},
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. 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)
  4. operator/pkg/version/version_test.go

    func TestVersion(t *testing.T) {
    	tests := []struct {
    		desc    string
    		yamlStr string
    		want    Version
    		wantErr string
    	}{
    		{
    			desc: "nil success",
    		},
    		{
    			desc:    "major success",
    			yamlStr: "1",
    			want:    NewVersion(1, 0, 0, ""),
    		},
    		{
    			desc:    "major fail",
    			yamlStr: "1..",
    			wantErr: `Malformed version: 1..`,
    		},
    		{
    			desc:    "major fail prefix",
    			yamlStr: ".1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  5. operator/pkg/util/reflect_test.go

    	tests := []struct {
    		desc     string
    		function func(v reflect.Value) bool
    		okValues []any
    	}{
    		{
    			desc:     "IsValuePtr",
    			function: IsValuePtr,
    			okValues: []any{&testInt, &testStruct, &testSlice, &testMap},
    		},
    		{
    			desc:     "IsValueStruct",
    			function: IsValueStruct,
    			okValues: []any{testStruct},
    		},
    		{
    			desc:     "IsValueInterface",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/filters/metrics_test.go

    	metrics := []string{
    		"authenticated_user_requests",
    		"authentication_attempts",
    	}
    
    	testCases := []struct {
    		desc        string
    		response    *authenticator.Response
    		status      bool
    		err         error
    		apiAudience authenticator.Audiences
    		want        string
    	}{
    		{
    			desc: "auth ok",
    			response: &authenticator.Response{
    				User: &user.DefaultInfo{Name: "admin"},
    			},
    			status: true,
    			want: `
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 20 13:35:55 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top