Selaa lähdekoodia

Missing changes from last commit

master
MadBoy_cp 12 vuotta sitten
vanhempi
commit
4ec1c6076f
1 muutettua tiedostoa jossa 10 lisäystä ja 4 poistoa
  1. 10
    4
      UnitTests/DocXUnitTests.cs

+ 10
- 4
UnitTests/DocXUnitTests.cs Näytä tiedosto

@@ -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()
{

Loading…
Peruuta
Tallenna