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); }
public void AppliesShouldOnlyMatchOnATileEntryWithPathWithOutExtends() { var entry = new XmlTileEntry { Path = "a.htm", Extends = null }; Assert.That(new TemplateTileCreator().Applies(entry)); }
public void AppliesShouldNotMatchOnATileEntryWithPathAndExtends() { var entry = new XmlTileEntry { Path = "a.htm", Extends = "b" }; Assert.That(new TemplateTileCreator().Applies(entry), Is.False); }
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); }