本文整理汇总了C#中Microsoft.VsSDK.IntegrationTestLibrary.TestUtils.CanFindToolwindow方法的典型用法代码示例。如果您正苦于以下问题:C# TestUtils.CanFindToolwindow方法的具体用法?C# TestUtils.CanFindToolwindow怎么用?C# TestUtils.CanFindToolwindow使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Microsoft.VsSDK.IntegrationTestLibrary.TestUtils
的用法示例。
在下文中一共展示了TestUtils.CanFindToolwindow方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(AttackPattern.VisualGit.GuidList.guidVisualGitCmdSet, (int)AttackPattern.VisualGit.PkgCmdIDList.cmdidGitWindow);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(AttackPattern.VisualGit.GuidList.guidToolWindowPersistanceString)));
});
}
示例2: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(F1SYS.VsGitToolsPackage.GuidList.guidVsGitToolsPackageCmdSet, (int)F1SYS.VsGitToolsPackage.PkgCmdIDList.icmdSccCommandGitBash);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(F1SYS.VsGitToolsPackage.GuidList.guidToolWindowPersistanceString)));
});
}
示例3: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(DivyaSinghal.StrutViewer.GuidList.guidStrutViewerCmdSet, (int)DivyaSinghal.StrutViewer.PkgCmdIDList.StrutViewerTool);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(DivyaSinghal.StrutViewer.GuidList.guidToolWindowPersistanceString)));
});
}
示例4: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(GuidList.guidXrmFrameworkCmdSet, (int)PkgCmdIDList.xrmFrameworkDefinitionManager);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(GuidList.guidToolWindowPersistanceString)));
});
}
示例5: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(Synopsis.SynopsisVSPkg.GuidList.guidSynopsisVSPkgCmdSet, (int)Synopsis.SynopsisVSPkg.PkgCmdIDList.cmdidViewMemberByAccessModifier);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(Synopsis.SynopsisVSPkg.GuidList.guidToolWindowPersistanceString)));
});
}
示例6: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(andrena.Usus_net_UI.GuidList.guidUsus_net_UICmdSet, (int)andrena.Usus_net_UI.PkgCmdIDList.cmdUsusNetWindow);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(andrena.Usus_net_UI.GuidList.guidToolWindowPersistanceString)));
});
}
示例7: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(OmarSalem.MissingSectionsFinder_Package.GuidList.guidMissingSectionsFinder_PackageCmdSet, (int)OmarSalem.MissingSectionsFinder_Package.PkgCmdIDList.cmdidMSF);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(OmarSalem.MissingSectionsFinder_Package.GuidList.guidToolWindowPersistanceString)));
});
}
示例8: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(GuidList.guidInstallBakerCmdSet, (int)PkgCmdIDList.cmdIdInstallBakerToolWindow);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(GuidList.guidToolWindowPersistanceString)));
});
}
示例9: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(PacktPub.VSPackageSample.GuidList.guidVSPackageSampleCmdSet, (int)PacktPub.VSPackageSample.PkgCmdIDList.cmdidMyTool);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(PacktPub.VSPackageSample.GuidList.guidToolWindowPersistanceString)));
});
}
示例10: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(ZinkoSoft.NuSet.GuidList.NuSetCommandGuid, (int)ZinkoSoft.NuSet.PkgCmdIDList.nusetTools);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(ZinkoSoft.NuSet.GuidList.ToolWindowsPersistenceGuidString)));
});
}
示例11: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(SanJoseWaterCompany.SyncIIS.GuidList.guidSyncIISCmdSet, (int)SanJoseWaterCompany.SyncIIS.PkgCmdIDList.cmdSyncIISWindow);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(SanJoseWaterCompany.SyncIIS.GuidList.guidToolWindowPersistanceString)));
});
}
示例12: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(Company.TwitterStudio.GuidList.guidTwitterStudioCmdSet, (int)Company.TwitterStudio.PkgCmdIDList.cmdidMyTool);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(Company.TwitterStudio.GuidList.guidToolWindowPersistanceString)));
});
}
示例13: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(kazuk.GithubVs.GuidList.guidGithubVsCmdSet, (int)kazuk.GithubVs.PkgCmdIDList.cmdidMyTool);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(kazuk.GithubVs.GuidList.guidToolWindowPersistanceString)));
});
}
示例14: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(PiotrTrzpil.VisualMutator_VSPackage.GuidList.guidVisualMutator_VSPackageCmdSet, (int)PiotrTrzpil.VisualMutator_VSPackage.PkgCmdIDList.cmdidVisualMutator);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(PiotrTrzpil.VisualMutator_VSPackage.GuidList.guidToolWindowPersistanceString)));
});
}
示例15: ShowToolWindow
public void ShowToolWindow()
{
UIThreadInvoker.Invoke((ThreadInvoker)delegate()
{
CommandID toolWindowCmd = new CommandID(Constants.guidPackageCmdSet, (int)Constants.cmdidPendingChanges);
TestUtils testUtils = new TestUtils();
testUtils.ExecuteCommand(toolWindowCmd);
Assert.IsTrue(testUtils.CanFindToolwindow(new Guid(Constants.guidToolWindowPersistanceString)));
});
}