Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 570 for testCases (0.18 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/TestClassExecutionResult.java

         */
        TestClassExecutionResult assertTestsExecuted(String... testNames);
    
        /**
         * Asserts that the given tests (and only the given tests) were executed for the given test class.
         *
         * This supports JUnit5 parameterized tests where the test name and display name may not match.
         */
        TestClassExecutionResult assertTestsExecuted(TestCase... testCases);
    
    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/apis/apiserver/validation/validation_test.go

    )
    
    func TestValidateAuthenticationConfiguration(t *testing.T) {
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.StructuredAuthenticationConfiguration, true)
    
    	testCases := []struct {
    		name              string
    		in                *api.AuthenticationConfiguration
    		disallowedIssuers []string
    		want              string
    	}{
    		{
    			name: "jwt authenticator is empty",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  3. security/pkg/k8s/configutil_test.go

    	gvr := schema.GroupVersionResource{
    		Resource: "configmaps",
    		Version:  "v1",
    	}
    	caBundle := "test-data"
    	testData := map[string]string{
    		constants.CACertNamespaceConfigMapDataName: "test-data",
    	}
    	testCases := []struct {
    		name              string
    		existingConfigMap *v1.ConfigMap
    		expectedActions   []ktesting.Action
    		expectedErr       string
    	}{
    		{
    			name:        "non-existing ConfigMap",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 08 21:58:25 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload_test.go

    			}
    
    			cmdWithClusterID := []string{
    				"entry", "configure",
    				"-f", path.Join("testdata/vmconfig", dir.Name(), "workloadgroup.yaml"),
    				"--internalIP", testCases[dir.Name()]["internalIP"],
    				"--ingressIP", testCases[dir.Name()]["ingressIP"],
    				"--clusterID", constants.DefaultClusterName,
    				"--revision", "rev-1",
    				"-o", testdir,
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1StaticInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

        @Override
        def indyModes() {
            return [true]
        }
    
        @Override
        def testCases() {
            // static import calls (are handled differently by the dynamic Groovy's codegen)
            return [
                // varInitializer | processCreator | expectedPwdSuffix | expectedEnvVar
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. pkg/volume/util/resize_util_test.go

    				},
    			},
    		},
    	}
    
    	for _, testcase := range testCases {
    		updatePVC := MergeResizeConditionOnPVC(testcase.pvc, testcase.newConditions)
    
    		updateConditions := updatePVC.Status.Conditions
    		if !reflect.DeepEqual(updateConditions, testcase.finalConditions) {
    			t.Errorf("Expected updated conditions for test %s to be %v but got %v",
    				testcase.description,
    				testcase.finalConditions, updateConditions)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. src/encoding/xml/xml_test.go

    	}
    
    	s := &Test{Ns: "http://example.com/ns", Body: "hello world"}
    	return Marshal(s)
    }
    
    func TestIssue11405(t *testing.T) {
    	testCases := []string{
    		"<root>",
    		"<root><foo>",
    		"<root><foo></foo>",
    	}
    	for _, tc := range testCases {
    		d := NewDecoder(strings.NewReader(tc))
    		var err error
    		for {
    			_, err = d.Token()
    			if err != nil {
    				break
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/instrument/Execute1InstanceInstrumentationInDynamicGroovyWithIndyIntegrationTest.groovy

        @Override
        def indyModes() {
            return [true]
        }
    
        @Override
        def testCases() {
            return [
                // varInitializer | processCreator | expectedPwdSuffix | expectedEnvVar
                [fromString(), "command.execute()", "", ""],
                [fromGroovyString(), "command.execute()", "", ""],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. security/pkg/server/ca/server_test.go

    					t.Errorf("Case %s: expecting cert to be (%s) but got (%s) at position [%d] of cert chain.",
    						id, mockCertChain, v, i)
    				}
    			}
    		}
    	}
    }
    
    func TestCreateCertificate(t *testing.T) {
    	testCases := map[string]struct {
    		authenticators []security.Authenticator
    		ca             CertificateAuthority
    		certChain      []string
    		code           codes.Code
    	}{
    		"No authenticator": {
    			authenticators: nil,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/reset_test.go

    	}
    	defer cfgFile.Close()
    	if _, err = cfgFile.WriteString(testResetConfig); err != nil {
    		t.Fatalf("Unable to write file %q: %v", configFilePath, err)
    	}
    
    	testCases := []struct {
    		name        string
    		args        []string
    		flags       map[string]string
    		validate    func(*testing.T, *resetData)
    		expectError string
    		data        *resetData
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 13:42:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top