Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 643 for test0 (0.17 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformUserGuideIntegrationTest.groovy

            assertTrue(displayName.equals("TEST 1") || displayName.equals("test2()"));
        }
    
        @Test
        @DisplayName("TEST 1")
        @Tag("my-tag")
        void test1(TestInfo testInfo) {
            assertEquals("TEST 1", testInfo.getDisplayName());
            assertTrue(testInfo.getTags().contains("my-tag"));
        }
    
        @Test
        void test2() {
        }
    }
    '''
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  2. platforms/software/version-control/src/test/groovy/org/gradle/vcs/internal/DefaultSourceControlTest.groovy

            repo != null
            def repo2 = sourceControl.gitRepository(new URI("https://gradle.org/test2"))
            repo2 != repo
        }
    
        def "can register and configure a Git repository"() {
            def action = Mock(Action)
    
            when:
            def repo = sourceControl.gitRepository(new URI("https://gradle.org/test1"), action)
            repo != null
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top