public void AppliesShouldOnlyMatchOnATileEntryWithOutPathWithExtends()
 {
     var entry = new XmlTileEntry
                     {
                         Path = null,
                         Extends = "b"
                     };
     Assert.That(new DefinitionTileCreator().Applies(entry));
 }
 public void AppliesShouldNotMatchOnATileEntryWithOutPathWithOutExtends()
 {
     var entry = new XmlTileEntry
                     {
                         Path = null,
                         Extends = null
                     };
     Assert.That(new DefinitionTileCreator().Applies(entry), Is.False);
 }
 public void AppliesShouldNotMatchOnATileEntryWithPathAndExtends()
 {
     var entry = new XmlTileEntry
                     {
                         Path = "a.htm",
                         Extends = "b"
                     };
     Assert.That(new DefinitionTileCreator().Applies(entry), Is.False);
 }
 public void AppliesShouldOnlyMatchOnATileEntryWithBothPathAndExtends()
 {
     var entry = new XmlTileEntry
                     {
                         Path = "a.htm",
                         Extends = "b"
                     };
     Assert.That(new TemplateOverridingDefinitionTileCreator().Applies(entry));
 }
 public void AppliesShouldNotMatchOnATileEntryWithPathAndWithOutExtends()
 {
     var entry = new XmlTileEntry
                     {
                         Path = "a.htm",
                         Extends = null
                     };
     Assert.That(new TemplateOverridingDefinitionTileCreator().Applies(entry), Is.False);
 }
Exemplo n.º 6
0
 public void AppliesShouldOnlyMatchOnATileEntryWithPathWithOutExtends()
 {
     var entry = new XmlTileEntry
                     {
                         Path = "a.htm",
                         Extends = null
                     };
     Assert.That(new TemplateTileCreator().Applies(entry));
 }
Exemplo n.º 7
0
        public void AppliesShouldOnlyMatchOnATileEntryWithPathWithOutExtends()
        {
            var entry = new XmlTileEntry
            {
                Path    = "a.htm",
                Extends = null
            };

            Assert.That(new TemplateTileCreator().Applies(entry));
        }
Exemplo n.º 8
0
        public void AppliesShouldNotMatchOnATileEntryWithPathAndExtends()
        {
            var entry = new XmlTileEntry
            {
                Path    = "a.htm",
                Extends = "b"
            };

            Assert.That(new TemplateTileCreator().Applies(entry), Is.False);
        }
Exemplo n.º 9
0
        public void AppliesShouldNotMatchOnATileEntryWithOutPathWithOutExtends()
        {
            var entry = new XmlTileEntry
            {
                Path    = null,
                Extends = null
            };

            Assert.That(new TemplateTileCreator().Applies(entry), Is.False);
        }
        public void AppliesShouldNotMatchOnATileEntryWithOutPathAndWithExtends()
        {
            var entry = new XmlTileEntry
            {
                Path    = null,
                Extends = "b"
            };

            Assert.That(new TemplateOverridingDefinitionTileCreator().Applies(entry), Is.False);
        }
        public void AppliesShouldOnlyMatchOnATileEntryWithBothPathAndExtends()
        {
            var entry = new XmlTileEntry
            {
                Path    = "a.htm",
                Extends = "b"
            };

            Assert.That(new TemplateOverridingDefinitionTileCreator().Applies(entry));
        }
        public void AppliesShouldOnlyMatchOnATileEntryWithOutPathWithExtends()
        {
            var entry = new XmlTileEntry
            {
                Path    = null,
                Extends = "b"
            };

            Assert.That(new DefinitionTileCreator().Applies(entry));
        }