Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestSomething (0.38 sec)

  1. platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/testing/testsuites/TestSuitesIntegrationTest.groovy

                package org.test;
    
                import org.junit.Test;
                import org.junit.Assert;
    
                public class MyTest {
                    @Test
                    public void testSomething() {
                        Assert.assertEquals(1, MyFixture.calculateSomething());
                    }
                }
            """
    
            expect: "does NOT compile due to a missing dependency"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 13 20:36:32 UTC 2023
    - 35.8K bytes
    - Viewed (0)
  2. platforms/native/testing-native/src/integTest/groovy/org/gradle/nativeplatform/test/xctest/SwiftXCTestIntegrationTest.groovy

                        ]
                    },
    
                    new XCTestSourceFileElement("UnicodeᏀᎡᎪᎠᏞᎬSuite") {
                        List<XCTestCaseElement> testCases = [
                            passingTestCase("testSomething"),
                        ]
                    }
                ]
            }
            settingsFile << "rootProject.name = '${test.projectName}'"
            test.writeToProject(testDirectory)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesKotlinDSLDependenciesIntegrationTest.groovy

                import org.junit.jupiter.api.Assertions;
                import org.junit.jupiter.api.Test;
    
                public class MyTest {
                    @Test
                    public void testSomething() {
                        Assertions.assertEquals(1, MyFixture.calculateSomething());
                    }
                }
            """
            file("util/src/testFixtures/java/org/test/MyFixture.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  4. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testsuites/dependencies/TestSuitesGroovyDSLDependenciesIntegrationTest.groovy

                import org.junit.jupiter.api.Assertions;
                import org.junit.jupiter.api.Test;
    
                public class MyTest {
                    @Test
                    public void testSomething() {
                        Assertions.assertEquals(1, MyFixture.calculateSomething());
                    }
                }
            """
            file("util/src/testFixtures/java/org/test/MyFixture.java") << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 11 16:25:08 UTC 2024
    - 43.1K bytes
    - Viewed (0)
Back to top