Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 164 for expectedCert (0.16 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedNodeFixture.java

            return outputs;
        }
    
        /**
         * Given some expectedText, assert that the output of this fixture contains it.
         *
         * @param expectedText the expected lines of expectedText
         * @return this fixture
         */
        public GroupedNodeFixture assertOutputContains(String expectedText) {
            return assertOutputContains(ComparisonFailureFormat.LINEWISE, expectedText);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    		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",
    			initialVerb:  "LIST",
    			request:      nil,
    			expectedVerb: "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)
  3. cmd/kubeadm/app/util/endpoint_test.go

    		hostport      string
    		expectedHost  string
    		expectedPort  string
    		expectedError bool
    	}{
    		{
    			name:         "valid dns",
    			hostport:     "cp.k8s.io",
    			expectedHost: "cp.k8s.io",
    			expectedPort: "",
    		},
    		{
    			name:         "valid dns:port",
    			hostport:     "cp.k8s.io:1234",
    			expectedHost: "cp.k8s.io",
    			expectedPort: "1234",
    		},
    		{
    			name:         "valid ip4",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 23 03:19:26 UTC 2019
    - 10K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/logging/GroupedWorkOutputFixture.java

        }
    
        /**
         * Given some expectedText, assert that the output of this fixture contains it.
         *
         * @param expectedText the expected lines of expectedText
         * @return this fixture
         */
        public GroupedWorkOutputFixture assertOutputContains(String expectedText) {
            return assertOutputContains(ComparisonFailureFormat.LINEWISE, expectedText);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. security/pkg/pki/util/verify_cert_test.go

    		if err != nil {
    			if len(tc.expectedErr) == 0 {
    				t.Errorf("%s: Unexpected error: %v", id, err)
    			} else if !strings.Contains(err.Error(), tc.expectedErr) {
    				t.Errorf("%s: Unexpected error: %v VS (expected) %s", id, err, tc.expectedErr)
    			}
    		} else if len(tc.expectedErr) != 0 {
    			t.Errorf("%s: Expected error %s but succeeded", id, tc.expectedErr)
    		}
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 16 14:56:37 UTC 2022
    - 6.5K bytes
    - Viewed (0)
  6. security/pkg/k8s/configutil_test.go

    			if err != nil && err.Error() != tc.expectedErr {
    				t.Errorf("actual error (%s) different from expected error (%s).", err.Error(), tc.expectedErr)
    			}
    			if err == nil {
    				if tc.expectedErr != "" {
    					t.Errorf("expecting error %s but got no error", tc.expectedErr)
    				} else if err := checkActions(fake.Actions(), tc.expectedActions); err != nil {
    					t.Error(err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 21:58:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-decom_test.go

    		expectedUpdate bool
    		expectedErr    bool
    		name           string
    	}{
    		{
    			meta:           meta,
    			pools:          pools,
    			name:           "Correct",
    			expectedErr:    false,
    			expectedUpdate: false,
    		},
    		{
    			meta:           meta,
    			pools:          newPools,
    			name:           "Correct-Update",
    			expectedErr:    false,
    			expectedUpdate: true,
    		},
    		{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jul 03 16:47:40 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/finisher/finisher_test.go

    				}
    			}()
    			obj, err := FinishRequest(ctx, tc.fn)
    			if (err == nil && tc.expectedErr != nil) || (err != nil && tc.expectedErr == nil) || (err != nil && tc.expectedErr != nil && err.Error() != tc.expectedErr.Error()) {
    				t.Errorf("%d: unexpected err. expected: %v, got: %v", i, tc.expectedErr, err)
    			}
    			if !apiequality.Semantic.DeepEqual(obj, tc.expectedObj) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 07 14:20:33 UTC 2021
    - 8.2K bytes
    - Viewed (0)
  9. security/pkg/util/certutil_test.go

    		waitTime, err := cu.GetWaitTime(c.cert, c.now)
    		if c.expectedErr != "" {
    			if err == nil {
    				t.Errorf("%s: no error is returned.", id)
    			}
    			if err.Error() != c.expectedErr {
    				t.Errorf("%s: incorrect error message: %s VS %s", id, err.Error(), c.expectedErr)
    			}
    		} else {
    			if err != nil {
    				t.Errorf("%s: unexpected error: %v", id, err)
    			}
    			if int(waitTime.Seconds()) != c.expectedWaitTime {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 30 19:33:26 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. cmd/erasure-metadata_test.go

    	}
    
    	// Test them.
    	for _, testCase := range testCases {
    		index, offset, err := fi.ObjectToPartOffset(context.Background(), testCase.offset)
    		if err != testCase.expectedErr {
    			t.Fatalf("%+v: expected = %s, got: %s", testCase, testCase.expectedErr, err)
    		}
    		if index != testCase.expectedIndex {
    			t.Fatalf("%+v: index: expected = %d, got: %d", testCase, testCase.expectedIndex, index)
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 20:57:37 UTC 2024
    - 10.4K bytes
    - Viewed (0)
Back to top