Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 649 for testu (0.04 sec)

  1. platforms/native/language-native/src/test/groovy/org/gradle/language/internal/DefaultBinaryCollectionTest.groovy

            binary1.name >> "test1"
    
            expect:
            container.add(binary1)
            container.realizeNow()
            def p = container.getByName("test1")
    
            p.present
            p.get() == binary1
        }
    
        def "querying the result of get by name fails when not realized"() {
            def binary1 = Stub(SwiftBinary)
            binary1.name >> "test1"
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/testing/filtering/groovy/src/test/java/SomeIntegTest.java

    import org.junit.*;
    
    public class SomeIntegTest {
        @Test public void test1() {}
        @Test public void test2() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 118 bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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