Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ThingTest (0.11 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/JavaCrossCompilationIntegrationTest.groovy

            buildFile << """
                dependencies { testImplementation 'junit:junit:4.13' }
            """
    
            file("src/test/java/ThingTest.java") << """
                import org.junit.Test;
                import static org.junit.Assert.*;
    
                public class ThingTest {
                    @Test
                    public void verify() {
                        assertTrue(System.getProperty("java.version").startsWith("${version}"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 05:59:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/compile/CrossCompilationIntegrationTest.groovy

                        r.run();
                    }
                }
            """
    
            def testFile = file("src/test/java/ThingTest.java")
            testFile << """
                import org.junit.Test;
                import org.junit.Assert;
                import java.io.File;
    
                public class ThingTest {
                    @Test
                    public void check() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 08:31:21 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheGroovyIntegrationTest.groovy

                }
            """
            file("src/main/groovy/Thing.groovy") << """
                class Thing {}
            """
            file("src/test/groovy/ThingTest.groovy") << """
                import org.junit.*
                class ThingTest {
                    @Test void ok() { new Thing() }
                }
            """
    
            and:
            def expectedTasks = [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/java/ParallelTestTaskIntegrationTest.groovy

        }
    }
    """
            subprojects.each { subproject ->
                settingsFile << "include '$subproject'\n"
                file("${subproject}/src/test/java/ThingTest.java") << """
    import org.junit.Test;
    import static org.junit.Assert.*;
    
    public class ThingTest {
        @Test
        public void verify() {
            assertTrue(System.getProperty("java.version").startsWith("${version}."));
        }
    }
    """
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:27:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top