public SpringProcessEngineTestCase() : base() { this.testContextManager = new TestContextManager(this.GetType()); SpringTestHelper testHelper = lookupTestHelper(); testHelper.beforeTestClass(testContextManager); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: @Override public void runBare() throws Throwable public override void runBare() { testContextManager.prepareTestInstance(this); // this will initialize all dependencies try { base.runBare(); } finally { testContextManager.afterTestClass(); applicationContext.close(); applicationContext = null; processEngine = null; testContextManager = null; CachedIntrospectionResults.clearClassLoader(this.GetType().ClassLoader); } }
public virtual void beforeTestClass(TestContextManager testContextManager) { testContextManager.registerTestExecutionListeners(new TestExecutionListenerAnonymousInnerClass(this)); }