Class CustomAbstractXmlFlowExecutionTests

    • Constructor Detail

      • CustomAbstractXmlFlowExecutionTests

        public CustomAbstractXmlFlowExecutionTests()
        Constructs a default XML flow execution test.
        See Also:
        TestCase.setName(String)
      • CustomAbstractXmlFlowExecutionTests

        public CustomAbstractXmlFlowExecutionTests​(String name)
        Constructs an XML flow execution test with given name.
        Parameters:
        name - the name of the test
    • Method Detail

      • getModelResources

        protected FlowDefinitionResource[] getModelResources​(FlowDefinitionResourceFactory resourceFactory)
        Template method subclasses may override to return pointers to "flow model resources" needed to build the definition of the flow being tested. Typically overridden when the flow being tested extends from another flow. Default returns null, assuming no inheritance.
        Parameters:
        resourceFactory - the resource factory
        Returns:
        the flow definition model resources
      • registerMockFlowBeans

        protected void registerMockFlowBeans​(ConfigurableBeanFactory flowBeanFactory)
        Template method subclasses may override to register mock implementations of services used locally by the flow being tested. By default, this method does nothing.
        Parameters:
        flowBeanFactory - the local flow bean factory, you may register mock services with it using SingletonBeanRegistry.registerSingleton(String, Object)
      • registerDependentFlowModels

        private void registerDependentFlowModels()