Hi,
I hit error below when I run it from NUnit. However, it is working fine if I run it from my windows application. Any ideas?
[Test]
public void TestPlugInInfosBOFillAll()
{
PlugInInfosBO loPlugInInfosBO = new PlugInInfosBO();
loPlugInInfosBO.FillAll();
Assert.AreEqual(2, loPlugInInfosBO.Count);
}
Error 29 TestCase 'TestPlugIn.TestPlugInInfosBOFillAll' failed: Object reference not set to an instance of an object.
System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: MicroFour StrataFrame Base
StackTrace:
at MicroFour.StrataFrame.Xml.XmlBasics.OpenXmlFile(String TableName, String PathAndFileName, List`1 ColumnStructure)
at JK.Framework.Business.XMLBusinessLayer.FillAll() in F:\Projects\JKFramework\JK Framework Business\Business\XMLBusinessLayer.cs:line 98
at TestPlugIn.TestPlugIn.TestPlugInInfosBOFillAll() in F:\Projects\JKFramework\Test\TestPlugIn\TestPlugIn\TestPlugIn.cs:line 135 F:\Projects\JKFramework\JK Framework Business\Business\XMLBusinessLayer.cs 98