Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 483 for testB (0.16 sec)

  1. src/internal/gover/gover_test.go

    	in2 In2
    	in3 In3
    	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: Mon Nov 06 23:20:32 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/GradleTaskGetGroupCrossVersionSpec.groovy

                assert it.group == "task group ${it.name-'test'}"
            }
        }
    
        def "provide getGroup on Task using GradleProject shouldn't fail if group is null"() {
            file("build.gradle") << '''
    task test1()
    task test2()
    '''
    
            when:
            def gradleProject = withConnection { ProjectConnection connection ->
                connection.getModel(GradleProject)
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  3. pkg/credentialprovider/plugin/plugin_test.go

    			registry: "test2.registry.io",
    		},
    		{
    			name:     "provide for registry 3",
    			registry: "test3.registry.io",
    		},
    		{
    			name:     "provide for registry 4",
    			registry: "test4.registry.io",
    		},
    	}
    
    	pluginProvider := &pluginProvider{
    		clock:          tclock,
    		lastCachePurge: tclock.Now(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 09 06:11:06 UTC 2022
    - 26.5K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/groovy/src/test/java/org/gradle/testng/TestFactory.java

            System.out.println("TestFactory[" + data + "].beforeClass()");
        }
    
        @Test
        public void test1() {
            System.out.println("TestFactory[" + data + "].test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("TestFactory[" + data + "].test2()");
        }
    
        @AfterClass
        public void afterClass() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/testng/TestNGJdkNavigationIntegrationTest/shouldNotNavigateToJdkClasses/src/test/java/org/gradle/Test1.java

    package org.gradle;
    
    import org.testng.annotations.Test;
    
    import static org.testng.Assert.assertEquals;
    
    public class Test1 extends AbstractTest {
    
        @Test
        public void shouldPass() {
            assertEquals(1, value);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 229 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/vcstest/go/test1-svn-git.txt

    -- git-README-only/pkg/index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/go/test1-svn-git/git-README-only git https://vcs-test.golang.org/git/README-only">
    -- index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/go/test1-svn-git svn https://vcs-test.golang.org/svn/test1-svn-git">
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:22:22 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/vcstest/go/test2-svn-git.txt

    -- test2PKG/index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/go/test2-svn-git/test2PKG svn https://vcs-test.golang.org/svn/test2-svn-git">
    -- test2PKG/p1/index.html --
    <!DOCTYPE html>
    <html>
    <meta name="go-import" content="vcs-test.golang.org/go/test2-svn-git/test2PKG svn https://vcs-test.golang.org/svn/test2-svn-git">
    -- test2PKG/pkg/index.html --
    <!DOCTYPE html>
    <html>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 25 13:22:22 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. pilot/pkg/model/context_test.go

    				CreationTime: tnow.Add(1 * time.Second),
    				Hostname:     host.Name("test1.com"),
    			},
    		},
    		{
    			Service: &model.Service{
    				CreationTime: tnow,
    				Hostname:     host.Name("test3.com"),
    			},
    		},
    		{
    			Service: &model.Service{
    				CreationTime: tnow,
    				Hostname:     host.Name("test2.com"),
    			},
    		},
    	}
    
    	serviceDiscovery := memory.NewServiceDiscovery()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 23:51:52 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/jvm/java_testing.adoc

    gradle test --tests 'all.in.specific.package*'
    
    # specific method at specific package (recursively)
    gradle test --tests 'all.in.specific.package*.someSpecificMethod'
    
    gradle test --tests '*IntegTest'
    
    gradle test --tests '*IntegTest*ui*'
    
    gradle test --tests '*ParameterizedTest.foo*'
    
    # the second iteration of a parameterized test
    gradle test --tests '*ParameterizedTest.*[2]'
    ```
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 16:24:12 UTC 2024
    - 53.1K bytes
    - Viewed (0)
  10. tests/test_annotated.py

    def test_multiple_path():
        app = FastAPI()
    
        @app.get("/test1")
        @app.get("/test2")
        async def test(var: Annotated[str, Query()] = "bar"):
            return {"foo": var}
    
        client = TestClient(app)
        response = client.get("/test1")
        assert response.status_code == 200
        assert response.json() == {"foo": "bar"}
    
        response = client.get("/test1", params={"var": "baz"})
        assert response.status_code == 200
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top