Web フローをテストしていますが、アプリケーションのフローを含む xml ファイルを見つける必要があります。しかし、ファイルを置く必要がある理由が本当にわかりません。パスの前に、なぜこれが必要なのですか?
宣言パス:
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";
パス フローをテストするコード:
@Test
@Override
protected FlowDefinitionResource getResource(FlowDefinitionResourceFactory resourceFactory) {
FlowDefinitionResource resource = resourceFactory.createResource(FLOW_CONSULTA_DEUTE);
Assert.assertNotNull(resource);
return resource;
}
これは py プロジェクト estrucuture です:
タイ。