diff options
author | Zoltan Varga <vargaz@gmail.com> | 2014-12-12 02:31:53 +0300 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2014-12-12 02:31:59 +0300 |
commit | f372ba68ec0069192a280c8cb4b04fb09591b6d5 (patch) | |
tree | 34ca129ada74dc4d06f697c71709649832ed65eb /mcs/class/System.Web.DynamicData | |
parent | 5e7e4438e7e7b61d0002d65dc508c4614bb5f00e (diff) |
[bcl] Fix another test failure caused by the usage of the reference version of System.ComponentModel.
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 e2e1e24b154..42770dc446e 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 @@ -110,32 +110,32 @@ namespace MonoTests.System.Web.DynamicData MetaColumn mc = t.GetColumn ("ColumnNoAttributes"); Assert.IsNotNull (mc, "#A1"); Assert.IsNotNull (mc.Attributes, "#A2"); - Assert.AreEqual (6, mc.Attributes.Count, "#A3"); + Assert.AreEqual (5, 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 (7, mc.Attributes.Count, "#A4-2"); + Assert.AreEqual (6, 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 (7, mc.Attributes.Count, "#A5-2"); + Assert.AreEqual (6, 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 (9, mc.Attributes.Count, "#B1-2"); + Assert.AreEqual (8, 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 (8, mc.Attributes.Count, "#B2-2"); + Assert.AreEqual (7, mc.Attributes.Count, "#B2-2"); Assert.AreEqual (1, mc.Attributes.OfType<DataTypeAttribute> ().Count (), "#B2-3"); } |