public void TestMainRun() { var testEnv = new TestEnv(); var result = Program.Main(new[] { testEnv.SolutionFile }); Assert.IsTrue(result == 0); }
public static void ClassInit(TestContext context) { _msgFilter = new MessageFilter(); var dteType = Type.GetTypeFromProgID("VisualStudio.DTE.12.0", true); _dte = (EnvDTE80.DTE2)Activator.CreateInstance(dteType, true); _testEnv = new TestEnv(); _dte.Solution.Open(_testEnv.SolutionFile); }
public void TestMainRun() { var testEnv = new TestEnv(); var result = Program.Main(new[] {testEnv.SolutionFile}); Assert.IsTrue(result == 0); }