mattercontrol/Testing/ReleaseTests.cs
larsbrubaker eb41dbc01f Putting in new release tests to make sure all sorts of things are good when we deploy.
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.
2014-02-26 11:05:58 -08:00

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
}
}
}