Created
January 18, 2012 22:09
-
-
Save sdether/1636128 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class IPageHierarchyTestBase { | |
protected bool _passed; | |
protected IPageHierarchyBL _hierarchy; | |
[Test] | |
public virtual void Can_get_page_by_id() { | |
Console.WriteLine("running test"); | |
Assert.IsNotNull(_hierarchy); | |
} | |
} | |
[TestFixture] | |
public class LegacyPageHierachyTests : IPageHierarchyTestBase { | |
[SetUp] | |
public void Setup() { | |
_hierarchy = new LegacyPageHierarchyBL(null); | |
} | |
public override void Can_get_page_by_id() { | |
Console.WriteLine("setting up test"); | |
base.Can_get_page_by_id(); | |
} | |
} | |
[TestFixture] | |
public class PageHierachyTests : IPageHierarchyTestBase { | |
[SetUp] | |
public void Setup() { | |
_hierarchy = new PageHierarchyBL(null); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment