parent
9112024e88
commit
d41cad1b67
|
@ -12,7 +12,8 @@ function hasLabel(element) {
|
|||
element.$instanceOf('bpmn:Gateway') ||
|
||||
element.$instanceOf('bpmn:DataStoreReference') ||
|
||||
element.$instanceOf('bpmn:DataObjectReference') ||
|
||||
element.$instanceOf('bpmn:SequenceFlow');
|
||||
element.$instanceOf('bpmn:SequenceFlow') ||
|
||||
element.$instanceOf('bpmn:MessageFlow');
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -44,6 +44,18 @@ describe('import - labels', function() {
|
|||
});
|
||||
});
|
||||
|
||||
|
||||
it('on message flows', function(done) {
|
||||
|
||||
var xml = fs.readFileSync('test/fixtures/bpmn/import/labels/collaboration-message-flows.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
renderer.importXML(xml, function(err) {
|
||||
done(err);
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue