Esempio n. 1
0
        public virtual void testConcurrentServiceTasks()
        {
//JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method:
            deployment(Bpmn.createExecutableProcess("testProcess").startEvent().parallelGateway("fork").serviceTask().camundaClass(typeof(AssertingJavaDelegate).FullName).parallelGateway("join").endEvent().moveToNode("fork").serviceTask().camundaClass(typeof(AssertingJavaDelegate).FullName).connectTo("join").done());

            AssertingJavaDelegate.addAsserts(new DelegateExecutionAsserterAnonymousInnerClass2(this));

            runtimeService.startProcessInstanceByKey("testProcess");
        }
Esempio n. 2
0
        public virtual void testTaskInsideEmbeddedSubprocess()
        {
//JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method:
            deployment(Bpmn.createExecutableProcess("testProcess").startEvent().subProcess().embeddedSubProcess().startEvent().serviceTask().camundaClass(typeof(AssertingJavaDelegate).FullName).endEvent().subProcessDone().endEvent().done());

            AssertingJavaDelegate.addAsserts(new DelegateExecutionAsserterAnonymousInnerClass3(this));

            runtimeService.startProcessInstanceByKey("testProcess");
        }
Esempio n. 3
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: @Override protected void tearDown() throws Exception
        protected internal override void tearDown()
        {
            AssertingJavaDelegate.clear();
            base.tearDown();
        }