public void Simple()
 {
     var lineMatcher = new LineMatcher
                           {
                               Line = "Namespace1"
                           };
     Assert.IsTrue(lineMatcher.Match("Namespace1"));
     Assert.IsFalse(lineMatcher.Match("Namespace2"));
 }
    public void Simple()
    {
        var lineMatcher = new LineMatcher
        {
            Line = "Namespace1"
        };

        Assert.True(lineMatcher.Match("Namespace1"));
        Assert.False(lineMatcher.Match("Namespace2"));
    }
 public void StarStart()
 {
     var lineMatcher = new LineMatcher
                           {
                               Line = "Diagnostics",
                               StarStart = true
                           };
     Assert.IsTrue(lineMatcher.Match("System.Diagnostics"));
     Assert.IsTrue(lineMatcher.Match("Diagnostics"));
     Assert.IsFalse(lineMatcher.Match("NUnit.Framework"));
 }
    public void StarEnd()
    {
        var lineMatcher = new LineMatcher
        {
            Line    = "System",
            StarEnd = true
        };

        Assert.True(lineMatcher.Match("System.Diagnostics"));
        Assert.True(lineMatcher.Match("System"));
        Assert.False(lineMatcher.Match("NUnit.Framework"));
    }
    public void StarStart()
    {
        var lineMatcher = new LineMatcher
        {
            Line      = "Diagnostics",
            StarStart = true
        };

        Assert.IsTrue(lineMatcher.Match("System.Diagnostics"));
        Assert.IsTrue(lineMatcher.Match("Diagnostics"));
        Assert.IsFalse(lineMatcher.Match("NUnit.Framework"));
    }