Ejemplo n.º 1
0
        public void OpenSolutionAndFindMethodsInArbitraryFile()
        {
            //string folder = AppDomain.CurrentDomain.BaseDirectory + "\\Sources\\Live-Charts-master\\LiveCharts.sln";

            VSSolutionStub vss = new VSSolutionStub();

            vss.ef = ef;
            vss.MethodMembers();
        }
Ejemplo n.º 2
0
        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()));
        }
Ejemplo n.º 3
0
        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();
        }
Ejemplo n.º 4
0
        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()));
        }