コード例 #1
0
        public void AddDefaultIgnorePatternsTest()
        {
            IgnoreList list = new IgnoreList();

            BundleCollection.AddDefaultIgnorePatterns(list);
            ValidateDefaultIgnoreList(list, optimizationsEnabled: true);
            ValidateDefaultIgnoreList(list, optimizationsEnabled: false);
        }
コード例 #2
0
 public void AddDefaultIgnorePatternsThrowsWithNullTest()
 {
     ExceptionHelper.ExpectArgumentNullException(delegate { BundleCollection.AddDefaultIgnorePatterns(null); }, "ignoreList");
 }