Пример #1
0
 public void ToolWindowHelperTests_ConstructContextMenu_ManualTest_Success()
 {
     ValidateContextMenuItems(TestManualUtilities.CreateManualTest(),
                              new List <MenuItemEnum>
     {
         MenuItemEnum.ViewDetails,
         MenuItemEnum.OpenInBrowser
     });
 }
Пример #2
0
        public void OctaneMyItemsViewModelTests_MyItems_Supported_ManualRun_Success()
        {
            var manualTest = TestManualUtilities.CreateManualTest();
            var manualRun  = RunManualUtilities.CreateManualRun(manualTest);

            Thread.Sleep(1500);
            try
            {
                ValidateType(manualRun, 1);
            }
            finally
            {
                EntityService.DeleteById <TestManual>(WorkspaceContext, manualTest.Id);
            }
        }
Пример #3
0
        public void ToolWindowHelperTests_ConstructContextMenu_ManualRun_Success()
        {
            var manualTest = TestManualUtilities.CreateManualTest();
            var manualRun  = RunManualUtilities.CreateManualRun(manualTest);

            Thread.Sleep(1500);
            try
            {
                ValidateContextMenuItems(manualRun,
                                         new List <MenuItemEnum>
                {
                    MenuItemEnum.ViewDetails,
                    MenuItemEnum.OpenInBrowser,
                });
            }
            finally
            {
                EntityService.DeleteById <TestManual>(WorkspaceContext, manualTest.Id);
            }
        }
Пример #4
0
 public void OctaneMyItemsViewModelTests_MyItems_Supported_ManualTest_Success()
 {
     ValidateType(TestManualUtilities.CreateManualTest(), 1);
 }