public static void ClassInitialize(TestContext testContext) { TestClassBase.Initialize(testContext); try { SUTAdapter = TestClassBase.BaseTestSite.GetAdapter <IXXXX_SUTControlAdapter>(); protocolAdapter = TestClassBase.BaseTestSite.GetAdapter <IXXXX_Adapter>(); } catch (Exception ex) { TestClassBase.BaseTestSite.Assume.Inconclusive("ClassInitialize: Unexpected Exception - " + ex.Message); } }
public static void ClassInitialize(TestContext testContext) { TestClassBase.Initialize(testContext); try { SUTAdapter = TestClassBase.BaseTestSite.GetAdapter<IXXXX_SUTControlAdapter>(); protocolAdapter = TestClassBase.BaseTestSite.GetAdapter<IXXXX_Adapter>(); } catch (Exception ex) { TestClassBase.BaseTestSite.Assume.Inconclusive("ClassInitialize: Unexpected Exception - " + ex.Message); } }