Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for PassingTest (0.18 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformParameterizedTestIntegrationTest.groovy

    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/SampleTestNGIntegrationTest.groovy

            result.testClass('org.gradle.OkTest').assertTestsExecuted('passingTest', 'expectedFailTest')
            result.testClass('org.gradle.OkTest').assertTestPassed('passingTest')
            result.testClass('org.gradle.OkTest').assertTestPassed('expectedFailTest')
            result.testClass('org.gradle.ConcreteTest').assertTestsExecuted('ok', 'alsoOk')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/fixture/JvmBlockingTestClassGenerator.groovy

            root.file('src/test/java/pkg/OtherTest.java') << """
                package pkg;
                $testFrameworkImports
                public class OtherTest {
                    @Test
                    public void passingTest() {
                        ${server.callFromBuild("$OTHER_RESOURCE")}
                    }
                }
            """.stripIndent()
        }
    
        List<String> withNonfailingTests(int num) {
            (1..num).collect {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/resources/org/gradle/play/integtest/fixtures/external/basicplayapp/test/IntegrationSpec.scala

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import org.junit._
    
    class IntegrationSpec  {
      @Test 
      def passingTest() {
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 699 bytes
    - Viewed (0)
  5. testing/smoke-test/src/smokeTest/resources/org/gradle/play/integtest/fixtures/external/basicplayapp/test/ApplicationSpec.scala

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    import org.junit._
    
    class ApplicationSpec  {
      @Test 
      def passingTest() {
      }
      @Test 
      def passingTest2() {
      }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 735 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/testing/testng-java-passing/groovy/src/test/java/org/gradle/OkTest.java

    package org.gradle;
    
    public class OkTest {
        @org.testng.annotations.Test
        public void passingTest() {
        }
    
        @org.testng.annotations.Test(expectedExceptions = RuntimeException.class)
        public void expectedFailTest() {
            throw new RuntimeException("broken");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 284 bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractJvmFailFastIntegrationSpec.groovy

            def result = new DefaultTestExecutionResult(testDirectory)
            result.testClass('pkg.FailedTest').assertTestFailed('failTest', CoreMatchers.anything())
            result.testClass('pkg.OtherTest').assertTestPassed('passingTest')
    
            where:
            description        | taskList                   | buildConfig
            'default config'   | ['test']                   | ''
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  8. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGXmlResultAndHtmlReportIntegrationTest.groovy

            System.err.println("err.fail2");
            fail("failing2!");
        }
        @Test(enabled = false) public void skipped() {}
    }
    """
            file("src/test/java/org/PassingTest.java") << """package org;
    import org.testng.annotations.*;
    
    public class PassingTest {
        @Test public void passing() {
            System.out.println("out" );
        }
        @Test public void passing2() {}
    }
    """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 25 21:27:42 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  9. native-image-tests/src/main/kotlin/okhttp3/SampleTest.kt

    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    class SampleTest {
      @JvmField @RegisterExtension
      val clientRule = OkHttpClientTestRule()
    
      @Test
      fun passingTest() {
        assertThat("hello").isEqualTo("hello")
      }
    
      @Test
      fun testMockWebServer(server: MockWebServer) {
        server.enqueue(MockResponse(body = "abc"))
    
        val client = clientRule.newClient()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/AbstractJUnitTestFailureIntegrationTest.groovy

            """
    
            file('src/test/java/PoisonTest.java') << """
                ${testFrameworkImports}
    
                public class PoisonTest {
                    @Test public void passingTest() { }
    
                    @Test public void testWithUnserializableException() {
                        if (true) {
                            throw new UnserializableException();
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 18K bytes
    - Viewed (0)
Back to top