public void testCorrect() { string asmName = "CustomerScreen.xml"; Stream str = EmbeddedResourceHelper.GetEmbeddedResource(Assembly.GetExecutingAssembly().FullName, asmName); Assert.IsNotNull(str); }
public void testWithOutResArg() { EmbeddedResourceHelper.GetEmbeddedResource(Assembly.GetExecutingAssembly().FullName, String.Empty); }
public void testWithIncorrectAssemblyName() { string asmName = "NonExists.xml"; EmbeddedResourceHelper.GetEmbeddedResource(asmName, String.Empty); }
public void testWithOutAsmArg() { EmbeddedResourceHelper.GetEmbeddedResource(String.Empty, "CustomerScreen.xml"); }