Esempio n. 1
0
        public void testCorrect()
        {
            string asmName = "CustomerScreen.xml";
            Stream str     = EmbeddedResourceHelper.GetEmbeddedResource(Assembly.GetExecutingAssembly().FullName, asmName);

            Assert.IsNotNull(str);
        }
Esempio n. 2
0
 public void testWithOutResArg()
 {
     EmbeddedResourceHelper.GetEmbeddedResource(Assembly.GetExecutingAssembly().FullName, String.Empty);
 }
Esempio n. 3
0
        public void testWithIncorrectAssemblyName()
        {
            string asmName = "NonExists.xml";

            EmbeddedResourceHelper.GetEmbeddedResource(asmName, String.Empty);
        }
Esempio n. 4
0
 public void testWithOutAsmArg()
 {
     EmbeddedResourceHelper.GetEmbeddedResource(String.Empty, "CustomerScreen.xml");
 }