示例#1
0
        public void IsFolderIncludedTest()
        {
            var idxr = new Indexer("","","",AppDomain.CurrentDomain.BaseDirectory);
            List<string> includedList = new List<string>();

            for (int j = 0; j < folders.Length; j++)
            {
                string fileName = folders[j];
                if (idxr.IsFolderIncluded(fileName, patterns))
                {
                    Console.WriteLine("Folder Included: {0}", fileName);

                    includedList.Add(fileName);
                }
            }
            Assert.AreEqual(this.folderIsIncludedList.Length, includedList.Count);
        }