Ejemplo n.º 1
0
        public void RunFixture()
        {
            RegexSelector selector = new RegexSelector();

            selector.Pattern = @".*Foo.*";
            Assert.True(selector.Includes(new TestFixture(typeof(Foo))));
            Assert.False(selector.Includes(new TestFixture(GetType())));
        }
Ejemplo n.º 2
0
 public void RunFixture() {
    RegexSelector selector = new RegexSelector();
    selector.Pattern = @".*Foo.*";
    Assert.True(selector.Includes(new TestFixture(typeof(Foo))));
    Assert.False(selector.Includes(new TestFixture(GetType())));
 }
Ejemplo n.º 3
0
        public void IncludesFixtureWithEmptyPattern()
        {
            RegexSelector selector = new RegexSelector();

            Assert.True(selector.Includes(new TestFixture(typeof(Foo))));
        }
Ejemplo n.º 4
0
 public void IncludesFixtureWithEmptyPattern() {
    RegexSelector selector = new RegexSelector();
    Assert.True(selector.Includes(new TestFixture(typeof(Foo))));
 }