System.Xml.XmlText oldTextNode = null;
System.Xml.XmlText newTextNode = null;
System.Xml.XmlNode testNode = null;
- string expectedValue = util.INDEX_SIZE_ERR;
+ string expectedValue = "System.ArgumentOutOfRangeException";//util.INDEX_SIZE_ERR;
testResults results = new testResults("Core0007T");
try
}
catch(System.Exception ex)
{
- computedValue = ex.Message;
+ computedValue = ex.GetType ().FullName;
}
}
catch(System.Exception ex)
//----------------------------------------------------------------------------
[Test]
+ [Category ("NotDotNet")] // MS DOM is buggy
public void core0009T()
{
string computedValue = "";
System.Xml.XmlNode testNode = null;
System.Xml.XmlText readOnlyText = null;
- string expectedValue = util.NO_MODIFICATION_ALLOWED_ERR;
+ string expectedValue = "System.ArgumentException";//util.NO_MODIFICATION_ALLOWED_ERR;
testResults results = new testResults("Core0009T");
try
{
readOnlyText.SplitText(5);
}
- catch(System.Exception ex)
+ catch(ArgumentException ex)
{
- computedValue = ex.Message;
+ computedValue = ex.GetType ().FullName;
}
}