- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for PassingTest (0.17 sec)
-
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/junit/platform/JUnitPlatformParameterizedTestIntegrationTest.groovy
def "test report receives events for disabled parameterized test"() { given: testClass("PassingWithDisabledParameterizedTest").with { testMethod('passingTest') testMethod('disabledTest').disabled() parameterizedMethod('disabledParameterizedTest').disabled() parameterizedMethod('enabledParameterizedTest') }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 6.1K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)