chore(test/fixtures/bpmn): structure files by feature
This commit is contained in:
parent
73fbeb3d27
commit
7db31042aa
|
@ -21,7 +21,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render activity markers', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/activity-markers.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/activity-markers.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -33,7 +33,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render activity markers (combination)', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/activity-markers-combination.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/activity-markers-combination.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -45,7 +45,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render conditional flows', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/conditional-flow.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/conditional-flow.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -57,7 +57,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render conditional default flows', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/conditional-flow-default.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/conditional-flow-default.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -69,7 +69,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render NO conditional flow (gateway)', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/conditional-flow-gateways.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/conditional-flow-gateways.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -81,7 +81,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render conditional flow (typed task)', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/conditional-flow-typed-task.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/conditional-flow-typed-task.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -93,7 +93,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render data objects', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/data-objects.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/data-objects.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -105,7 +105,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render events', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/events.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/events.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -117,7 +117,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render events (interrupting)', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/events-interrupting.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/events-interrupting.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -129,7 +129,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render event subprocesses (collapsed)', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/event-subprocesses-collapsed.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/event-subprocesses-collapsed.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -141,7 +141,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render event subprocesses (expanded)', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/event-subprocesses-expanded.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/event-subprocesses-expanded.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -153,7 +153,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render gateways', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/gateways.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/gateways.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -165,7 +165,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render group', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/group.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/group.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -177,7 +177,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render message marker', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/message-marker.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/message-marker.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -189,7 +189,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render pools', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/pools.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/pools.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -201,7 +201,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render pool collection marker', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/pools-with-collection-marker.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/pools-with-collection-marker.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -213,7 +213,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render task types', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/task-types.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/task-types.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -225,7 +225,7 @@ describe('draw/BpmnRenderer', function() {
|
|||
|
||||
it('should render text annotations', function(done) {
|
||||
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/render/text-annotation.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync(__dirname + '/../../../fixtures/bpmn/draw/text-annotation.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ describe('import - labels', function() {
|
|||
|
||||
it('on flow nodes', function(done) {
|
||||
|
||||
var xml = fs.readFileSync('test/fixtures/bpmn/labels/embedded.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync('test/fixtures/bpmn/import/labels/embedded.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -35,7 +35,7 @@ describe('import - labels', function() {
|
|||
|
||||
it('on pools and lanes', function(done) {
|
||||
|
||||
var xml = fs.readFileSync('test/fixtures/bpmn/labels/collaboration.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync('test/fixtures/bpmn/import/labels/collaboration.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -51,7 +51,7 @@ describe('import - labels', function() {
|
|||
|
||||
it('with di', function(done) {
|
||||
|
||||
var xml = fs.readFileSync('test/fixtures/bpmn/labels/external.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync('test/fixtures/bpmn/import/labels/external.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
@ -63,7 +63,7 @@ describe('import - labels', function() {
|
|||
|
||||
it('without di', function(done) {
|
||||
|
||||
var xml = fs.readFileSync('test/fixtures/bpmn/labels/external-no-di.bpmn', 'utf8');
|
||||
var xml = fs.readFileSync('test/fixtures/bpmn/import/labels/external-no-di.bpmn', 'utf8');
|
||||
|
||||
var renderer = new Viewer(container);
|
||||
|
||||
|
|
Loading…
Reference in New Issue