Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 423 for testu (0.06 sec)

  1. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestCountLoggerTest.groovy

        def logsCountOfTestsExecuted() {
            TestDescriptor test1 = test()
            TestDescriptor test2 = test()
    
            logger.beforeSuite(rootSuite)
    
            when:
            logger.afterTest(test1, result())
            logger.beforeTest(test2)
    
            then:
            1 * progressLogger.progress('1 test completed')
    
            when:
            logger.afterTest(test2, result())
            logger.afterSuite(rootSuite, result())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    								BytesSent:     10,
    								EndpointId:    "test",
    								InstanceId:    "test",
    							},
    						},
    					},
    					{
    						container: hcsshim.ContainerProperties{
    							ID: "c2",
    						}, hcsStats: []hcsshim.NetworkStats{
    							{
    								BytesReceived: 2,
    								BytesSent:     20,
    								EndpointId:    "test2",
    								InstanceId:    "test2",
    							},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGGroupByInstancesIntegrationTest.groovy

                    }
    
                    @Test
                    public void test1() {
                        System.out.println("TestFactory[" + data + "].test1()");
                    }
    
                    @Test(dependsOnMethods = {"test1"})
                    public void test2() {
                        System.out.println("TestFactory[" + data + "].test2()");
                    }
    
                    @AfterClass
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/IncrementalAntlrTaskIntegrationTest.groovy

            when:
            grammar("Test1", "Test2")
            then:
            succeeds("generateGrammarSource")
    
            test1TokenFile.exists()
            test1LexerFile.exists()
            test1ParserFile.exists()
    
            test2TokenFile.exists()
            test2LexerFile.exists()
            test2ParserFile.exists()
    
            when:
            removedGrammar("Test1")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/suppliers/CustomVersionListerWithSupplierIntegrationTest.groovy

            [
                [group:'org', name: 'testA', version: '3', attributes: ['org.gradle.status': 'release', 'custom': 'foo']],
                [group:'org', name: 'testA', version: '2', attributes: ['org.gradle.status': 'integration', 'custom': 'bar']],
                [group:'org', name: 'testA', version: '1', attributes: ['org.gradle.status': 'release', 'custom': 'bar']],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top