Beispiel #1
0
        static partial void RealInstanceFactory(ref Node real, string callerName)
        {
            WorkItemStore  workItemStore = WorkItemStoreWrapper_UnitTests.GetRealInstance();
            Project        project       = ProjectWrapper_UnitTests.GetRealInstance();
            NodeCollection areas         = project.AreaRootNodes;
            Node           firstArea     = areas[0];

            real = firstArea;
        }
        public void IsQueryHierarchyReady_UnitTest()
        {
            IProject project = default(IProject);

            ExecuteMethod(
                () => { return((IQueryHierarchyProvider)GetInstance()); },
                instance =>
            {
                project = ProjectWrapper_UnitTests.GetInstance();
                IsQueryHierarchyReady_PreCondition(instance, ref project);
            },
                instance => { instance.IsQueryHierarchyReady(project); },
                instance => { IsQueryHierarchyReady_PostValidate(instance, project); });
        }
Beispiel #3
0
        static partial void RealInstanceFactory(ref QueryHierarchy real, string callerName)
        {
            var project = ProjectWrapper_UnitTests.GetRealInstance();

            real = project.QueryHierarchy;
        }