- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 86 for runWith (0.3 sec)
-
platforms/jvm/testing-jvm/src/integTest/resources/org/gradle/testing/cucumberjvm/CucumberJVMReportIntegrationTest/testReportingSupportsCucumberStepsWithSlashes/src/test/java/RunCukesTest.java
import io.cucumber.junit.Cucumber; import org.junit.runner.RunWith; @RunWith(Cucumber.class) public class RunCukesTest {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 124 bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalalibrary/LibrarySuite.scala.template
${fileComment.multilineComment}${packageDecl.statement} import org.scalatest.funsuite.AnyFunSuite import org.junit.runner.RunWith import org.scalatestplus.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class LibrarySuite extends AnyFunSuite { test("someLibraryMethod is always true") { def library = new Library() assert(library.someLibraryMethod()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 369 bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassProcessorData.groovy
} public class ATestClassWithSlowMethods { @Test public void pass() {} @Test public void passSlowly() {} } @RunWith(Suite.class) @Suite.SuiteClasses([ATestClass.class, BTestClass.class]) public class ATestSuite { } @RunWith(Suite.class) @Suite.SuiteClasses([]) public class AnEmptyTestSuite { } public class CustomSuiteRunner extends Suite {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/kotlinDsl/androidSingleBuild/kotlin/src/androidTest/java/org/gradle/kotlin/dsl/samples/androidstudio/ExampleInstrumentedTest.kt
import android.support.test.runner.AndroidJUnit4 import org.junit.Test import org.junit.runner.RunWith import org.junit.Assert.* /** * Instrumented test, which will execute on an Android device. * * See [testing documentation](http://d.android.com/tools/testing). */ @RunWith(AndroidJUnit4::class) class ExampleInstrumentedTest { @Test fun useAppContext() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 688 bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/IgnoredTestDescriptorProviderTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 4.7K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/junit/JUnitTestClassExecutor.java
while (outermostClass.getEnclosingClass() != null) { outermostClass = outermostClass.getEnclosingClass(); } RunWith runWith = outermostClass.getAnnotation(RunWith.class); return runWith != null && Enclosed.class.equals(runWith.value()); } private void verifyJUnitCategorySupport() { boolean failed = false; try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 7.4K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/play-example/test/IntegrationSpec.scala
import org.junit.runner.RunWith import org.scalatest.junit.JUnitRunner import org.scalatestplus.play._ import org.scalatestplus.play.guice.GuiceOneServerPerTest @RunWith(classOf[JUnitRunner]) class IntegrationSpec extends PlaySpec with OneBrowserPerTest with GuiceOneServerPerTest with HtmlUnitFactory with ServerProvider { "Application" should { "work from within a browser" in { go to ("http://localhost:" + port)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 518 bytes - Viewed (0) -
okhttp-android/src/test/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt
import java.net.UnknownHostException import okhttp3.AsyncDns import org.junit.Test import org.junit.runner.RunWith import org.robolectric.RobolectricTestRunner import org.robolectric.annotation.Config import org.robolectric.shadow.api.Shadow @Config(shadows = [ShadowDnsResolver::class], sdk = [34]) @RunWith(RobolectricTestRunner::class) class AndroidAsyncDnsTest { @Test fun testDnsRequestInvalid() {
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 22 20:07:09 UTC 2024 - 1.6K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt
import org.apache.hc.core5.http.HttpVersion import org.junit.After import org.junit.Assert.assertEquals import org.junit.Test import org.junit.runner.RunWith /** * Apache HttpClient 5.x. * * https://hc.apache.org/httpcomponents-client-5.0.x/index.html */ @RunWith(AndroidJUnit4::class) class ApacheHttpClientTest { private var httpClient = HttpClients.createDefault() @After fun tearDown() { httpClient.close()
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/scalaapplication/AppSuite.scala.template
${fileComment.multilineComment}${packageDecl.statement} import org.scalatest.funsuite.AnyFunSuite import org.junit.runner.RunWith import org.scalatestplus.junit.JUnitRunner @RunWith(classOf[JUnitRunner]) class AppSuite extends AnyFunSuite { test("App has a greeting") { assert(App.greeting() != null) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 314 bytes - Viewed (0)