Have a new command line argument of test that will run release tests. Put in two tests to ensure that we don't have DEBUG defined when we ship release builds. Wrote a exception dumper that will output data when we have an error.
17 lines
349 B
C#
17 lines
349 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
|
|
namespace MatterHackers.MatterControl.Testing
|
|
{
|
|
public static class ReleaseTests
|
|
{
|
|
public static void AssertDebugNotDefined()
|
|
{
|
|
#if DEBUG
|
|
throw new Exception("DEBUG is defined and should not be!");
|
|
#endif
|
|
}
|
|
}
|
|
}
|