Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 312 for testOk (0.15 sec)

  1. 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)
  2. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/groovy/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)
  3. maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

        }
    
        @Test
        void testBadDependencyScope() throws Exception {
            SimpleProblemCollector result = validate("bad-dependency-scope.xml");
    
            assertViolations(result, 0, 0, 2);
    
            assertTrue(result.getWarnings().get(0).contains("test:f"));
    
            assertTrue(result.getWarnings().get(1).contains("test:g"));
        }
    
        @Test
        void testBadDependencyManagementScope() throws Exception {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 13:13:07 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go

    			ok = false
    		}
    	}
    	return ok
    }
    
    func isTestingType(typ types.Type, testingType string) bool {
    	// No Unalias here: I doubt "go test" recognizes
    	// "type A = *testing.T; func Test(A) {}" as a test.
    	ptr, ok := typ.(*types.Pointer)
    	if !ok {
    		return false
    	}
    	return analysisutil.IsNamedType(ptr.Elem(), "testing", testingType)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/kotlin/src/test/java/org/gradle/testng/Test2.java

        public void test1() {
            System.out.println("Test2.test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("Test2.test2()");
        }
    
        @AfterClass
        public void afterClass() {
            System.out.println("Test2.afterClass()");
        }
    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/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/filter/TestFilterSpec.java

     * limitations under the License.
     */
    package org.gradle.api.internal.tasks.testing.filter;
    
    import java.io.Serializable;
    import java.util.Set;
    
    /**
     * Specification describing a Test's filters. This class is serialized and used in test workers.
     */
    public class TestFilterSpec implements Serializable {
        private final Set<String> includedTests;
        private final Set<String> excludedTests;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/testing/testng-preserveorder/groovy/src/test/java/org/gradle/testng/Test2.java

        public void test1() {
            System.out.println("Test2.test1()");
        }
    
        @Test(dependsOnMethods = {"test1"})
        public void test2() {
            System.out.println("Test2.test2()");
        }
    
        @AfterClass
        public void afterClass() {
            System.out.println("Test2.afterClass()");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 736 bytes
    - Viewed (0)
  8. 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)
  9. src/time/internal_test.go

    	defer t.Stop()
    
    	// If this test fails, we will either throw (when siftdownTimer detects
    	// bad when on update), or other timers will hang (if the timer in a
    	// heap is in a bad state). There is no reliable way to test this, but
    	// we wait on a short timer here as a smoke test (alternatively, timers
    	// in later tests may hang).
    	<-After(25 * Millisecond)
    }
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:37 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/maven/MavenResolveTestFixture.groovy

     * from the integration test's local maven repository.
     *
     * <p>Intended to verify that POMs published by Gradle can be consumed by Maven. Tests should
     * publish artifacts to {@link AbstractIntegrationSpec#mavenRepo} and then use the resolve exposed
     * by this fixture to run tests against those published artifacts.</p>
     */
    @SelfType(AbstractIntegrationSpec.class)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top