public static VerifyRunInSupportProducts ( ITestSite siteInstance ) : bool | ||
siteInstance | ITestSite | A parameter represents the site instance. |
return | bool |
public static void ClassInitialize(TestContext testContext) { TestClassBase.Initialize(testContext); // Execute the MS-WOPI initialization if (!TestSuiteHelper.VerifyRunInSupportProducts(TestSuiteBase.BaseTestSite)) { return; } TestSuiteHelper.InitializeTestSuite(TestSuiteBase.BaseTestSite); WopiAdapter = TestSuiteHelper.WOPIProtocolAdapter; SutController = TestSuiteHelper.WOPISutControladapter; WopiSutManageCodeControlAdapter = TestSuiteHelper.WOPIManagedCodeSUTControlAdapter; CurrentTestClientName = TestSuiteHelper.CurrentTestClientName; if (string.IsNullOrEmpty(UploadedFileUrl)) { UploadedFileUrl = Common.GetConfigurationPropertyValue("UploadedFileUrl", TestSuiteBase.BaseTestSite); } if (string.IsNullOrEmpty(TargetDocLibraryListName)) { TargetDocLibraryListName = Common.GetConfigurationPropertyValue("MSWOPIDocLibraryName", TestSuiteBase.BaseTestSite); } if (null == AddedFilesRecorder) { AddedFilesRecorder = new List <string>(); } }
public static void MSWOPISharedTestClassInitialize(TestContext testContext) { // Execute the MS-FSSHTTP test cases' initialization SharedTestSuiteBase.Initialize(testContext); // Execute the MS-WOPI initialization if (!TestSuiteHelper.VerifyRunInSupportProducts(MS_WOPI_S14_AllocateExtendedGuidRange.BaseTestSite)) { return; } TestSuiteHelper.InitializeTestSuite(MS_WOPI_S14_AllocateExtendedGuidRange.BaseTestSite); SutController = TestSuiteHelper.WOPISutControladapter; WopiSutManageCodeControlAdapter = TestSuiteHelper.WOPIManagedCodeSUTControlAdapter; CurrentTestClientName = TestSuiteHelper.CurrentTestClientName; }