Sunday, March 30, 2014

How to test async function with Unit test

change it to:



[TestMethod]
public void TestDeleteFile()
{
Assert.IsTrue(DataAccess.RemoveUnitFile("Units").Result);
}





Microsoft Certified Solutions Developer - Windows Store Apps Using C#


No comments:

Post a Comment