Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 647 for test9 (0.04 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. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestReportDataCollectorSpec.groovy

            collector.beforeTest(test)
            collector.beforeTest(test2)
            collector.onOutput(test, new DefaultTestOutputEvent(StdErr, "err-1"))
            collector.onOutput(test2, new DefaultTestOutputEvent(StdOut, "out-2"))
            collector.onOutput(test, new DefaultTestOutputEvent(StdOut, "out-1"))
    
            then:
            1 * writer.onOutput(3, 1, new DefaultTestOutputEvent(StdErr, "err-1"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r70/TestDisplayNameJUnit5CrossVersionSpec.groovy

        @Test
        @DisplayName("and a test display name")
        void test() {
        }
    }
    """
            when:
            launchTests { TestLauncher launcher ->
                launcher.withTaskAndTestClasses(':test', ['org.example.SimpleTests'])
            }
    
            then:
            jvmTestEvents {
                task(":test") {
                    suite("Gradle Test Run :test") {
                        suite("Gradle Test Executor") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. pkg/volume/util/subpath/subpath_linux_test.go

    		if err != nil && !test.expectError {
    			t.Errorf("test %q failed: %v", test.name, err)
    		}
    		if err == nil && test.expectError {
    			t.Errorf("test %q failed: expected error, got success", test.name)
    		}
    
    		if err = test.validate(base); err != nil {
    			t.Errorf("test %q failed validation: %v", test.name, err)
    		}
    
    		os.RemoveAll(base)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/test_fail_fast.txt

    [short] skip
    
    # test fail fast
    ! go test ./failfast_test.go -run='TestFailingA' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    ! go test ./failfast_test.go -run='TestFailing[AB]' -failfast=false
    stdout -count=2 'FAIL - '
    
    # mix with non-failing tests
    ! go test ./failfast_test.go -run='TestA|TestFailing[AB]' -failfast=true
    stdout -count=1 'FAIL - '
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 19:25:24 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    						Expression: "this.expression == unit.test",
    						Message:    "test2",
    					},
    				},
    			},
    			policyDecision: []PolicyDecision{
    				{
    					Action:  ActionDeny,
    					Reason:  metav1.StatusReasonForbidden,
    					Message: "test1",
    				},
    				{
    					Action:  ActionDeny,
    					Reason:  metav1.StatusReasonForbidden,
    					Message: "test2",
    				},
    			},
    			failPolicy: &fail,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. 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)
Back to top