I'm testing web-flow, and i need to found xml file that contains application's flow. But I really don't understand why is necessary put file: before the path, why is this necessary?
declaration path:
protected static final String ARREL_FLOWS = "file:src/main/webapp/WEB-INF/flow/";
protected static final String FLOW_CONSULTA_DEUTE = ARREL_FLOWS +"consultaDeutes/consultaDeutes.xml";
Code to test the path flow:
@Test
@Override
protected FlowDefinitionResource getResource(FlowDefinitionResourceFactory resourceFactory) {
FlowDefinitionResource resource = resourceFactory.createResource(FLOW_CONSULTA_DEUTE);
Assert.assertNotNull(resource);
return resource;
}
this is py project estrucuture:
ty.