示例#1
0
        protected override void PrepareForVBTesting()
        {
            string absoluteTempOriginalVB = Path.Combine(rootTempDirectoryPath, relativeTempOriginalVB);
            string absoluteTempTestingVB  = Path.Combine(rootTempDirectoryPath, relativeTempTestingVB);

            Directory.CreateDirectory(absoluteTempOriginalVB);
            Directory.CreateDirectory(absoluteTempTestingVB);
            if (AutoGenerateVB)
            {
                GenerateVB(SourceCSPath, absoluteTempOriginalVB);
                FileSystemHelperEx.CopyFolderContent(absoluteTempOriginalVB, absoluteTempTestingVB);
            }
            else
            {
                FileSystemHelperEx.CopyFolderContent(SourceVBPath, absoluteTempOriginalVB);
                FileSystemHelperEx.CopyFolderContent(SourceVBPath, absoluteTempTestingVB);
            }
            TesterConfig.WorkingSolutionDirectoryPath = absoluteTempTestingVB;
        }
示例#2
0
 void MoveVBIntoBaseWorkingFolder()
 {
     FileSystemHelper.SafeClearDirectory(SourceVBPath);
     Logger.Info("Coping from {0} to {1}", Path.Combine(rootTempDirectoryPath, relativeTempOriginalVB), SourceVBPath);
     FileSystemHelperEx.CopyFolderContent(Path.Combine(rootTempDirectoryPath, relativeTempOriginalVB), SourceVBPath, new[] { ".git" });
 }