Example #1
0
        public void TestMoveFileMergerDup()
        {
            Merger();

            IFileHandler fileOverwriter = new FileMerger <Compress>(@"D:\TestFileHandler\FileMerger\Source",
                                                                    new List <string> {
                @"D:\TestFileHandler\FileMerger\Dest"
            }, _pr);

            fileOverwriter.MoveFiles();
            fileOverwriter.DeleteTemps();
        }
Example #2
0
        public void TestCopyFileMerger()
        {
            Initilize("FileMerger");

            IFileHandler fileOverwriter = new FileMerger <Compress>(@"D:\TestFileHandler\FileMerger\Source",
                                                                    new List <string> {
                @"D:\TestFileHandler\FileMerger\Source"
            }, _pr);

            fileOverwriter.CopyFiles();
            fileOverwriter.DeleteTemps();
        }