Lines Matching refs:AreEqual

79             Assert.AreEqual(expected, TestAllTypes.Parser.ParseJson(json));  in OriginalFieldNameAccepted()
132 Assert.AreEqual(message, parsed); in SingularWrappers_ExplicitNulls()
148 Assert.AreEqual(expected, parsed); in Wrappers_Standalone()
152 Assert.AreEqual(expected, parsed); in Wrappers_Standalone()
160 Assert.AreEqual(new TestWellKnownTypes { ValueField = Value.ForNull() }, message); in ExplicitNullValue()
170 Assert.AreEqual(expected, parsed); in BytesWrapper_Standalone()
202 Assert.AreEqual(new TestAllTypes(), TestAllTypes.Parser.ParseJson(json)); in RepeatedField_NullOverallValueAllowed()
218 Assert.AreEqual(new TestMap(), TestMap.Parser.ParseJson(json)); in MapField_NullOverallValueAllowed()
224 … Assert.AreEqual(new StringValue { Value = "foo" }, StringValue.Parser.ParseJson("\"foo\"")); in IndividualWrapperTypes()
225 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("1")); in IndividualWrapperTypes()
227 Assert.AreEqual(new Int32Value { Value = 1 }, Int32Value.Parser.ParseJson("\"1\"")); in IndividualWrapperTypes()
235 Assert.AreEqual(clone, parsed);
249 Assert.AreEqual(expectedParsedValue, parsed.SingleInt32); in StringToInt32_Valid()
278 Assert.AreEqual(expectedParsedValue, parsed.SingleUint32); in StringToUInt32_Valid()
301 Assert.AreEqual(expectedParsedValue, parsed.SingleInt64); in StringToInt64_Valid()
322 Assert.AreEqual(expectedParsedValue, parsed.SingleUint64); in StringToUInt64_Valid()
358 Assert.AreEqual(expectedParsedValue, parsed.SingleDouble); in StringToDouble_Valid()
401 Assert.AreEqual(expectedParsedValue, parsed.SingleFloat); in StringToFloat_Valid()
433 Assert.AreEqual(expectedParsedValue, parsed.SingleInt32); in NumberToInt32_Valid()
461 Assert.AreEqual(expectedParsedValue, parsed.SingleUint32); in NumberToUInt32_Valid()
486 Assert.AreEqual(expectedParsedValue, parsed.SingleInt64); in NumberToInt64_Valid()
512 Assert.AreEqual(expectedParsedValue, parsed.SingleUint64); in NumberToUInt64_Valid()
545 Assert.AreEqual(expectedParsedValue, parsed.SingleDouble); in NumberToDouble_Valid()
577 Assert.AreEqual(expectedParsedValue, parsed.SingleFloat); in NumberToFloat_Valid()
641 Assert.AreEqual(WrapInQuotes(expectedFormatted), parsed.ToString()); in Timestamp_Valid()
673 Assert.AreEqual(new Value { NullValue = 0 }, Value.Parser.ParseJson("null")); in StructValue_Null()
679 Assert.AreEqual(new Value { StringValue = "hi" }, Value.Parser.ParseJson("\"hi\"")); in StructValue_String()
685 Assert.AreEqual(new Value { BoolValue = true }, Value.Parser.ParseJson("true")); in StructValue_Bool()
686 Assert.AreEqual(new Value { BoolValue = false }, Value.Parser.ParseJson("false")); in StructValue_Bool()
692 …Assert.AreEqual(Value.ForList(Value.ForNumber(1), Value.ForString("x")), Value.Parser.ParseJson("[… in StructValue_List()
698 …Assert.AreEqual(new ListValue { Values = { Value.ForNumber(1), Value.ForString("x") } }, ListValue… in ParseListValue()
704 Assert.AreEqual( in StructValue_Struct()
712 …Assert.AreEqual(new Struct { Fields = { { "x", Value.ForNumber(1) }, { "y", Value.ForString("z") }… in ParseStruct()
742 Assert.AreEqual(WrapInQuotes(expectedFormatted), parsed.ToString()); in Duration_Valid()
788 CollectionAssert.AreEqual(expectedPaths, parsed.Paths); in FieldMask_Valid()
808 Assert.AreEqual(original, parser.Parse<Any>(json)); in Any_RegularMessage()
810 Assert.AreEqual(original, parser.Parse<Any>(valueFirstJson)); in Any_RegularMessage()
821 Assert.AreEqual(original, parser.Parse<Any>(json)); in Any_CustomPrefix()
847 Assert.AreEqual(original, parser.Parse<Any>(json)); in Any_WellKnownType()
849 Assert.AreEqual(original, parser.Parse<Any>(valueFirstJson)); in Any_WellKnownType()
863 Assert.AreEqual(message, parser.Parse(json, TestWellKnownTypes.Descriptor)); in Any_Nested()
907 Assert.AreEqual(new TestAllTypes { SingleForeignEnum = expectedValue }, parsed); in EnumValid()