Getting old tests to pass

This commit is contained in:
Lars Brubaker 2016-09-23 13:34:57 -07:00
parent 774aaceb00
commit 17af0bd27f
3 changed files with 9 additions and 65 deletions

View file

@ -179,12 +179,9 @@ namespace MatterHackers.MatterControl.Tests.Automation
public static bool CompareExpectedSliceSettingValueWithActualVaue(string sliceSetting, string expectedValue)
{
string tempFolderPath = Path.Combine("..", "..", "..", "..", "Tests", "temp");
string fullPath = Path.Combine(tempFolderPath, runName, "Test0", "data", "gcode");
string fullPath = TestContext.CurrentContext.ResolveProjectPath(4, "Tests", "temp", runName, "Test0", "data", "gcode");
string[] gcodeFiles = Directory.GetFiles(fullPath);
foreach (string file in gcodeFiles)
foreach (string file in Directory.GetFiles(fullPath))
{
if (file.Contains(".ini"))
{