Don't pass anything to the testDispatch.

This commit is contained in:
larsbrubaker 2014-08-11 10:23:30 -07:00
parent 3911d8d14a
commit fe0a0eb696
2 changed files with 2 additions and 7 deletions

View file

@ -71,12 +71,7 @@ namespace MatterHackers.MatterControl
{
case "TEST":
Testing.TestingDispatch testDispatch = new Testing.TestingDispatch();
string[] testCommands = new string[commandLineArgs.Length - 2];
if (commandLineArgs.Length > 2)
{
commandLineArgs.CopyTo(testCommands, 2);
}
testDispatch.RunTests(testCommands);
testDispatch.RunTests();
return;
case "CLEAR_CACHE":

View file

@ -24,7 +24,7 @@ namespace MatterHackers.MatterControl.Testing
}
}
public void RunTests(string[] testCommands)
public void RunTests()
{
try { ReleaseTests.AssertDebugNotDefined(); }
catch (Exception e) { DumpException(e); }