public void HasView_Should_Retun_False_On_Unkown_View()
        {
            var cache = new TilesCache();

            cache.GuardInit(typeof(TilesViewEngineTest).Assembly);
            Assert.That(!cache.HasView("wrong"));
        }
Exemple #2
0
 public void HasView_Should_Be_Based_On_Cache()
 {
     var cache = new TilesCache();
     cache.GuardInit(typeof (TilesViewEngineTest).Assembly);
     foreach (ITile tile in cache.Cache.Tiles)
     {
         Assert.That(cache.HasView(tile.Name));
     }
 }
        public void HasView_Should_Be_Based_On_Cache()
        {
            var cache = new TilesCache();

            cache.GuardInit(typeof(TilesViewEngineTest).Assembly);
            foreach (ITile tile in cache.Cache.Tiles)
            {
                Assert.That(cache.HasView(tile.Name));
            }
        }
Exemple #4
0
 public void HasView_Should_Retun_False_On_Unkown_View()
 {
     var cache = new TilesCache();
     cache.GuardInit(typeof (TilesViewEngineTest).Assembly);
     Assert.That(!cache.HasView("wrong"));
 }