Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 453 for testu (0.07 sec)

  1. platforms/documentation/docs/src/snippets/swift/testFiltering/groovy/src/test/swift/SomeIntegTest.swift

    import XCTest
    
    class SomeIntegTest: XCTestCase {
        public static var allTests = [
            ("test1", test1),
            ("test2", test2)
        ]
        func test1() {}
        func test2() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 183 bytes
    - Viewed (0)
  2. test/fixedbugs/issue65962.go

    // license that can be found in the LICENSE file.
    
    package main
    
    func main() {
    	test1()
    	test2()
    }
    
    type I interface {
    	f()
    	g()
    	h()
    }
    
    //go:noinline
    func ld[T any]() {
    	var x I
    	if _, ok := x.(T); ok {
    	}
    }
    
    func isI(x any) {
    	_ = x.(I)
    }
    
    func test1() {
    	defer func() { recover() }()
    	ld[bool]() // add <bool,I> itab to binary
    	_ = any(false).(I)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 18:30:40 UTC 2024
    - 625 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions/matcher_test.go

    			evaluations: []cel.EvaluationResult{
    				{
    					EvalResult: celtypes.False,
    					ExpressionAccessor: &MatchCondition{
    						Name: "test1",
    					},
    				},
    				{
    					EvalResult: celtypes.True,
    					ExpressionAccessor: &MatchCondition{
    						Name: "test2",
    					},
    				},
    			},
    			shouldMatch:  false,
    			returnedName: "test1",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 15 00:53:08 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/testng-groupbyinstances/kotlin/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/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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top