}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestIntTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (int));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestStringTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (string));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestByteTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (byte));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestBoolTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (bool));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestShortTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (short));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestUnsignedShortTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (ushort));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestUIntTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (uint));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestLongTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (long));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestULongTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (ulong));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestFloatTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (float));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestDoubleTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (double));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestDateTimeTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (DateTime));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestGuidTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (Guid));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestDecimalTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (decimal));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestXmlQualifiedNameTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (XmlQualifiedName));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestSByteTypeMapping ()
{
XmlTypeMapping tm = Map (typeof (sbyte));
}
[Test]
- [Category ("NotWorking")] // mark it NotWorking until fixes have landed in svn
public void TestCharTypeMapping()
{
XmlTypeMapping tm = Map (typeof (char));
Assert.Fail ("#B1");
} catch (InvalidOperationException ex) {
// Enum System.String cannot be converted to MonoTests.System.Xml.TestClasses.MapModifiers
- Assert.IsNotNull (ex.Message, "#A2");
- Assert.IsTrue (ex.Message.IndexOf (typeof (string).FullName) != -1, "#A3");
- Assert.IsTrue (ex.Message.IndexOf (typeof (MapModifiers).FullName) != -1, "#A4");
- Assert.IsNull (ex.InnerException, "#A5");
+ Assert.IsNotNull (ex.Message, "#B2");
+ Assert.IsTrue (ex.Message.IndexOf (typeof (string).FullName) != -1, "#B3");
+ Assert.IsTrue (ex.Message.IndexOf (typeof (MapModifiers).FullName) != -1, "#B4");
+ Assert.IsNull (ex.InnerException, "#B5");
}
attrs.SoapDefaultValue = EnumDefaultValueNF.e2; // other enum type
Assert.Fail ("#C1");
} catch (InvalidOperationException ex) {
// Enum MonoTests.System.Xml.TestClasses.EnumDefaultValueNF cannot be converted to MonoTests.System.Xml.TestClasses.MapModifiers
- Assert.IsNotNull (ex.Message, "#A2");
- Assert.IsTrue (ex.Message.IndexOf (typeof (EnumDefaultValueNF).FullName) != -1, "#A3");
- Assert.IsTrue (ex.Message.IndexOf (typeof (MapModifiers).FullName) != -1, "#A4");
- Assert.IsNull (ex.InnerException, "#A5");
+ Assert.IsNotNull (ex.Message, "#C2");
+ Assert.IsTrue (ex.Message.IndexOf (typeof (EnumDefaultValueNF).FullName) != -1, "#C3");
+ Assert.IsTrue (ex.Message.IndexOf (typeof (MapModifiers).FullName) != -1, "#C4");
+ Assert.IsNull (ex.InnerException, "#C5");
}
attrs.SoapDefaultValue = (MapModifiers) 20; // non-existing enum value
try {
Map (typeof (Field_Encoded), overrides);
- Assert.Fail ("#C1");
+ Assert.Fail ("#D1");
} catch (InvalidOperationException ex) {
// Value '20' cannot be converted to MonoTests.System.Xml.TestClasses.MapModifiers
- Assert.IsNotNull (ex.Message, "#A2");
- Assert.IsTrue (ex.Message.IndexOf ("'20'") != -1, "#A3");
- Assert.IsTrue (ex.Message.IndexOf (typeof (MapModifiers).FullName) != -1, "#A4");
- Assert.IsNull (ex.InnerException, "#A5");
+ Assert.IsNotNull (ex.Message, "#D2");
+ Assert.IsTrue (ex.Message.IndexOf ("'20'") != -1, "#D3");
+ Assert.IsTrue (ex.Message.IndexOf (typeof (MapModifiers).FullName) != -1, "#D4");
+ Assert.IsNull (ex.InnerException, "#D5");
}
}