Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 231 for testB (0.07 sec)

  1. pkg/security/apparmor/validate_test.go

    	}
    
    	for _, test := range tests {
    		err := v.Validate(getPodWithProfile(test.profile))
    		if test.expectValid {
    			assert.NoError(t, err, "Pod with profile %q should be valid", test.profile)
    		} else {
    			assert.Error(t, err, fmt.Sprintf("Pod with profile %q should trigger a validation error", test.profile))
    		}
    	}
    
    	// Test multi-container pod.
    	pod := &v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 18:46:31 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            assertEquals("test.sh", list.get(0));
            assertEquals("test1 ' test2", list.get(1));
    
            cmd = "test.sh 'test1 \" test2'";
            params.clear();
            list = extractor.parseCommand(cmd, params);
            assertEquals(2, list.size());
            assertEquals("test.sh", list.get(0));
            assertEquals("test1 \" test2", list.get(1));
    
            cmd = "test.sh $INPUT_FILE";
            params.clear();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/util/find_errorline_utils_test.go

    		fmt.Sprintf(DestinationHost, "test", 0, 0),
    		fmt.Sprintf(MirrorHost, 0),
    		fmt.Sprintf(VSGateway, 0),
    		fmt.Sprintf(URISchemeMethodAuthorityRegexMatch, 0, 0, "test"),
    		fmt.Sprintf(HeaderAndQueryParamsRegexMatch, 0, 0, "test", "test"),
    		fmt.Sprintf(AllowOriginsRegexMatch, 0, 0),
    		fmt.Sprintf(WorkloadSelector, "test"),
    		fmt.Sprintf(PortInPorts, 0),
    		fmt.Sprintf(FromRegistry, "test", 0),
    		fmt.Sprintf(ImageInContainer, 0),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 17:36:47 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator_test.go

    	for _, test := range tests {
    		t.Run("", func(t *testing.T) {
    			args := []string{"operator", "init", "--dry-run"}
    			if test.operatorNamespace != "" {
    				args = append(args, "--operatorNamespace", test.operatorNamespace)
    			}
    			if test.watchedNamespaces != "" {
    				args = append(args, "--watchedNamespaces", test.watchedNamespaces)
    			}
    
    			kubeClientFunc = func() (kube.CLIClient, error) {
    				return nil, nil
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/eclipse/model/ClasspathTest.groovy

            where:
            path1    | path2    | test1   | test2   | expectedEntries
            '/pathA' | '/pathA' | 'false' | 'false' | [[path: '/pathA', test: 'false']]
            '/pathA' | '/pathA' | 'false' | 'true'  | [[path: '/pathA', test: 'false']]
            '/pathA' | '/pathA' | 'true'  | 'false' | [[path: '/pathA', test: 'false']]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Mar 24 15:55:52 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/junit4/JUnit4TestFilteringSamplesIntegrationTest.groovy

            executer.withRepositoryMirrors()
        }
    
        def "uses test filter"() {
            when:
            inDirectory(sample.dir)
            run("test")
    
            then:
            def result = new DefaultTestExecutionResult(sample.dir)
            result.assertTestClassesExecuted("SomeIntegTest", "SomeOtherTest")
            result.testClass("SomeIntegTest").assertTestsExecuted("test1", "test2")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. pkg/log/uds_test.go

    	go func() {
    		if err := http.Serve(unixListener, mux); err != nil {
    			t.Error(err)
    		}
    	}()
    
    	{
    		t.Log("test sending normal log")
    
    		WithLabels("k", "v").Info("test")
    		Warn("test2")
    		Sync()
    
    		// There should be two messages received at server
    		// {"msg":"test","k":"v"}
    		// {"msg":"test2"}
    		if got, want := len(srv.messages), 2; got != want {
    			t.Fatalf("number received log messages got %v want %v", got, want)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 01:05:12 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/ConsoleTestNGUnsupportedTestWorkerFunctionalTest.groovy

        private static final String TESTNG_VERSION = '6.3.1'
        private static final String TESTNG_ANNOTATION = 'org.testng.annotations.Test'
        private static final String TEST_CLASS_1 = 'Test1'
        private static final String TEST_CLASS_2 = 'Test2'
    
        @Rule
        BlockingHttpServer server = new BlockingHttpServer()
    
        def setup() {
            executer.withConsole(ConsoleOutput.Rich)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. istioctl/pkg/authz/analyzer_test.go

    	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    
    	"istio.io/istio/istioctl/pkg/util/configdump"
    )
    
    func TestNewAnalyzer(t *testing.T) {
    	tests := []struct {
    		name    string
    		input   *configdump.Wrapper
    		wantErr error
    	}{
    		{
    			name: "Test1",
    			input: &configdump.Wrapper{
    				ConfigDump: &envoy_admin.ConfigDump{
    					Configs: []*anypb.Any{
    						{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. pkg/util/sets/set_test.go

    }
    
    func TestEquals(t *testing.T) {
    	tests := []struct {
    		name   string
    		first  Set[string]
    		second Set[string]
    		want   bool
    	}{
    		{
    			"both nil",
    			nil,
    			nil,
    			true,
    		},
    		{
    			"unequal length",
    			New("test"),
    			New("test", "test1"),
    			false,
    		},
    		{
    			"equal sets",
    			New("test", "test1"),
    			New("test", "test1"),
    			true,
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top