Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for Bassett (0.1 sec)

  1. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/InputTrackingStateTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl
    
    import org.junit.Assert
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    import org.junit.Test
    import java.lang.IllegalStateException
    import java.util.concurrent.Executors
    
    
    class InputTrackingStateTest {
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaTest.kt

        @Test
        fun `#isLegalAccessorName rejects illegal Kotlin extension names`() {
    
            assert(isLegalAccessorName("foo_bar"))
            assert(isLegalAccessorName("foo-bar"))
            assert(isLegalAccessorName("foo bar"))
            assert(isLegalAccessorName("'foo'bar'"))
            assert(isLegalAccessorName("foo${'$'}${'$'}bar"))
    
            assertFalse(isLegalAccessorName("foo`bar"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/SettingsExtensionsSchemaTest.kt

    import org.gradle.declarative.dsl.model.annotations.Configuring
    import org.gradle.declarative.dsl.model.annotations.Restricted
    import org.gradle.internal.declarativedsl.settings.settingsEvaluationSchema
    import org.junit.Assert.assertNotNull
    import org.junit.Assert.assertTrue
    import org.junit.Test
    
    
    class SettingsExtensionsSchemaTest {
    
        @Test
        fun `settings extensions are imported in declarative dsl schema`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 09:57:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinInitScriptIntegrationTest.kt

                    val computer = ${DeepThought::class.qualifiedName}()
                    val answer = computer.compute()
                    println("*" + answer + "*")
                    """
                )
    
            assert(
                build("-I", initScript.canonicalPath)
                    .output.contains("*42*")
            )
        }
    
        @Test
        fun `initscript file path is resolved relative to parent script dir`() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Sep 24 17:45:43 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_benchmark_chatty_success.txt

    # Run chatty tests. Assert on CONT lines.
    go test chatty_test.go -v -bench . chatty_bench
    
    # Sanity check that output happens. We don't provide -count because the amount
    # of output is variable.
    stdout 'this is sub-0'
    stdout 'this is sub-1'
    stdout 'this is sub-2'
    
    # Benchmarks should not print CONT.
    ! stdout CONT
    
    -- chatty_test.go --
    package chatty_bench
    
    import (
    	"testing"
    	"fmt"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 21 18:28:05 UTC 2020
    - 629 bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/settings/SettingsBlockCheckTest.kt

    import org.gradle.internal.declarativedsl.parsing.parse
    import org.gradle.internal.declarativedsl.plugins.PluginsTopLevelReceiver
    import org.junit.Assert.assertEquals
    import org.junit.Assert.assertTrue
    import org.junit.Test
    
    
    class SettingsBlockCheckTest {
        @Test
        fun `reports all duplicate plugins blocks`() {
            val result = pluginsSchema.runChecks(
                """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/test_chatty_success.txt

    # Run chatty tests. Assert on CONT lines.
    go test chatty_test.go -v
    
    # Non-parallel tests should not print CONT.
    ! stdout CONT
    
    # The assertion is condensed into one line so that it precisely matches output,
    # rather than skipping lines and allow rogue CONT lines.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 21 18:28:05 UTC 2020
    - 937 bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirLocalVariableSymbol.kt

    }
    
    internal class KaFirLocalVariableSymbol(firSymbol: FirPropertySymbol, analysisSession: KaFirSession) :
        KaFirLocalOrErrorVariableSymbol<FirProperty, FirPropertySymbol>(firSymbol, analysisSession) {
        init {
            assert(firSymbol.isLocal)
        }
    
        override val isVal: Boolean get() = withValidityAssertion { firSymbol.isVal }
    }
    
    internal class KaFirErrorVariableSymbol(
        firSymbol: FirErrorPropertySymbol,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinSettingsScriptIntegrationTest.kt

                    }
                }
                """
            )
    
            withSettings(
                """
                apply(from = "other.settings.gradle.kts")
                """
            )
    
            assert(
                build("compute").output.contains("*42*")
            )
        }
    
        @Test
        fun `can access settings extensions`() {
            withKotlinDslPluginIn("build-logic")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/dependency-management-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/dm/transform/ComponentVariantIdentifierCodec.kt

            encodePreservingSharedIdentityOf(value) {
                write(value.componentId)
                write(value.attributes)
                writeCollection(value.capabilities.asSet())
            }
        }
    
        override suspend fun ReadContext.decode(): ComponentVariantIdentifier {
            return decodePreservingSharedIdentity {
                val componentId = readNonNull<ComponentIdentifier>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 18:56:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top