- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 5,440 for cunit (0.07 sec)
-
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) -
platforms/core-configuration/kotlin-dsl/src/testFixtures/kotlin/org/gradle/kotlin/dsl/fixtures/FolderBasedTest.kt
package org.gradle.kotlin.dsl.fixtures import org.gradle.test.fixtures.file.CleanupTestDirectory import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider import org.junit.Rule import java.io.File @CleanupTestDirectory(fieldName = "tempFolder") abstract class FolderBasedTest { @JvmField @Rule val tempFolder = TestNameTestDirectoryProvider(javaClass) val root: File
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 1.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; /** * Unit tests for {@link Runnables}. * * @author Olivier Pernet */ @GwtCompatible public class RunnablesTest extends TestCase { public void testDoNothingRunnableIsSingleton() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Sep 15 13:47:32 UTC 2016 - 986 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RunnablesTest.java
* limitations under the License. */ package com.google.common.util.concurrent; import com.google.common.annotations.GwtCompatible; import junit.framework.TestCase; /** * Unit tests for {@link Runnables}. * * @author Olivier Pernet */ @GwtCompatible public class RunnablesTest extends TestCase { public void testDoNothingRunnableIsSingleton() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 986 bytes - Viewed (0) -
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) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/execution/CombinatorsTest.kt
fun `can parse many symbols`() { val parser = zeroOrMore(combinator.symbol("foo")) assertSuccess( parser("foo"), listOf(Unit) ) assertSuccess( parser("foo foo"), listOf(Unit, Unit) ) } @Test fun `can parse many symbols before another symbol`() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 7.6K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginAwareExtensionsTest.kt
override fun apply(target: Gradle) = Unit } private class SettingsPlugin : Plugin<Settings> { override fun apply(target: Settings) = Unit } private class ProjectPlugin : Plugin<Project> { override fun apply(target: Project) = Unit } private class AnyPlugin : Plugin<Any> { override fun apply(target: Any) = Unit
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 5.4K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/testing_gradle_plugins.adoc
== Implementing automated tests This section discusses representative implementation examples for unit, integration, and functional tests. All test classes are based on the use of Spock, though it should be relatively easy to adapt the code to a different test framework. [[unit-tests]] === Implementing unit tests The URL verifier plugin emits HTTP GET calls to check if a URL can be resolved successfully.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Mar 18 22:49:20 UTC 2024 - 16K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/TrackingDynamicLookupRoutineTest.kt
import org.gradle.internal.metaobject.DynamicObject import org.junit.Test class TrackingDynamicLookupRoutineTest { @Test fun `tracks context in all implementations`() { val receiver = mock<DynamicObject> { on { tryGetProperty(any()) }.thenReturn(DynamicInvokeResult.found()) } fun shouldTrackContext(action: DynamicLookupRoutine.() -> Unit) { val tracker = mock<DynamicCallContextTracker>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/RepositoryHandlerExtensionsTest.kt
import org.gradle.api.Action import org.gradle.api.artifacts.dsl.RepositoryHandler import org.gradle.api.artifacts.repositories.IvyArtifactRepository import org.gradle.api.artifacts.repositories.MavenArtifactRepository import org.junit.Test import org.mockito.invocation.InvocationOnMock class RepositoryHandlerExtensionsTest { @Test fun `#maven(String)`() { val repository = mock<MavenArtifactRepository>()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 2.6K bytes - Viewed (0)