Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/go/version/version_test.go

    	in1 In1
    	in2 In2
    	out Out
    }
    
    func test1[In, Out any](t *testing.T, tests []testCase1[In, Out], name string, f func(In) Out) {
    	t.Helper()
    	for _, tt := range tests {
    		if out := f(tt.in); !reflect.DeepEqual(out, tt.out) {
    			t.Errorf("%s(%v) = %v, want %v", name, tt.in, out, tt.out)
    		}
    	}
    }
    
    func test2[In1, In2, Out any](t *testing.T, tests []testCase2[In1, In2, Out], name string, f func(In1, In2) Out) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 19:56:48 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. pkg/proxy/util/linebuffer_test.go

    			name:     "none",
    			input:    []interface{}{},
    			expected: "\n",
    		},
    		{
    			name:     "one string",
    			input:    []interface{}{"test1"},
    			expected: "test1\n",
    		},
    		{
    			name:     "one slice",
    			input:    []interface{}{[]string{"test1", "test2"}},
    			expected: "test1 test2\n",
    		},
    		{
    			name:     "mixed",
    			input:    []interface{}{"s1", "s2", []string{"s3", "s4"}, "", "s5", []string{}, []string{"s6"}, "s7"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 14 12:38:25 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy

        }
    
        @Test public void pass() {}
    }
    
    public class ATestClassWithSeveralMethods {
        @Test public void pass() {}
        @Test public void pass2() {}
        @Test public void passSlowly() {}
        @Test public void passSlowly2() {}
        @Test public void fail() { throw new RuntimeException("Boo!") }
    }
    public class ATestClassWithSlowMethods {
        @Test public void pass() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/TestedProjectFixture.groovy

        }
    
        static class JavaTestClass {
            public static final PRESERVED_TEST1 = new JavaTestClass('org.gradle.Test1', 'org.gradle.Test1')
            public static final PRESERVED_TEST2 = new JavaTestClass('org.gradle.Test2', 'org.gradle.Test2')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/config/strict/testdata/invalid_duplicate_field_clustercfg.yaml

    apiVersion: kubeadm.k8s.io/v1beta3
    kind: ClusterConfiguration
    controlPlaneEndpoint: test1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 13:30:26 UTC 2023
    - 118 bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/FilteredConfigurationIntegrationTest.groovy

            outputContains("external-dependencies: [test1-1.0.jar]")
            outputContains("child1-dependencies: [child1.jar, child1-lib.jar, test2-1.0.jar]")
        }
    
        @ToBeFixedForConfigurationCache(because = "task uses Configuration API")
        def "can query files for filtered first level dependencies when there is a cycle in the dependency graph"() {
            mavenRepo.module("group", "test1", "1.0").publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 20:27:07 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/filtering/kotlin/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)
  8. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            value = "${\\$}";
            assertEquals(value, ResourceUtil.resolve(value));
    
            System.setProperty("test.dir", "c:\\test1\\test2");
    
            value = "${test.dir}";
            assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value));
    
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/worker/ForkingTestClassProcessorTest.groovy

        }
    
        def "acquires worker lease and starts worker process on first test"() {
            given:
            def test1 = Mock(TestClassRunInfo)
            def test2 = Mock(TestClassRunInfo)
            def processor = newProcessor()
    
            when:
            processor.processTestClass(test1)
            processor.processTestClass(test2)
    
            then:
            1 * workerLeaseRegistry.startWorker()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. 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)
Back to top