public void AddDefaultIgnorePatternsTest() { IgnoreList list = new IgnoreList(); BundleCollection.AddDefaultIgnorePatterns(list); ValidateDefaultIgnoreList(list, optimizationsEnabled: true); ValidateDefaultIgnoreList(list, optimizationsEnabled: false); }
public void AddDefaultIgnorePatternsThrowsWithNullTest() { ExceptionHelper.ExpectArgumentNullException(delegate { BundleCollection.AddDefaultIgnorePatterns(null); }, "ignoreList"); }