public void OpenSolutionAndFindMethodsInArbitraryFile() { //string folder = AppDomain.CurrentDomain.BaseDirectory + "\\Sources\\Live-Charts-master\\LiveCharts.sln"; VSSolutionStub vss = new VSSolutionStub(); vss.ef = ef; vss.MethodMembers(); }
public void CheckIfCompileItemsArePresentInSolutionTree() { //string folder = AppDomain.CurrentDomain.BaseDirectory + "\\Sources\\Live-Charts-master\\LiveCharts.sln"; //ef.Invoke(new Action(() => { // ef.Command_CloseSolution(); // ef.Command_OpenSolution(folder); //})); //Task.Run(() => mre.WaitOne()).Wait(); VSSolutionStub vss = new VSSolutionStub(); TreeView v = ef.Command_SolutionExplorerTreeView(); vss.CheckIfCompileItemsArePresentInSolutionExplorerTree(v); //NUnit.Framework.TestContext.WriteLine("Open solution for " + folder + " and check compile items completed successfully "); //mf.BeginInvoke(new Action(() => this.Close())); }
public void OpenSolutionAndFindMethodsInArbitraryFile(object obs) { ManualResetEvent mre = new ManualResetEvent(false); Context c = obs as Context; string folder = AppDomain.CurrentDomain.BaseDirectory + "\\Sources\\Live-Charts-master\\LiveCharts.sln"; c.info = folder; mf.BeginInvoke(new Action(() => { mf.Command_OpenSolution(folder, mre); })); Task.Run(() => mre.WaitOne()).Wait(); VSSolutionStub vss = new VSSolutionStub(); vss.ef = mf; //vss.MethodMembers(); }
public void OpenSolutionAndCheckIfCompileItemsArePresentInSolutionTree(object obs) { ManualResetEvent mre = new ManualResetEvent(false); Context c = obs as Context; string folder = AppDomain.CurrentDomain.BaseDirectory + "\\Sources\\Live-Charts-master\\LiveCharts.sln"; c.info = folder; mf.Invoke(new Action(() => { mf.Command_OpenSolution(folder, mre); })); Task.Run(() => mre.WaitOne()).Wait(); VSSolutionStub vss = new VSSolutionStub(); TreeView v = mf.Command_SolutionExplorerTreeView(); vss.CheckIfCompileItemsArePresentInSolutionExplorerTree(v); //NUnit.Framework.TestContext.WriteLine("Open solution for " + folder + " and check compile items completed successfully "); mf.BeginInvoke(new Action(() => this.Close())); }