2018-04-02 19:01:53 +00:00
|
|
|
import {
|
|
|
|
isTypedEvent,
|
|
|
|
isThrowEvent,
|
|
|
|
isCollection,
|
|
|
|
getDi,
|
|
|
|
getSemantic,
|
|
|
|
getCirclePath,
|
|
|
|
getRoundRectPath,
|
|
|
|
getDiamondPath,
|
|
|
|
getRectPath,
|
|
|
|
getFillColor,
|
|
|
|
getStrokeColor
|
|
|
|
} from 'lib/draw/BpmnRenderUtil';
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
describe('BpmnRenderUtil', function() {
|
|
|
|
|
|
|
|
it('should expose isTypedEvent', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(isTypedEvent).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should expose isThrowEvent', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(isThrowEvent).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should expose isCollection', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(isCollection).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
it('should expose getDi', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(getDi).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
it('should expose getSemantic', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(getSemantic).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should expose getCirclePath', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(getCirclePath).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should expose getRoundRectPath', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(getRoundRectPath).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should expose getDiamondPath', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(getDiamondPath).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should expose getRectPath', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(getRectPath).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should expose getFillColor', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(getFillColor).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
it('should expose getStrokeColor', function() {
|
|
|
|
|
2018-04-02 19:01:53 +00:00
|
|
|
expect(getStrokeColor).to.be.a('function');
|
2017-12-01 13:45:54 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
});
|