public void TestMatchNoPattern() { StringMatch match = new StringMatch("", ""); Assert.IsTrue(match.Matches("TecPrime.AssemblyClassFinder.Test.UnitTestAppTypeFinder.dll")); }
public void TestMatchRestrictToPatternFalse() { StringMatch match = new StringMatch("", "^TecPrime"); Assert.IsFalse(match.Matches("TecPrime.AssemblyClassFinder.Test.UnitTestAppTypeFinder.dll")); }
public void TestMatchBothPatternsTrue() { StringMatch match = new StringMatch(".*", "^Microsoft"); Assert.IsTrue(match.Matches("TecPrime.AssemblyClassFinder.Test.UnitTestAppTypeFinder.dll")); }