Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,161 for cunit (0.09 sec)

  1. platforms/jvm/plugins-test-report-aggregation/src/integTest/groovy/org/gradle/api/plugins/TestReportAggregationPluginIntegrationTest.groovy

                    }
                """
                file("application/src/test/java/application/AdderTest.java").java """
                    package application;
    
                    import org.junit.Assert;
                    import org.junit.Test;
    
                    public class AdderTest {
                        @Test
                        public void testAdd() {
                            Adder adder = new Adder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 16:00:57 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/JvmProjectInitDescriptor.java

                    buildScriptBuilder.testRuntimeOnlyDependency(null, BuildInitDependency.of("org.junit.platform:junit-platform-launcher"));
    
                    buildScriptBuilder.taskMethodInvocation(
                        "Use JUnit Platform for unit tests.",
                        "test", "Test", "useJUnitPlatform");
                    break;
                default:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 19:14:24 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/docs/userguide/core-plugins/build_init_plugin.adoc

    * `gradle init --type java-application --test-framework junit-jupiter`: Uses https://junit.org[JUnit Jupiter] for testing instead of JUnit 4
    * `gradle init --type java-application --test-framework spock`: Uses https://spockframework.org[Spock] for testing instead of JUnit 4
    * `gradle init --type java-application --test-framework testng`: Uses https://testng.org/doc/index.html[TestNG] for testing instead of JUnit 4
    
    
    [[sec:java_version_option]]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        internal
        fun checkBinaryCompatible(v1: File.() -> Unit = {}, v2: File.() -> Unit = {}, block: CheckResult.() -> Unit = {}): CheckResult =
            runBinaryCompatibilityCheck(v1, v2) {
                assertBinaryCompatible()
                block()
            }
    
        internal
        fun checkNotBinaryCompatible(v1: File.() -> Unit = {}, v2: File.() -> Unit = {}, block: CheckResult.() -> Unit = {}): CheckResult =
            runBinaryCompatibilityCheck(v1, v2) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt

    import okhttp3.tls.HeldCertificate
    import okio.Buffer
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    
    @Suppress("deprecation")
    @Timeout(30)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        }
        {
          MockExecutor mock = new MockExecutor();
          TimeUnit unit = TimeUnit.SECONDS;
          long timeout = 5;
          TestExecutor testExecutor = new TestExecutor(mock);
          List<Future<String>> futures = testExecutor.invokeAll(tasks, timeout, unit);
          mock.assertMethodWithTimeout("invokeAll", timeout, unit);
          checkResults(futures);
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jan 05 19:41:03 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

    import okhttp3.testing.PlatformRule.Companion.getPlatformSystemProperty
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.fail
    import org.junit.jupiter.api.extension.AfterEachCallback
    import org.junit.jupiter.api.extension.BeforeEachCallback
    import org.junit.jupiter.api.extension.ExtensionContext
    
    /**
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. settings.gradle.kts

                }
            }
            maven {
                name = "Gradle public repository"
                url = uri("https://repo.gradle.org/gradle/public")
                content {
                    includeModule("org.openmbee.junit", "junit-xml-parser")
                }
            }
            gradlePluginPortal()
        }
        includeBuild("build-logic-settings")
    }
    
    plugins {
        id("gradlebuild.build-environment")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/tutorial/partr1_gradle_init.adoc

    <2> Use Maven Central for resolving dependencies.
    <3> Use JUnit Jupiter for testing (using the version catalog).
    <4> This dependency is used by the application (referred using the version catalog).
    <5> Define the toolchain version.
    <6> Define the main class for the application.
    <7> Use JUnit Platform for unit tests.
    =====
    [.multi-language-sample]
    =====
    [source, groovy]
    ----
    plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 22:50:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectAccessorsClassPathTest.kt

    import org.gradle.kotlin.dsl.support.compileToDirectory
    import org.gradle.kotlin.dsl.support.loggerFor
    import org.gradle.kotlin.dsl.support.uppercaseFirstChar
    import org.gradle.nativeplatform.BuildType
    import org.junit.Assert.assertEquals
    import org.junit.Test
    import org.mockito.ArgumentMatchers.anyMap
    import java.io.File
    import java.lang.reflect.Method
    import java.lang.reflect.Modifier.PUBLIC
    import java.lang.reflect.Modifier.STATIC
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 18.5K bytes
    - Viewed (0)
Back to top