public void TestIndexFolderFunctionality()
        {
            IndexingEngine indexEngine = new IndexingEngine();

            //profile the time needed to index a 1 MB folder.
            Stopwatch stopWatch = new Stopwatch();
            stopWatch.Start();
            indexEngine.Index(new List<string>() { @"C:\Projects\Classifier\findfilesutil\Trunk\src\KMPAlgorithmTestRunner\KMPAlgorithmTestRunner\TestData"});
            stopWatch.Stop();

            //validate the index
            IndexDatabaseReader dbReader = new IndexDatabaseReader();
            IndexDatabase index = dbReader.Read();

            Assert.IsTrue(index.IndexRecords.Count != 0);
        }
        public void TestIndexDatabaseDeserialization()
        {
            IndexDatabaseReader reader = new IndexDatabaseReader();

            IndexDatabase database = reader.Read();
        }