Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,077 for cunit (0.21 sec)

  1. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoPlugins/PluginsDemo.kt

        printResolvedAssignments(result)
    }
    
    
    class Tests {
        @Test
        fun `unit assigned to val is reported as an error`() {
            val result = schema.resolve("val x = plugins { }")
            assertTrue { result.errors.single().errorReason == ErrorReason.UnitAssignment }
        }
    
        @Test
        fun `unit assigned to property is reported as an error`() {
            val result = schema.resolve("plugins = plugins { }")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. testing/internal-testing/build.gradle.kts

        api(project(":stdlib-java-extensions"))
        api(project(":native"))
    
        api(libs.groovy)
        api(libs.groovyXml)
        api(libs.hamcrest)
        api(libs.hamcrestCore)
        api(libs.junit)
        api(libs.junit5JupiterApi)
        api(libs.spock)
        api(libs.spockJUnit4)
    
        implementation(project(":build-operations"))
        implementation(project(":functional"))
        implementation(project(":serialization"))
    
        implementation(libs.ant)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

    import model.CIBuildModel
    import model.JsonBasedGradleSubprojectProvider
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.ExtendWith
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.CsvSource
    import java.io.File
    
    /*
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 06:42:07 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okio.Buffer
    import okio.ForwardingSource
    import okio.buffer
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.api.fail
    
    class ExecuteAsyncTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKeyTest.kt

    import org.gradle.util.internal.EncryptionAlgorithm
    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.CoreMatchers.not
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Rule
    import org.junit.Test
    
    
    class ConfigurationCacheKeyTest {
    
        @JvmField
        @Rule
        val testDirectoryProvider = TestNameTestDirectoryProvider(javaClass)
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/JsonModelWriterTest.kt

    import org.gradle.internal.configuration.problems.PropertyTrace
    import org.gradle.internal.configuration.problems.StructuredMessage
    import org.hamcrest.MatcherAssert.assertThat
    import org.hamcrest.Matchers.hasEntry
    import org.junit.Test
    import java.io.StringWriter
    
    
    class JsonModelWriterTest {
    
        @Test
        fun `encodes model with empty strings correctly`() {
            assertThat(
                jsonModelFor {
                    beginModel()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScopeTest.kt

            }
        }
    }
    
    
    fun expecting(vararg expected: Plugin, block: PluginDependenciesSpec.() -> Unit) {
        assertThat(
            plugins(block).map { Plugin(it.id.id, it.version, it.isApply) },
            equalTo(expected.asList())
        )
    }
    
    
    fun plugins(block: PluginDependenciesSpecScope.() -> Unit): List<PluginRequestInternal> =
        PluginRequestCollector(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 06:46:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/DelegatedGradlePropertiesExtensionsTest.kt

    import org.gradle.kotlin.dsl.support.get
    import org.hamcrest.CoreMatchers.equalTo
    import org.hamcrest.CoreMatchers.nullValue
    import org.hamcrest.MatcherAssert.assertThat
    import org.junit.Assert.fail
    import org.junit.Test
    
    
    class DelegatedGradlePropertiesExtensionsTest {
    
        @Test
        fun `non-nullable delegated property access of existing non-null gradle property`() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:44:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
Back to top