Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MyTest2 (0.13 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r61/TestLauncherCrossVersionSpec.groovy

    @Timeout(120)
    @TargetGradleVersion(">=6.1")
    class TestLauncherCrossVersionSpec extends TestLauncherSpec {
    
        def setup() {
            file("src/test/java/example/MyTest2.java").text = """
                package example;
                public class MyTest2 {
                    @org.junit.Test public void bar() throws Exception {
                         org.junit.Assert.assertEquals(1, 1);
                    }
                }
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/BuildScanPluginSmokeTest.groovy

            }
    
            when:
            file("project1/build.gradle") << """
                println("Change a project so it's reconfigured")
            """
            createTest(file("project1"), "MyTest2")
            createTest(file("project2"), "MyTest2")
    
            then:
            with(scanRunner("-Dorg.gradle.unsafe.isolated-projects=true")
                .build()) {
                output.contains("Build scan written to")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r25/TestProgressCrossVersionSpec.groovy

                         Thread.sleep(100);
                         org.junit.Assert.assertEquals(1, 1);
                    }
                }
            """
            file("src/test/java/example/MyTest2.java") << """
                package example;
                public class MyTest2 {
                    @org.junit.Test public void one() throws Exception {
                         Thread.sleep(100);
                         org.junit.Assert.assertEquals(1, 1);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top