Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for assertbig (0.22 sec)

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

            )
            val error = result.errors.singleOrNull()
            assertNotNull(error)
            val reason = error.errorReason
            assertIs<ErrorReason.AssignmentTypeMismatch>(reason)
            assertIs<DataType.StringDataType>(reason.expected)
            assertIs<DataType.IntDataType>(reason.actual)
        }
    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. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/objectGraph/AssignmentResolverTest.kt

            val additionResults = resolution.assignments.map { impl.addAssignment(it.lhs, it.rhs, it.assignmentMethod, it.operationId.generationId) }
            assertIs<AssignmentResolver.AssignmentAdditionResult.Reassignment>(additionResults[2])
    
            val resultMap = impl.getAssignmentResults()
            val xAssigned = assertIs<AssignmentResolver.AssignmentResolutionResult.Assigned>(resultMap.entries.single { it.key.property.name == "x" }.value)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 14:27:23 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/schemaBuidler/FunctionExtractorTest.kt

    import kotlin.test.Test
    import kotlin.test.assertIs
    import kotlin.test.assertTrue
    
    
    object FunctionExtractorTest {
        @Test
        fun `adding function may have a configuring lambda if it returns the added value`() {
            val schema = schemaFromTypes(ReceiverOne::class, listOf(ReceiverOne::class))
            val function = schema.dataClassesByFqName.values.single().memberFunctions.single()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SerializationTest.kt

    import org.gradle.internal.declarativedsl.demo.resolve
    import org.gradle.internal.declarativedsl.serialization.SchemaSerialization
    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertIs
    
    
    object SerializationTest {
        private
        val pluginsSchema: AnalysisSchema = schema
    
        @Test
        fun `schema is serializable`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:07:27 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/integration_test/tensorflow_to_stablehlo_test.py

              input_path=path, input_arg_shapes_str='4'
          )
          with ir.Context() as ctx:
            stablehlo.register_dialect(ctx)
            module = ir.Module.parse(module_bytecode)
            self.assertIn('stablehlo.add %arg0, %cst : tensor<4xf32>', str(module))
    
      def test_tf_mlir_to_stablehlo(self):
        assembly = """
          module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/SubtypingTest.kt

    import org.gradle.internal.declarativedsl.demo.resolve
    import org.gradle.internal.declarativedsl.schemaBuilder.schemaFromTypes
    import org.junit.jupiter.api.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertIs
    import kotlin.test.assertNotNull
    import kotlin.test.assertTrue
    
    
    object SubtypingTest {
        val schema = schemaFromTypes(
            TopLevelForSubtyping::class,
            listOf(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/PropertyTest.kt

    import kotlin.test.Test
    import kotlin.test.assertEquals
    import kotlin.test.assertIs
    import kotlin.test.assertTrue
    
    
    object PropertyTest {
        @Test
        fun `read-only property cannot be written`() {
            val result = schema().resolve("x = y")
            val singleError = result.errors.single().errorReason
            assertIs<ErrorReason.ReadOnlyPropertyAssignment>(singleError)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:01 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. pilot/pkg/simulation/traffic.go

    	ClusterMatched     string
    	// StrictMatch controls whether we will strictly match the result. If unset, empty fields will
    	// be ignored, allowing testing only fields we care about This allows asserting that the result
    	// is *exactly* equal, allowing asserting a field is empty
    	StrictMatch bool
    	// If set, this will mark a test as skipped. Note the result is still checked first - we skip only
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            self._input_saved_model_path, tags, signature_def_key
        )
    
        # Make sure that the desired input key and output key is present.
        self.assertIn('input_vocabs', inputs.keys())
        self.assertIn('lookup', outputs.keys())
    
        # Representative dataset is composed of a set of vocabs for table lookup.
        repr_ds = [
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

    import java.util.Iterator;
    import java.util.List;
    import java.util.Map.Entry;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A series of tests that support asserting that collections cannot be modified, either through
     * direct or indirect means.
     *
     * @author Robert Konigsberg
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class UnmodifiableCollectionTests {
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 20:31:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
Back to top