Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 261 for testSam (0.23 sec)

  1. pkg/apis/rbac/helpers_test.go

    			}
    
    		})
    	}
    }
    
    func TestPolicyRuleBuilder(t *testing.T) {
    	tests := []struct {
    		testName   string
    		verbs      []string
    		groups     []string
    		resources  []string
    		names      []string
    		urls       []string
    		expected   bool
    		policyRule rbac.PolicyRule
    	}{
    		{
    			testName:   "all empty",
    			verbs:      nil,
    			groups:     nil,
    			resources:  nil,
    			names:      nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  2. maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java

    /**
     * Unit test for simple App.
     */
    public class AppTest
        extends TestCase
    {
        /**
         * Create the test case
         *
         * @param testName name of the test case
         */
        public AppTest( String testName )
        {
            super( testName );
        }
    
        /**
         * @return the suite of tests being tested
         */
        public static Test suite()
        {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 03 09:12:28 UTC 2017
    - 657 bytes
    - Viewed (0)
  3. plugin/pkg/admission/podtolerationrestriction/apis/podtolerationrestriction/validation/validation_test.go

    		},
    		testName:   "Invalid case",
    		testStatus: false,
    	}}
    
    	for i := range tests {
    		errs := ValidateConfiguration(&tests[i].config)
    		if tests[i].testStatus && errs != nil {
    			t.Errorf("Test: %s, expected success: %v", tests[i].testName, errs)
    		}
    		if !tests[i].testStatus && errs == nil {
    			t.Errorf("Test: %s, expected errors: %v", tests[i].testName, errs)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsTest.groovy

            assert projectDir == descriptor.getProjectDir()
        }
    
        def 'can create project descriptor'() {
            String testName = "testname"
            File testDir = new File("testDir")
    
            when:
            DefaultProjectDescriptor projectDescriptor = settings.createProjectDescriptor(settings.getRootProject(), testName, testDir)
    
            then:
            settings.rootProject.is(projectDescriptor.parent)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 01 18:57:54 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. pkg/kubelet/images/image_manager_test.go

    			}
    		})
    	}
    }
    
    func TestApplyDefaultImageTag(t *testing.T) {
    	for _, testCase := range []struct {
    		testName string
    		Input    string
    		Output   string
    	}{
    		{testName: "root", Input: "root", Output: "root:latest"},
    		{testName: "root:tag", Input: "root:tag", Output: "root:tag"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  6. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-typed-test.h

    # define TYPED_TEST(CaseName, TestName) \
      template <typename gtest_TypeParam_> \
      class GTEST_TEST_CLASS_NAME_(CaseName, TestName) \
          : public CaseName<gtest_TypeParam_> { \
       private: \
        typedef CaseName<gtest_TypeParam_> TestFixture; \
        typedef gtest_TypeParam_ TypeParam; \
        virtual void TestBody(); \
      }; \
      bool gtest_##CaseName##_##TestName##_registered_ GTEST_ATTRIBUTE_UNUSED_ = \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10K bytes
    - Viewed (0)
  7. testing/performance/docs/check-rev.sh

    # git bisect run check_rev.sh JavaConfigurationPerformanceTest lotDependencies
    TESTNAME=${1:-IdeIntegrationPerformanceTest}
    TESTPROJECT=${2:-multi}
    ./gradlew clean
    [ -d ~/.gradle-bisect-override ] && cp -Rdvp ~/.gradle-bisect-override/* .
    [ -x ~/.gradle-bisect-override-script ] && ~/.gradle-bisect-override-script $TESTNAME $TESTPROJECT
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. pkg/config/protocol/instance_test.go

    		{"", protocol.Unsupported},
    		{"SMTP", protocol.Unsupported},
    		{"HBONE", protocol.Unsupported},
    	}
    
    	for _, testPair := range testPairs {
    		testName := testPair.name
    		if testName == "" {
    			testName = "[empty]"
    		}
    		t.Run(testName, func(t *testing.T) {
    			out := protocol.Parse(testPair.name)
    			if out != testPair.out {
    				t.Fatalf("Parse(%q) => %q, want %q", testPair.name, out, testPair.out)
    			}
    		})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 11 16:27:16 UTC 2022
    - 2K bytes
    - Viewed (0)
  9. pkg/volume/csi/csi_attacher_test.go

    				t.Skipf("Skipping intentional failure on existing data when running as root.")
    			}
    		}
    		t.Run(tc.testName, func(t *testing.T) {
    			if tc.skipOnWindows && goruntime.GOOS == "windows" {
    				t.Skipf("Skipping test case on Windows: %s", tc.testName)
    			}
    			t.Logf("Running test case: %s", tc.testName)
    
    			// Setup
    			// Create a new attacher
    			fakeClient := fakeclient.NewSimpleClientset()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:23:16 UTC 2024
    - 58.1K bytes
    - Viewed (0)
  10. pkg/config/resource/name_test.go

    			description: "multiple segments", // Only the first segment is treated specially
    			name:        "testName//someotherStuff",
    			want:        "testName//someotherStuff",
    			err:         "",
    			valid:       true,
    		},
    		{
    			description: "valid name with namespace",
    			name:        "testNamespace/testName",
    			want:        "testNamespace/testName",
    			valid:       true,
    		},
    	}
    	for _, s := range steps {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 29 20:42:01 UTC 2020
    - 3.1K bytes
    - Viewed (0)
Back to top