Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 668 for testF (0.25 sec)

  1. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy

        def "downloads artifacts in parallel from a Maven repo - #expression"() {
            def m1 = mavenRepo.module('test', 'test1', '1.0').publish()
            def m2 = mavenRepo.module('test', 'test2', '1.0').publish()
            def m3 = mavenRepo.module('test', 'test3', '1.0').publish()
            def m4 = mavenRepo.module('test', 'test4', '1.0').publish()
    
            buildFile << """
                repositories {
                    maven {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestReportTest.groovy

    import org.gradle.test.fixtures.AbstractProjectBuilderSpec
    import org.gradle.util.TestUtil
    
    class TestReportTest extends AbstractProjectBuilderSpec {
        def reportTask = TestUtil.create(temporaryFolder).task(TestReport)
    
        def "infers dependencies and results dirs from input tests"() {
            def test1 = test("test1")
            def test2 = test("test2")
            def test3 = test("test3")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            assertThat(map.getAt(0), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testPut() throws Exception {
            assertThat(map.put("1", "test3"), is("test"));
            assertThat(map.get("1"), is("test3"));
            assertThat(map.getAt(1), is("test3"));
            map.put(null, "test4");
            map.put(null, "test5");
        }
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/groovy/src/test/java/org/gradle/testng/Test1.java

    import org.testng.annotations.Test;
    
    public class Test1 {
    
        @BeforeClass
        public void beforeClass() {
            System.out.println("Test1.beforeClass()");
        }
    
        @Test
        public void test1() {
            System.out.println("Test1.test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("Test1.test2()");
        }
    
        @AfterClass
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 590 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/kotlin/src/test/java/org/gradle/testng/Test2.java

    import org.testng.annotations.Test;
    
    public class Test2 {
    
        public static class C implements Serializable {
            private static final long serialVersionUID = 1L;
        }
    
        @BeforeClass
        public void beforeClass() {
            System.out.println("Test2.beforeClass()");
        }
    
        @Test
        public void test1() {
            System.out.println("Test2.test1()");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 736 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/kotlin/src/test/java/org/gradle/testng/Test1.java

    import org.testng.annotations.Test;
    
    public class Test1 {
    
        @BeforeClass
        public void beforeClass() {
            System.out.println("Test1.beforeClass()");
        }
    
        @Test
        public void test1() {
            System.out.println("Test1.test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("Test1.test2()");
        }
    
        @AfterClass
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 590 bytes
    - Viewed (0)
  7. src/net/hosts_test.go

    }{
    	// 127.0.0.1
    	{"test", "test"},
    	// 127.0.0.2
    	{"test2.example.com", "test2.example.com"},
    	{"2.test", "test2.example.com"},
    	// 127.0.0.3
    	{"test3.example.com", "3.test"},
    	{"3.test", "3.test"},
    	// 127.0.0.4
    	{"example.com", "example.com"},
    	// 127.0.0.5
    	{"test5.example.com", "test4.example.com"},
    	{"5.test", "test4.example.com"},
    	{"4.test", "test4.example.com"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 07:21:38 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. test/fixedbugs/bug286.go

    //
    // Error: test2 calls g instead of f
    
    func test1(x I) {
    	type J interface {
    		I
    		g()
    	}
    	x.(J).f()
    	if callee != "f" {
    		println("test1 called", callee)
    		error_ = true
    	}
    }
    
    func test2(x I) {
    	type J interface {
    		g()
    		I
    	}
    	x.(J).f()
    	if callee != "f" {
    		println("test2 called", callee)
    		error_ = true
    	}
    }
    
    type J interface {
    	g()
    	I
    }
    
    func test3(x I) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/cli-runtime/pkg/resource/helper_test.go

    			},
    		},
    	}
    }
    
    func TestHelperDelete(t *testing.T) {
    	tests := []struct {
    		name    string
    		Err     bool
    		Req     func(*http.Request) bool
    		Resp    *http.Response
    		HttpErr error
    	}{
    		{
    			name:    "test1",
    			HttpErr: errors.New("failure"),
    			Err:     true,
    		},
    		{
    			name: "test2",
    			Resp: &http.Response{
    				StatusCode: http.StatusNotFound,
    				Header:     header(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/RestartEveryNTestClassProcessorTest.groovy

            processor.startProcessing(resultProcessor)
            processor.processTestClass(test1)
            processor.processTestClass(test2)
    
            then:
            1 * factory.create() >> delegate
            1 * delegate.startProcessing(resultProcessor)
            then:
            1 * delegate.processTestClass(test1)
            then:
            1 * delegate.processTestClass(test2)
            then:
            1 * delegate.stop()
            0 * _._
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
Back to top