Esempio n. 1
0
        public void ViewEngine_SetsAreaPartialViewLocationFormats()
        {
            String[] expected = { "~/Views/{2}/{1}/{0}.cshtml", "~/Views/{2}/Shared/{0}.cshtml" };
            String[] actual = new ViewEngine().AreaPartialViewLocationFormats;

            Assert.Equal(expected, actual);
        }
Esempio n. 2
0
        public void ViewEngine_SetsAreaMasterLocationFormats()
        {
            ViewEngine viewEngine = new ViewEngine();

            String[] actual = viewEngine.AreaMasterLocationFormats;
            String[] expected = { "~/Views/{2}/{1}/{0}.cshtml" };

            Assert.Equal(expected, actual);
        }