diff --git a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Common/BasicObjectTests.cs b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Common/BasicObjectTests.cs index db240fc90e0e4..6b68a93f68295 100644 --- a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Common/BasicObjectTests.cs +++ b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Common/BasicObjectTests.cs @@ -16,7 +16,8 @@ public abstract class BasicObjectTests : SerializationTest where T : ISeri [MemberData(nameof(SerializableObjects))] public void DeserializeStoredObjects(object value, TypeSerializableValue[] serializedData) { - _ = value; + // Following call may change the contents of the fields by invoking lazy-evaluated properties. + EqualityExtensions.CheckEquals(value, value); int platformIndex = serializedData.GetPlatformIndex(); for (int i = 0; i < serializedData.Length; i++) @@ -48,6 +49,9 @@ public void BasicObjectsRoundtrip( FormatterAssemblyStyle assemblyMatching, FormatterTypeStyle typeStyle) { + // Following call may change the contents of the fields by invoking lazy-evaluated properties. + EqualityExtensions.CheckEquals(value, value); + object deserialized = RoundTrip(value, typeStyle: typeStyle, assemblyMatching: assemblyMatching); // string.Empty and DBNull are both singletons diff --git a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/BinaryFormatterTestData.cs b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/BinaryFormatterTestData.cs index 99c97e28c02f1..286f0277f427d 100644 --- a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/BinaryFormatterTestData.cs +++ b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/BinaryFormatterTestData.cs @@ -54,26 +54,16 @@ public partial class BinaryFormatterTests private static readonly DateTime s_fixedTimestamp = DateTime.Parse("11/3/1989 04:50:29 AM", CultureInfo.InvariantCulture.DateTimeFormat); // *** AUTO UPDATED BLOBS *** - private static (object, TypeSerializableValue[])[]? s_serializableObjects; - public static IEnumerable<(object, TypeSerializableValue[])> RawSerializableObjects() { - if (s_serializableObjects is null) + // Save old culture and set a fixed culture for object instantiation + using (new ThreadCultureChange(CultureInfo.InvariantCulture, CultureInfo.InvariantCulture)) { - // Save old culture and set a fixed culture for object instantiation - using (new ThreadCultureChange(CultureInfo.InvariantCulture, CultureInfo.InvariantCulture)) - { - s_serializableObjects = SerializableObjects().ToArray(); - } + return SerializableObjects().ToArray(); } - - return s_serializableObjects; } - private static TheoryData? s_serializableObjects_MemberData; - - public static TheoryData SerializableObjects_MemberData => - s_serializableObjects_MemberData ??= RawSerializableObjects().ToTheoryData(); + public static TheoryData SerializableObjects_MemberData => RawSerializableObjects().ToTheoryData(); public static TheoryData SerializableEqualityComparers_MemberData => SerializableEqualityComparers().ToTheoryData(); @@ -1090,7 +1080,7 @@ public partial class BinaryFormatterTests yield return (new Queue(NonCollection(Enumerable.Range(1, 25))), new TypeSerializableValue[] { new("AAEAAAD/////AQAAAAAAAAAMAgAAAElTeXN0ZW0sIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5BQEAAAB/U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuUXVldWVgMVtbU3lzdGVtLkludDMyLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXQUAAAAGX2FycmF5BV9oZWFkBV90YWlsBV9zaXplCF92ZXJzaW9uBwAAAAAICAgICAIAAAAJAwAAAAAAAAAZAAAAGQAAAAAAAAAPAwAAACAAAAAIAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL", TargetFrameworkMoniker.netcoreapp20), new("AAEAAAD/////AQAAAAAAAAAMAgAAAElTeXN0ZW0sIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5BQEAAAB/U3lzdGVtLkNvbGxlY3Rpb25zLkdlbmVyaWMuUXVldWVgMVtbU3lzdGVtLkludDMyLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXQUAAAAGX2FycmF5BV9oZWFkBV90YWlsBV9zaXplCF92ZXJzaW9uBwAAAAAICAgICAIAAAAJAwAAAAAAAAAZAAAAGQAAAAAAAAAPAwAAACAAAAAIAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAL", TargetFrameworkMoniker.netfx461) }); yield return (new Queue(50, 5.6f), new TypeSerializableValue[] { new("AAEAAAD/////AQAAAAAAAAAEAQAAABhTeXN0ZW0uQ29sbGVjdGlvbnMuUXVldWUGAAAABl9hcnJheQVfaGVhZAVfdGFpbAVfc2l6ZQtfZ3Jvd0ZhY3RvcghfdmVyc2lvbgUAAAAAAAgICAgICQIAAAAAAAAAAAAAAAAAAAAwAgAAAAAAABACAAAAMgAAAA0yCw==", TargetFrameworkMoniker.netcoreapp20), new("AAEAAAD/////AQAAAAAAAAAEAQAAABhTeXN0ZW0uQ29sbGVjdGlvbnMuUXVldWUGAAAABl9hcnJheQVfaGVhZAVfdGFpbAVfc2l6ZQtfZ3Jvd0ZhY3RvcghfdmVyc2lvbgUAAAAAAAgICAgICQIAAAAAAAAAAAAAAAAAAAAwAgAAAAAAABACAAAAMgAAAA0yCw==", TargetFrameworkMoniker.net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JUZXN0cy5Qb2ludAIAAAABWAFZAAAICAkAAAABAAAAAQAAAAEMAAAACgAAAAIAAAACAAAACw==", TargetFrameworkMoniker.netfx461) }); - yield return (new SortedList(pointDictionary, Comparer.Default), new TypeSerializableValue[] { new("AAEAAAD/////AQAAAAAAAAAMAgAAAElTeXN0ZW0sIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5DAMAAABxU3lzdGVtLlJlc291cmNlcy5FeHRlbnNpb25zLkJpbmFyeUZvcm1hdC5UZXN0cywgVmVyc2lvbj05LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWNjN2IxM2ZmY2QyZGRkNTEMBAAAAFVTeXN0ZW0uQ29sbGVjdGlvbnMsIFZlcnNpb249OS4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iMDNmNWY3ZjExZDUwYTNhBQEAAACgAlN5c3RlbS5Db2xsZWN0aW9ucy5HZW5lcmljLlNvcnRlZExpc3RgMltbU3lzdGVtLkludDMyLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldLFtCaW5hcnlGb3JtYXRUZXN0cy5Gb3JtYXR0ZXJUZXN0cy5Qb2ludCwgU3lzdGVtLlJlc291cmNlcy5FeHRlbnNpb25zLkJpbmFyeUZvcm1hdC5UZXN0cywgVmVyc2lvbj05LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWNjN2IxM2ZmY2QyZGRkNTFdXQcAAAAEa2V5cwZ2YWx1ZXMFX3NpemUHdmVyc2lvbghjb21wYXJlcgdrZXlMaXN0CXZhbHVlTGlzdAcEAAADBAQIKEJpbmFyeUZvcm1hdFRlc3RzLkZvcm1hdHR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cnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XSxbQmluYXJ5Rm9ybWF0VGVzdHMuRm9ybWF0dGVyVGVzdHMuUG9pbnQsIFN5c3RlbS5SZXNvdXJjZXMuRXh0ZW5zaW9ucy5CaW5hcnlGb3JtYXQuVGVzdHMsIFZlcnNpb249OS4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1jYzdiMTNmZmNkMmRkZDUxXV0EAAAAAgAAAAkFAAAACQYAAAACAAAAAAAAAAkHAAAACgoPBQAAAAIAAAAIAQAAAAIAAAAHBgAAAAABAAAAAgAAAAQmQmluYXJ5Rm9ybWF0VGVzdHMuRm9ybWF0dGVyVGVzdHMuUG9pbnQDAAAACQgAAAAJCQAAAAQHAAAAiQFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5HZW5lcmljQ29tcGFyZXJgMVtbU3lzdGVtLkludDMyLCBtc2NvcmxpYiwgVmVyc2lvbj00LjAuMC4wLCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODldXQAAAAAFCAAAACZCaW5hcnlGb3JtYXRUZXN0cy5Gb3JtYXR0ZXJUZXN0cy5Qb2ludAIAAAABWAFZAAAICAMAAAABAAAAAQAAAAEJAAAACAAAAAIAAAACAAAACw==", TargetFrameworkMoniker.netfx461) }); + yield return (new SortedList(pointDictionary, Comparer.Default), new TypeSerializableValue[] { new("AAEAAAD/////AQAAAAAAAAAMAgAAAElTeXN0ZW0sIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5DAMAAABxU3lzdGVtLlJlc291cmNlcy5FeHRlbnNpb25zLkJpbmFyeUZvcm1hdC5UZXN0cywgVmVyc2lvbj05LjAuMC4wL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zNGUwODldXVtdAgAAAAQAAAAJAwAAAAAAAAAJBAAAAAQDAAAAigFTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYy5OdWxsYWJsZUNvbXBhcmVyYDFbW1N5c3RlbS5JbnQzMiwgbXNjb3JsaWIsIFZlcnNpb249NC4wLjAuMCwgQ3VsdHVyZT1uZXV0cmFsLCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5XV0AAAAABwQAAAAAAQAAAAQAAAADblN5c3RlbS5OdWxsYWJsZWAxW1tTeXN0ZW0uSW50MzIsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OV1dCggIAgAAAAgIBAAAAAgIBgAAAAs=", TargetFrameworkMoniker.netfx461) }); diff --git a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/BinaryFormatterTests.cs b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/BinaryFormatterTests.cs index 9fe63ef1dd9ab..d8492e19dd574 100644 --- a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/BinaryFormatterTests.cs +++ b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/BinaryFormatterTests.cs @@ -29,6 +29,14 @@ public void ValidateEqualityComparersAgainstBlobs(object obj, TypeSerializableVa private static void ValidateAndRoundtrip(object obj, TypeSerializableValue[] blobs, bool isEqualityComparer) { + // EqualityExtensions.CheckEquals enumerates over all properties of given type. + // Some of the properties might be lazy evaluated and stored in a field. + // BF is storing all the fields. It means that serializing given object instance + // before and after passing it to EqualityExtensions.CheckEquals may produce different blobs! + // Since this test is comparing these blobs, we call this method up-front to ensure + // all properties (and fields) get pre-evaluated before doing the serialize-deserialize roundtrip. + EqualityExtensions.CheckEquals(obj, obj); + if (obj is null) { throw new ArgumentNullException(nameof(obj), "The serializable object must not be null"); @@ -216,12 +224,6 @@ private static void SanityCheckBlob(object obj, TypeSerializableValue[] blobs) return; } - if (obj is DataSet or DataTable) - { - // The blobs may not be identical (the output is not deterministic), but still valid. - return; - } - // The blobs aren't identical because of different implementations on Unix vs. Windows. if (obj is Bitmap or Icon or Metafile) { diff --git a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/SerializationTypes.cs b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/SerializationTypes.cs index 611e61d089f99..42fc582ce7900 100644 --- a/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/SerializationTypes.cs +++ b/src/libraries/System.Resources.Extensions/tests/BinaryFormatTests/Legacy/SerializationTypes.cs @@ -127,10 +127,7 @@ public override bool Equals(object? obj) return EqualityComparer.Default.Equals(Value, o.Value) && EqualityComparer>.Default.Equals(Left, o.Left) && - EqualityComparer>.Default.Equals(Right, o.Right) && - // make sure the branches aren't actually the exact same object - (Left is null || !ReferenceEquals(Left, o.Left)) && - (Right is null || !ReferenceEquals(Right, o.Right)); + EqualityComparer>.Default.Equals(Right, o.Right); } public override int GetHashCode() => 1;