Ver código fonte

Missing changes from last commit

master
MadBoy_cp 12 anos atrás
pai
commit
4ec1c6076f
1 arquivos alterados com 10 adições e 4 exclusões
  1. 10
    4
      UnitTests/DocXUnitTests.cs

+ 10
- 4
UnitTests/DocXUnitTests.cs Ver arquivo

@@ -30,12 +30,18 @@ namespace UnitTests

// The documents directory
List<string> steps = directory_executing_assembly.Split('\\').ToList();
steps.RemoveRange(steps.Count() - 3, 3);
steps.RemoveRange(steps.Count() - 2, 2);
directory_documents = String.Join("\\", steps) + "\\documents\\";
// directory_documents = "C:\\Users\\Faizan\\DocX\\UnitTests\\documents\\";
Setup(directory_documents);
}

private static void Setup(string path)
{
if (!Directory.Exists(path))
{
Directory.CreateDirectory(path);
}
}
[TestMethod]
public void Test_Pattern_Replacement()
{

Carregando…
Cancelar
Salvar