//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes: //ORIGINAL LINE: @Test public void testPostDeployWithNestedContext() public virtual void testPostDeployWithNestedContext() { /* * This test case checks if the process application deployment is done when * application context is refreshed, but not when child contexts are * refreshed. * * As a side test it checks if events thrown in the PostDeploy-method are * catched by the main application context. */ AbstractApplicationContext applicationContext = new ClassPathXmlApplicationContext("org/camunda/bpm/engine/spring/test/application/PostDeployWithNestedContext-context.xml"); applicationContext.start(); // lookup the process application spring bean: PostDeployWithNestedContext processApplication = applicationContext.getBean("customProcessApplicaiton", typeof(PostDeployWithNestedContext)); Assert.assertFalse(processApplication.DeployOnChildRefresh); Assert.assertTrue(processApplication.LateEventTriggered); processApplication.undeploy(); applicationContext.close(); }
public ApplicationListenerAnonymousInnerClass(PostDeployWithNestedContext outerInstance) { this.outerInstance = outerInstance; }
public MyEvent(PostDeployWithNestedContext outerInstance, object source) : base(source) { this.outerInstance = outerInstance; }