public void Not_Optimized_Events_BeforeRender()
        {
            var tree = new MyOptimizedMediaTree("media");

            BaseTree.BeforeTreeRender += EventHandler;

            Assert.IsFalse(tree.UseOptimizedRendering);
        }
Exemple #2
0
        public void Not_Optimized_Events_BeforeRender()
        {
            var tree = new MyOptimizedMediaTree("media");

            BaseTree.BeforeTreeRender += EventHandler;

            Assert.IsFalse(tree.UseOptimizedRendering);
        }
        public void Run_Optimized()
        {
            var tree = new MyOptimizedMediaTree("media");

            Assert.IsTrue(tree.UseOptimizedRendering);
        }
Exemple #4
0
        public void Run_Optimized()
        {
            var tree = new MyOptimizedMediaTree("media");

            Assert.IsTrue(tree.UseOptimizedRendering);
        }