Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 399 for test14 (0.11 sec)

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

            then:
            1 * factory.create() >> delegate
            then:
            1 * delegate.startProcessing(resultProcessor)
            then:
            1 * delegate.processTestClass(test1)
            0 * _._
        }
    
        def 'ends processing on delegate processor on nth test'() {
            when:
            processor.startProcessing(resultProcessor)
            processor.processTestClass(test1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator_test.go

    }
    
    func TestOperatorInitDryRun(t *testing.T) {
    	tests := []struct {
    		operatorNamespace string
    		watchedNamespaces string
    	}{
    		{
    			// default nss
    			operatorNamespace: "",
    			watchedNamespaces: "",
    		},
    		{
    			operatorNamespace: "test",
    			watchedNamespaces: "test1",
    		},
    		{
    			operatorNamespace: "",
    			watchedNamespaces: "test4, test5",
    		},
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:33 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/swift/testFiltering/kotlin/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)
  4. platforms/jvm/testing-jvm/src/test/groovy/org/gradle/api/tasks/testing/TestReportTest.groovy

            reportTask.testResults.from([[test2.binaryResultsDirectory], test3.binaryResultsDirectory])
    
            then:
            reportTask.testResults.files as List == [test1, test2, test3]*.binaryResultsDirectory*.getAsFile()*.get()
            reportTask.testResults.buildDependencies.getDependencies(reportTask) == [test1, test2, test3] as Set
        }
    
        def "can attach result dirs"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/cli-runtime/pkg/printers/tableprinter_test.go

    			rows: []metav1.TableRow{
    				{Cells: []interface{}{"test1", "1/1", "podPhase", int64(5), "20h"}},
    				{Cells: []interface{}{"test2", "1/2", "podPhase", int64(30), "21h"}},
    				{Cells: []interface{}{"test3", "4/4", "podPhase", int64(1), "22h"}},
    			},
    			options: PrintOptions{},
    			expected: `NAME    READY   STATUS
    test1   1/1     podPhase
    test2   1/2     podPhase
    test3   4/4     podPhase
    `,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 30 15:08:43 UTC 2022
    - 24.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/kotlin/src/test/java/org/gradle/testng/Test1.java

    import org.testng.annotations.AfterClass;
    import org.testng.annotations.BeforeClass;
    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() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 590 bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitJdkNavigationIntegrationTest.groovy

                        value = 1;
                    }
                }
            """.stripIndent()
            file('src/test/java/org/gradle/Test1.java') << """
                package org.gradle;
    
                ${testFrameworkImports}
    
                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
    - 2.2K bytes
    - Viewed (0)
Back to top