コード例 #1
0
        public void Initialize()
        {
            // filling dummy files collection
            _dummies = new Pawns();
            _dummies.ReadDirectory(ConstantsUT.SourceOldPath, false);
            _dummies.ReadDirectory(ConstantsUT.SourceNewPath, true);

            // empty both test folders
            _dummies.EmptyDirectory(ConstantsUT.TestSourcePath);
            _dummies.EmptyDirectory(ConstantsUT.TestTargetPath);
        }
コード例 #2
0
        public void Initialize()
        {
            _pwans = new Pawns();
            _pwans.ReadDirectory(ConstantsUT.SourceOldPath, false);
            _pwans.ReadDirectory(ConstantsUT.SourceNewPath, true);

            // empty both test folders
            _pwans.EmptyDirectory(ConstantsUT.TestSourcePath);
            _pwans.EmptyDirectory(ConstantsUT.TestTargetPath);

            _operatiions = new UpdateOperations();// (ConstantsUT.TestSourcePath, ConstantsUT.TestTargetPath, null, null, false);
        }