Ejemplo n.º 1
0
        public void FailLoadAssembly()
        {
            string xmlFile = "NonExists.xml";

            map = new EmbeddedResourceConfiguration(Assembly.GetExecutingAssembly().FullName, xmlFile);
            map.ProcessConfiguration();
        }
Ejemplo n.º 2
0
        public void LoadAssembly()
        {
            string xmlFile = "CustomerScreen.xml";

            map = new EmbeddedResourceConfiguration(Assembly.GetExecutingAssembly().FullName, xmlFile);
            map.ProcessConfiguration();
        }
Ejemplo n.º 3
0
        public void Initialize()
        {
            map = new EmbeddedResourceConfiguration();
            Assert.IsNotNull(map);
            map = null;

            map = new EmbeddedResourceConfiguration(Assembly.GetExecutingAssembly().FullName, "pepe.xml");
            Assert.IsNotNull(map);
            map = null;
        }
Ejemplo n.º 4
0
        public void NotSettingParamLoadAssembly()
        {
            string xmlFile = "CustomerScreen.xml";

            map = new EmbeddedResourceConfiguration(Assembly.GetExecutingAssembly().FullName, String.Empty);
            map.ProcessConfiguration();
            map = null;

            map = new EmbeddedResourceConfiguration(String.Empty, xmlFile);
            map.ProcessConfiguration();
            map = null;
        }