- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,077 for cunit (0.07 sec)
-
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/ScalaApplicationInitIntegrationTest.groovy
when: fails('init', '--type', 'scala-application', '--test-framework', 'junit-4', '--dsl', scriptDsl.id, '--java-version', JavaVersion.current().majorVersion) then: failure.assertHasCause("""The requested test framework 'junit-4' is not supported for 'scala-application' build type. Supported frameworks: - 'scalatest'""") where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 03:26:38 UTC 2024 - 5.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
import java.net.UnknownHostException import java.util.Arrays import java.util.concurrent.ThreadFactory import okhttp3.internal.http2.Header import okio.Buffer import okio.FileSystem import org.junit.jupiter.api.Assumptions.assumeFalse import org.junit.jupiter.api.Assumptions.assumeTrue object TestUtil { @JvmField val UNREACHABLE_ADDRESS_IPV4 = InetSocketAddress("198.51.100.1", 8080)
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 4.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/jvm/plugins-jvm-test-suite/src/integTest/groovy/org/gradle/api/plugins/JvmTestSuitePluginIntegrationTest.groovy
buildFile << """ plugins { id 'java' } """ file("src/test/java/SomeTest.java") << """ import org.junit.Test; public class SomeTest { @Test public void foo() {} } """.stripIndent() expect: succeeds "outgoingVariants"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 16:00:57 UTC 2024 - 5.2K bytes - Viewed (0) -
maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
import java.util.Comparator; import java.util.List; import org.apache.commons.cli.Option; import org.junit.jupiter.api.Test; import static java.util.Objects.nonNull; /** * Pseudo test to generate documentation fragment about supported CLI options. TODO such documentation generation code * should not be necessary as unit test but should be run during site generation (Velocity? Doxia macro?) */ class CLIManagerDocumentationTest {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 4K bytes - Viewed (0) -
build-logic/performance-testing/src/main/kotlin/gradlebuild/performance/PerformanceTestPlugin.kt
addDependenciesAndConfigurations("performance") val junit by configurations.creating dependencies { if (project.name != "enterprise-plugin-performance") { "performanceTestImplementation"(project(":internal-performance-testing")) } junit("junit:junit:4.13") } } private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 06:42:07 UTC 2024 - 24.4K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/resolver/KotlinScriptDependenciesResolverTest.kt
import org.hamcrest.CoreMatchers.nullValue import org.hamcrest.Matcher import org.hamcrest.MatcherAssert.assertThat import org.junit.Assert.assertSame import org.junit.Assert.assertTrue import org.junit.Before import org.junit.Test import org.junit.experimental.categories.Category import java.io.File import kotlin.reflect.KClass import kotlin.script.dependencies.KotlinScriptExternalDependencies
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 05:12:50 UTC 2024 - 14.3K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/ScalaLibraryInitIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 03:26:38 UTC 2024 - 4.8K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/dom/DomResolutionTest.kt
import org.gradle.internal.declarativedsl.parsing.ParseTestUtil.Parser.parseAsTopLevelBlock import org.gradle.internal.declarativedsl.schemaBuilder.schemaFromTypes import org.junit.jupiter.api.Test import kotlin.test.assertEquals object DomResolutionTest { @Test fun `resolves declarative document`() { val resolver = tracingCodeResolver()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 31 13:47:09 UTC 2024 - 9.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
import java.util.concurrent.atomic.AtomicReference; import junit.framework.AssertionFailedError; import junit.framework.TestCase; /** * Base class for JSR166 Junit TCK tests. Defines some constants, utility methods and classes, as * well as a simple framework for helping to make sure that assertions failing in generated threads * cause the associated test that generated them to itself fail (which JUnit does not otherwise
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 19:21:11 UTC 2024 - 37.7K bytes - Viewed (0)