diff options
author | Egor Bogatov <egorbo@gmail.com> | 2018-03-23 18:23:27 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2018-03-23 18:23:27 +0300 |
commit | 1bdcf19169745f17db7f13b15f4dd566d1bf654f (patch) | |
tree | c8073a805f602a5bbad46eb7cfb2ff9d1954b8ee /mcs/class/System.Web.DynamicData | |
parent | 3aeab61192b632202d60de2061d4faede8c89ed7 (diff) |
[corlib] System.Collections from CoreFX (#7478)
Diffstat (limited to 'mcs/class/System.Web.DynamicData')
-rw-r--r-- | mcs/class/System.Web.DynamicData/Test/System.Web.DynamicData/MetaColumnTest.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mcs/class/System.Web.DynamicData/Test/System.Web.DynamicData/MetaColumnTest.cs b/mcs/class/System.Web.DynamicData/Test/System.Web.DynamicData/MetaColumnTest.cs index d45102977f8..fa18a7e3b64 100644 --- a/mcs/class/System.Web.DynamicData/Test/System.Web.DynamicData/MetaColumnTest.cs +++ b/mcs/class/System.Web.DynamicData/Test/System.Web.DynamicData/MetaColumnTest.cs @@ -109,32 +109,32 @@ namespace MonoTests.System.Web.DynamicData MetaColumn mc = t.GetColumn ("ColumnNoAttributes"); Assert.IsNotNull (mc, "#A1"); Assert.IsNotNull (mc.Attributes, "#A2"); - Assert.AreEqual (5, mc.Attributes.Count, "#A3"); + Assert.AreEqual (4, mc.Attributes.Count, "#A3"); Assert.IsTrue (mc.IsRequired, "#A3-1"); mc = t.GetColumn ("ColumnFormatInEditMode"); Assert.IsNotNull (mc, "#A4"); Assert.IsNotNull (mc.Attributes, "#A4-1"); - Assert.AreEqual (6, mc.Attributes.Count, "#A4-2"); + Assert.AreEqual (5, mc.Attributes.Count, "#A4-2"); Assert.AreEqual (1, mc.Attributes.OfType <DisplayFormatAttribute> ().Count (), "#A4-3"); mc = t.GetColumn ("ColumnWithDataType"); Assert.IsNotNull (mc, "#A5"); Assert.IsNotNull (mc.Attributes, "#A5-1"); - Assert.AreEqual (6, mc.Attributes.Count, "#A5-2"); + Assert.AreEqual (5, mc.Attributes.Count, "#A5-2"); Assert.AreEqual (1, mc.Attributes.OfType<DataTypeAttribute> ().Count (), "#A5-3"); t = m.Tables[TestDataContext.TableFooWithMetadataType]; mc = t.GetColumn ("Column1"); Assert.IsNotNull (mc, "#B1"); Assert.IsNotNull (mc.Attributes, "#B1-1"); - Assert.AreEqual (8, mc.Attributes.Count, "#B1-2"); + Assert.AreEqual (7, mc.Attributes.Count, "#B1-2"); Assert.AreEqual (1, mc.Attributes.OfType<DisplayFormatAttribute> ().Count (), "#B1-3"); mc = t.GetColumn ("Column2"); Assert.IsNotNull (mc, "#B2"); Assert.IsNotNull (mc.Attributes, "#B2-1"); - Assert.AreEqual (7, mc.Attributes.Count, "#B2-2"); + Assert.AreEqual (6, mc.Attributes.Count, "#B2-2"); Assert.AreEqual (1, mc.Attributes.OfType<DataTypeAttribute> ().Count (), "#B2-3"); } |