bpmn-js 0.20.3 → 0.20.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,7 @@ var getAttachment = require('lib/features/modeling/behavior/util/LineAttachmentU
4
4
 
5
5
  var EPSILON = 0.1;
6
6
 
7
+
7
8
  describe('modeling/behavior/util - LineAttachmentUtil#getAttachment', function() {
8
9
 
9
10
  // test line
@@ -198,7 +199,7 @@ describe('modeling/behavior/util - LineAttachmentUtil#getAttachment', function()
198
199
  // \
199
200
  // *
200
201
  //
201
- var otherLine = [
202
+ var floatingPointLine = [
202
203
  { x: 10.141592, y: 10.653589 },
203
204
  // -
204
205
  { x: 30.793238, y: 10.462643 },
@@ -212,7 +213,7 @@ describe('modeling/behavior/util - LineAttachmentUtil#getAttachment', function()
212
213
  it('float value segment', function() {
213
214
 
214
215
  // when
215
- var attachment = getAttachment({ x: 20.197169, y: 5.399375 }, otherLine);
216
+ var attachment = getAttachment({ x: 20.197169, y: 5.399375 }, floatingPointLine);
216
217
 
217
218
  // then
218
219
  expect(attachment.type).to.equal('segment');
@@ -228,17 +229,64 @@ describe('modeling/behavior/util - LineAttachmentUtil#getAttachment', function()
228
229
  it('float value bendboint', function() {
229
230
 
230
231
  // when
231
- var attachment = getAttachment({ x: 35.197169, y: 5.399375 }, otherLine);
232
+ var attachment = getAttachment({ x: 35.197169, y: 5.399375 }, floatingPointLine);
233
+
234
+ // then
235
+ expect(attachment.type).to.equal('bendpoint');
236
+ expect(attachment.segmentIndex).to.equal(1);
237
+ expect(attachment.bendpointIndex).to.equal(1);
238
+
239
+ // expect values to be roughly equal
240
+ expect(attachment.position.x).to.be.within(30.793 - EPSILON, 30.793 + EPSILON);
241
+ expect(attachment.position.y).to.be.within(10.463 - EPSILON, 10.463 + EPSILON);
242
+ });
243
+
244
+ });
245
+
246
+
247
+ describe('handle zero-length line', function() {
248
+
249
+ var zeroLengthLine = [
250
+ { x: 10, y: 10 },
251
+ // -
252
+ { x: 10, y: 10 }
253
+ ];
254
+
255
+
256
+ var zeroLengthFloatingPointLine = [
257
+ { x: 10.1, y: 10.12313 },
258
+ // -
259
+ { x: 10, y: 10.112 }
260
+ ];
261
+
262
+
263
+ it('should treat zero-length as bendpoint attach', function() {
264
+
265
+ // when
266
+ var attachment = getAttachment({ x: 15.1, y: 15.123 }, zeroLengthLine);
232
267
 
233
268
  // then
234
- // expext values to be rounded to 3 decimal places
235
269
  expect(attachment).to.eql({
236
270
  type: 'bendpoint',
237
- position: { x: 30.793, y: 10.463 },
238
- bendpointIndex: 1,
239
- segmentIndex: 0
271
+ position: { x: 10, y: 10 },
272
+ segmentIndex: 0,
273
+ bendpointIndex: 0
240
274
  });
275
+ });
276
+
241
277
 
278
+ it('should treat approx zero-length as bendpoint attach', function() {
279
+
280
+ // when
281
+ var attachment = getAttachment({ x: 15.1, y: 15.123 }, zeroLengthFloatingPointLine);
282
+
283
+ // then
284
+ expect(attachment).to.eql({
285
+ type: 'bendpoint',
286
+ position: { x: 10.1, y: 10.12313 },
287
+ segmentIndex: 0,
288
+ bendpointIndex: 0
289
+ });
242
290
  });
243
291
 
244
292
  });
@@ -29,7 +29,7 @@ describe('features/modeling/rules - BpmnRules', function() {
29
29
  expectCanConnect('StartEvent_None', 'Task', {
30
30
  sequenceFlow: true,
31
31
  messageFlow: false,
32
- association: true,
32
+ association: false,
33
33
  dataAssociation: false
34
34
  });
35
35
  }));
@@ -51,7 +51,7 @@ describe('features/modeling/rules - BpmnRules', function() {
51
51
  expectCanConnect('Task', 'IntermediateThrowEvent_Link', {
52
52
  sequenceFlow: true,
53
53
  messageFlow: false,
54
- association: true,
54
+ association: false,
55
55
  dataAssociation: false
56
56
  });
57
57
  }));
@@ -62,7 +62,7 @@ describe('features/modeling/rules - BpmnRules', function() {
62
62
  expectCanConnect('IntermediateThrowEvent_Link', 'EndEvent_None', {
63
63
  sequenceFlow: false,
64
64
  messageFlow: false,
65
- association: true,
65
+ association: false,
66
66
  dataAssociation: false
67
67
  });
68
68
  }));
@@ -73,7 +73,7 @@ describe('features/modeling/rules - BpmnRules', function() {
73
73
  expectCanConnect('StartEvent_None', 'IntermediateCatchEvent_Link', {
74
74
  sequenceFlow: false,
75
75
  messageFlow: false,
76
- association: true,
76
+ association: false,
77
77
  dataAssociation: false
78
78
  });
79
79
  }));
@@ -84,7 +84,7 @@ describe('features/modeling/rules - BpmnRules', function() {
84
84
  expectCanConnect('IntermediateCatchEvent_Link', 'Task', {
85
85
  sequenceFlow: true,
86
86
  messageFlow: false,
87
- association: true,
87
+ association: false,
88
88
  dataAssociation: false
89
89
  });
90
90
  }));
@@ -113,7 +113,7 @@ describe('features/modeling/rules - BpmnRules', function() {
113
113
  expectCanConnect('DataObjectReference', 'StartEvent_None', {
114
114
  sequenceFlow: false,
115
115
  messageFlow: false,
116
- association: true,
116
+ association: false,
117
117
  dataAssociation: false
118
118
  });
119
119
  }));
@@ -124,7 +124,7 @@ describe('features/modeling/rules - BpmnRules', function() {
124
124
  expectCanConnect('StartEvent_None', 'DataObjectReference', {
125
125
  sequenceFlow: false,
126
126
  messageFlow: false,
127
- association: true,
127
+ association: false,
128
128
  dataAssociation: { type: 'bpmn:DataOutputAssociation' }
129
129
  });
130
130
  }));
@@ -135,7 +135,7 @@ describe('features/modeling/rules - BpmnRules', function() {
135
135
  expectCanConnect('DataObjectReference', 'EndEvent_None', {
136
136
  sequenceFlow: false,
137
137
  messageFlow: false,
138
- association: true,
138
+ association: false,
139
139
  dataAssociation: { type: 'bpmn:DataInputAssociation' }
140
140
  });
141
141
  }));
@@ -146,7 +146,7 @@ describe('features/modeling/rules - BpmnRules', function() {
146
146
  expectCanConnect('EndEvent_None', 'DataObjectReference', {
147
147
  sequenceFlow: false,
148
148
  messageFlow: false,
149
- association: true,
149
+ association: false,
150
150
  dataAssociation: false
151
151
  });
152
152
  }));
@@ -157,7 +157,7 @@ describe('features/modeling/rules - BpmnRules', function() {
157
157
  expectCanConnect('Task', 'DataObjectReference', {
158
158
  sequenceFlow: false,
159
159
  messageFlow: false,
160
- association: true,
160
+ association: false,
161
161
  dataAssociation: { type: 'bpmn:DataOutputAssociation' }
162
162
  });
163
163
  }));
@@ -168,7 +168,7 @@ describe('features/modeling/rules - BpmnRules', function() {
168
168
  expectCanConnect('DataObjectReference', 'Task', {
169
169
  sequenceFlow: false,
170
170
  messageFlow: false,
171
- association: true,
171
+ association: false,
172
172
  dataAssociation: { type: 'bpmn:DataInputAssociation' }
173
173
  });
174
174
  }));
@@ -179,7 +179,7 @@ describe('features/modeling/rules - BpmnRules', function() {
179
179
  expectCanConnect('SubProcess', 'DataObjectReference', {
180
180
  sequenceFlow: false,
181
181
  messageFlow: false,
182
- association: true,
182
+ association: false,
183
183
  dataAssociation: { type: 'bpmn:DataOutputAssociation' }
184
184
  });
185
185
  }));
@@ -190,7 +190,7 @@ describe('features/modeling/rules - BpmnRules', function() {
190
190
  expectCanConnect('DataObjectReference', 'SubProcess', {
191
191
  sequenceFlow: false,
192
192
  messageFlow: false,
193
- association: true,
193
+ association: false,
194
194
  dataAssociation: { type: 'bpmn:DataInputAssociation' }
195
195
  });
196
196
  }));
@@ -199,6 +199,50 @@ describe('features/modeling/rules - BpmnRules', function() {
199
199
  it('connect DataStoreReference -> StartEvent_None', inject(function() {
200
200
 
201
201
  expectCanConnect('DataStoreReference', 'StartEvent_None', {
202
+ sequenceFlow: false,
203
+ messageFlow: false,
204
+ association: false,
205
+ dataAssociation: false
206
+ });
207
+ }));
208
+
209
+
210
+ it('connect DataObjectReference -> TextAnnotation', inject(function() {
211
+
212
+ expectCanConnect('DataObjectReference', 'TextAnnotation', {
213
+ sequenceFlow: false,
214
+ messageFlow: false,
215
+ association: true,
216
+ dataAssociation: false
217
+ });
218
+ }));
219
+
220
+
221
+ it('connect TextAnnotation -> DataObjectReference', inject(function() {
222
+
223
+ expectCanConnect('TextAnnotation', 'DataObjectReference', {
224
+ sequenceFlow: false,
225
+ messageFlow: false,
226
+ association: true,
227
+ dataAssociation: false
228
+ });
229
+ }));
230
+
231
+
232
+ it('connect DataStoreReference -> TextAnnotation', inject(function() {
233
+
234
+ expectCanConnect('DataStoreReference', 'TextAnnotation', {
235
+ sequenceFlow: false,
236
+ messageFlow: false,
237
+ association: true,
238
+ dataAssociation: false
239
+ });
240
+ }));
241
+
242
+
243
+ it('connect TextAnnotation -> DataStoreReference', inject(function() {
244
+
245
+ expectCanConnect('TextAnnotation', 'DataStoreReference', {
202
246
  sequenceFlow: false,
203
247
  messageFlow: false,
204
248
  association: true,
@@ -212,7 +256,7 @@ describe('features/modeling/rules - BpmnRules', function() {
212
256
  expectCanConnect('StartEvent_None', 'DataStoreReference', {
213
257
  sequenceFlow: false,
214
258
  messageFlow: false,
215
- association: true,
259
+ association: false,
216
260
  dataAssociation: { type: 'bpmn:DataOutputAssociation' }
217
261
  });
218
262
  }));
@@ -223,7 +267,7 @@ describe('features/modeling/rules - BpmnRules', function() {
223
267
  expectCanConnect('DataStoreReference', 'EndEvent_None', {
224
268
  sequenceFlow: false,
225
269
  messageFlow: false,
226
- association: true,
270
+ association: false,
227
271
  dataAssociation: { type: 'bpmn:DataInputAssociation' }
228
272
  });
229
273
  }));
@@ -234,7 +278,7 @@ describe('features/modeling/rules - BpmnRules', function() {
234
278
  expectCanConnect('EndEvent_None', 'DataStoreReference', {
235
279
  sequenceFlow: false,
236
280
  messageFlow: false,
237
- association: true,
281
+ association: false,
238
282
  dataAssociation: false
239
283
  });
240
284
  }));
@@ -245,7 +289,7 @@ describe('features/modeling/rules - BpmnRules', function() {
245
289
  expectCanConnect('Task', 'DataStoreReference', {
246
290
  sequenceFlow: false,
247
291
  messageFlow: false,
248
- association: true,
292
+ association: false,
249
293
  dataAssociation: { type: 'bpmn:DataOutputAssociation' }
250
294
  });
251
295
  }));
@@ -256,7 +300,7 @@ describe('features/modeling/rules - BpmnRules', function() {
256
300
  expectCanConnect('DataStoreReference', 'Task', {
257
301
  sequenceFlow: false,
258
302
  messageFlow: false,
259
- association: true,
303
+ association: false,
260
304
  dataAssociation: { type: 'bpmn:DataInputAssociation' }
261
305
  });
262
306
  }));
@@ -267,7 +311,7 @@ describe('features/modeling/rules - BpmnRules', function() {
267
311
  expectCanConnect('SubProcess', 'DataStoreReference', {
268
312
  sequenceFlow: false,
269
313
  messageFlow: false,
270
- association: true,
314
+ association: false,
271
315
  dataAssociation: { type: 'bpmn:DataOutputAssociation' }
272
316
  });
273
317
  }));
@@ -278,7 +322,7 @@ describe('features/modeling/rules - BpmnRules', function() {
278
322
  expectCanConnect('DataStoreReference', 'SubProcess', {
279
323
  sequenceFlow: false,
280
324
  messageFlow: false,
281
- association: true,
325
+ association: false,
282
326
  dataAssociation: { type: 'bpmn:DataInputAssociation' }
283
327
  });
284
328
  }));
@@ -298,7 +342,7 @@ describe('features/modeling/rules - BpmnRules', function() {
298
342
  expectCanConnect('BoundaryEvent_on_SubProcess', 'Task', {
299
343
  sequenceFlow: true,
300
344
  messageFlow: false,
301
- association: true,
345
+ association: false,
302
346
  dataAssociation: false
303
347
  });
304
348
  }));
@@ -309,7 +353,7 @@ describe('features/modeling/rules - BpmnRules', function() {
309
353
  expectCanConnect('BoundaryEvent_on_SubProcess', 'ExclusiveGateway', {
310
354
  sequenceFlow: true,
311
355
  messageFlow: false,
312
- association: true,
356
+ association: false,
313
357
  dataAssociation: false
314
358
  });
315
359
  }));
@@ -320,7 +364,7 @@ describe('features/modeling/rules - BpmnRules', function() {
320
364
  expectCanConnect('BoundaryEvent_on_SubProcess', 'SubProcess', {
321
365
  sequenceFlow: true,
322
366
  messageFlow: false,
323
- association: true,
367
+ association: false,
324
368
  dataAssociation: false
325
369
  });
326
370
  }));
@@ -331,7 +375,7 @@ describe('features/modeling/rules - BpmnRules', function() {
331
375
  expectCanConnect('BoundaryEvent_on_SubProcess', 'BoundaryEvent_on_Task', {
332
376
  sequenceFlow: false,
333
377
  messageFlow: false,
334
- association: true,
378
+ association: false,
335
379
  dataAssociation: false
336
380
  });
337
381
  }));
@@ -342,7 +386,7 @@ describe('features/modeling/rules - BpmnRules', function() {
342
386
  expectCanConnect('BoundaryEvent_on_SubProcess', 'StartEvent_None', {
343
387
  sequenceFlow: false,
344
388
  messageFlow: false,
345
- association: true,
389
+ association: false,
346
390
  dataAssociation: false
347
391
  });
348
392
  }));
@@ -353,7 +397,7 @@ describe('features/modeling/rules - BpmnRules', function() {
353
397
  expectCanConnect('StartEvent_None', 'BoundaryEvent_on_SubProcess', {
354
398
  sequenceFlow: false,
355
399
  messageFlow: false,
356
- association: true,
400
+ association: false,
357
401
  dataAssociation: false
358
402
  });
359
403
  }));
@@ -364,7 +408,7 @@ describe('features/modeling/rules - BpmnRules', function() {
364
408
  expectCanConnect('BoundaryEvent_nested', 'Task', {
365
409
  sequenceFlow: false,
366
410
  messageFlow: false,
367
- association: true,
411
+ association: false,
368
412
  dataAssociation: false
369
413
  });
370
414
  }));
@@ -375,7 +419,7 @@ describe('features/modeling/rules - BpmnRules', function() {
375
419
  expectCanConnect('BoundaryEvent_nested', 'EndEvent_nested', {
376
420
  sequenceFlow: true,
377
421
  messageFlow: false,
378
- association: true,
422
+ association: false,
379
423
  dataAssociation: false
380
424
  });
381
425
  }));
@@ -386,7 +430,7 @@ describe('features/modeling/rules - BpmnRules', function() {
386
430
  expectCanConnect('BoundaryEvent_on_SubProcess', 'BoundaryEvent_in_OtherProcess', {
387
431
  sequenceFlow: false,
388
432
  messageFlow: false,
389
- association: true,
433
+ association: false,
390
434
  dataAssociation: false
391
435
  });
392
436
  }));
@@ -397,7 +441,7 @@ describe('features/modeling/rules - BpmnRules', function() {
397
441
  expectCanConnect('BoundaryEvent_on_SubProcess', 'Task_in_OtherProcess', {
398
442
  sequenceFlow: false,
399
443
  messageFlow: false,
400
- association: true,
444
+ association: false,
401
445
  dataAssociation: false
402
446
  });
403
447
  }));
@@ -408,7 +452,7 @@ describe('features/modeling/rules - BpmnRules', function() {
408
452
  expectCanConnect('Task_in_OtherProcess', 'BoundaryEvent_on_SubProcess', {
409
453
  sequenceFlow: false,
410
454
  messageFlow: true,
411
- association: true,
455
+ association: false,
412
456
  dataAssociation: false
413
457
  });
414
458
  }));
@@ -428,7 +472,7 @@ describe('features/modeling/rules - BpmnRules', function() {
428
472
  expectCanConnect('EventBasedGateway', 'IntermediateCatchEvent_Message', {
429
473
  sequenceFlow: true,
430
474
  messageFlow: false,
431
- association: true,
475
+ association: false,
432
476
  dataAssociation: false
433
477
  });
434
478
  }));
@@ -439,7 +483,7 @@ describe('features/modeling/rules - BpmnRules', function() {
439
483
  expectCanConnect('EventBasedGateway', 'IntermediateCatchEvent_Message', {
440
484
  sequenceFlow: true,
441
485
  messageFlow: false,
442
- association: true,
486
+ association: false,
443
487
  dataAssociation: false
444
488
  });
445
489
  }));
@@ -450,7 +494,7 @@ describe('features/modeling/rules - BpmnRules', function() {
450
494
  expectCanConnect('EventBasedGateway', 'IntermediateCatchEvent_Signal', {
451
495
  sequenceFlow: true,
452
496
  messageFlow: false,
453
- association: true,
497
+ association: false,
454
498
  dataAssociation: false
455
499
  });
456
500
  }));
@@ -461,7 +505,7 @@ describe('features/modeling/rules - BpmnRules', function() {
461
505
  expectCanConnect('EventBasedGateway', 'IntermediateCatchEvent_Condition', {
462
506
  sequenceFlow: true,
463
507
  messageFlow: false,
464
- association: true,
508
+ association: false,
465
509
  dataAssociation: false
466
510
  });
467
511
  }));
@@ -472,7 +516,7 @@ describe('features/modeling/rules - BpmnRules', function() {
472
516
  expectCanConnect('EventBasedGateway', 'IntermediateCatchEvent_Timer', {
473
517
  sequenceFlow: true,
474
518
  messageFlow: false,
475
- association: true,
519
+ association: false,
476
520
  dataAssociation: false
477
521
  });
478
522
  }));
@@ -483,7 +527,7 @@ describe('features/modeling/rules - BpmnRules', function() {
483
527
  expectCanConnect('EventBasedGateway', 'IntermediateCatchEvent', {
484
528
  sequenceFlow: false,
485
529
  messageFlow: false,
486
- association: true,
530
+ association: false,
487
531
  dataAssociation: false
488
532
  });
489
533
  }));
@@ -494,7 +538,7 @@ describe('features/modeling/rules - BpmnRules', function() {
494
538
  expectCanConnect('EventBasedGateway', 'IntermediateThrowEvent_Message', {
495
539
  sequenceFlow: false,
496
540
  messageFlow: false,
497
- association: true,
541
+ association: false,
498
542
  dataAssociation: false
499
543
  });
500
544
  }));
@@ -505,7 +549,7 @@ describe('features/modeling/rules - BpmnRules', function() {
505
549
  expectCanConnect('EventBasedGateway', 'ReceiveTask', {
506
550
  sequenceFlow: true,
507
551
  messageFlow: false,
508
- association: true,
552
+ association: false,
509
553
  dataAssociation: false
510
554
  });
511
555
  }));
@@ -516,7 +560,7 @@ describe('features/modeling/rules - BpmnRules', function() {
516
560
  expectCanConnect('EventBasedGateway', 'Task_None', {
517
561
  sequenceFlow: false,
518
562
  messageFlow: false,
519
- association: true,
563
+ association: false,
520
564
  dataAssociation: false
521
565
  });
522
566
  }));
@@ -527,7 +571,7 @@ describe('features/modeling/rules - BpmnRules', function() {
527
571
  expectCanConnect('EventBasedGateway', 'ParallelGateway', {
528
572
  sequenceFlow: false,
529
573
  messageFlow: false,
530
- association: true,
574
+ association: false,
531
575
  dataAssociation: false
532
576
  });
533
577
  }));
@@ -538,7 +582,7 @@ describe('features/modeling/rules - BpmnRules', function() {
538
582
  expectCanConnect('EventBasedGateway', 'ParallelGateway', {
539
583
  sequenceFlow: false,
540
584
  messageFlow: false,
541
- association: true,
585
+ association: false,
542
586
  dataAssociation: false
543
587
  });
544
588
  }));
@@ -558,7 +602,7 @@ describe('features/modeling/rules - BpmnRules', function() {
558
602
  expectCanConnect('CompensationBoundary', 'Task', {
559
603
  sequenceFlow: false,
560
604
  messageFlow: false,
561
- association: true,
605
+ association: false,
562
606
  dataAssociation: false
563
607
  });
564
608
  }));
@@ -581,7 +625,7 @@ describe('features/modeling/rules - BpmnRules', function() {
581
625
  expectCanConnect('CompensationBoundary', 'Gateway', {
582
626
  sequenceFlow: false,
583
627
  messageFlow: false,
584
- association: true,
628
+ association: false,
585
629
  dataAssociation: false
586
630
  });
587
631
 
@@ -593,7 +637,7 @@ describe('features/modeling/rules - BpmnRules', function() {
593
637
  expectCanConnect('CompensationBoundary', 'IntermediateEvent', {
594
638
  sequenceFlow: false,
595
639
  messageFlow: false,
596
- association: true,
640
+ association: false,
597
641
  dataAssociation: false
598
642
  });
599
643
 
@@ -605,7 +649,7 @@ describe('features/modeling/rules - BpmnRules', function() {
605
649
  expectCanConnect('Task', 'TaskForCompensation', {
606
650
  sequenceFlow: false,
607
651
  messageFlow: false,
608
- association: true,
652
+ association: false,
609
653
  dataAssociation: false
610
654
  });
611
655
 
@@ -617,7 +661,7 @@ describe('features/modeling/rules - BpmnRules', function() {
617
661
  expectCanConnect('TaskForCompensation', 'Task', {
618
662
  sequenceFlow: false,
619
663
  messageFlow: false,
620
- association: true,
664
+ association: false,
621
665
  dataAssociation: false
622
666
  });
623
667
 
@@ -638,7 +682,7 @@ describe('features/modeling/rules - BpmnRules', function() {
638
682
  expectCanConnect('StartEvent_None', 'IntermediateThrowEvent_Message', {
639
683
  sequenceFlow: true,
640
684
  messageFlow: false,
641
- association: true,
685
+ association: false,
642
686
  dataAssociation: false
643
687
  });
644
688
  }));
@@ -649,7 +693,7 @@ describe('features/modeling/rules - BpmnRules', function() {
649
693
  expectCanConnect('StartEvent_None', 'OtherParticipant', {
650
694
  sequenceFlow: false,
651
695
  messageFlow: false,
652
- association: true,
696
+ association: false,
653
697
  dataAssociation: false
654
698
  });
655
699
  }));
@@ -660,7 +704,7 @@ describe('features/modeling/rules - BpmnRules', function() {
660
704
  expectCanConnect('OtherParticipant', 'StartEvent_None', {
661
705
  sequenceFlow: false,
662
706
  messageFlow: true,
663
- association: true,
707
+ association: false,
664
708
  dataAssociation: false
665
709
  });
666
710
 
@@ -672,7 +716,7 @@ describe('features/modeling/rules - BpmnRules', function() {
672
716
  expectCanConnect('OtherParticipant', 'StartEvent_Timer', {
673
717
  sequenceFlow: false,
674
718
  messageFlow: false,
675
- association: true,
719
+ association: false,
676
720
  dataAssociation: false
677
721
  });
678
722
 
@@ -684,7 +728,7 @@ describe('features/modeling/rules - BpmnRules', function() {
684
728
  expectCanConnect('OtherParticipant', 'StartEvent_Message', {
685
729
  sequenceFlow: false,
686
730
  messageFlow: true,
687
- association: true,
731
+ association: false,
688
732
  dataAssociation: false
689
733
  });
690
734
 
@@ -696,7 +740,7 @@ describe('features/modeling/rules - BpmnRules', function() {
696
740
  expectCanConnect('EndEvent_None', 'OtherParticipant', {
697
741
  sequenceFlow: false,
698
742
  messageFlow: true,
699
- association: true,
743
+ association: false,
700
744
  dataAssociation: false
701
745
  });
702
746
  }));
@@ -707,7 +751,7 @@ describe('features/modeling/rules - BpmnRules', function() {
707
751
  expectCanConnect('EndEvent_Cancel', 'OtherParticipant', {
708
752
  sequenceFlow: false,
709
753
  messageFlow: false,
710
- association: true,
754
+ association: false,
711
755
  dataAssociation: false
712
756
  });
713
757
  }));
@@ -718,7 +762,7 @@ describe('features/modeling/rules - BpmnRules', function() {
718
762
  expectCanConnect('EndEvent_Message', 'OtherParticipant', {
719
763
  sequenceFlow: false,
720
764
  messageFlow: true,
721
- association: true,
765
+ association: false,
722
766
  dataAssociation: false
723
767
  });
724
768
  }));
@@ -729,7 +773,7 @@ describe('features/modeling/rules - BpmnRules', function() {
729
773
  expectCanConnect('OtherParticipant', 'EndEvent_None', {
730
774
  sequenceFlow: false,
731
775
  messageFlow: false,
732
- association: true,
776
+ association: false,
733
777
  dataAssociation: false
734
778
  });
735
779
  }));
@@ -740,7 +784,7 @@ describe('features/modeling/rules - BpmnRules', function() {
740
784
  expectCanConnect('IntermediateThrowEvent_Message', 'OtherParticipant', {
741
785
  sequenceFlow: false,
742
786
  messageFlow: true,
743
- association: true,
787
+ association: false,
744
788
  dataAssociation: false
745
789
  });
746
790
  }));
@@ -751,7 +795,7 @@ describe('features/modeling/rules - BpmnRules', function() {
751
795
  expectCanConnect('IntermediateThrowEvent_None', 'OtherParticipant', {
752
796
  sequenceFlow: false,
753
797
  messageFlow: true,
754
- association: true,
798
+ association: false,
755
799
  dataAssociation: false
756
800
  });
757
801
  }));
@@ -762,7 +806,7 @@ describe('features/modeling/rules - BpmnRules', function() {
762
806
  expectCanConnect('IntermediateThrowEvent_Signal', 'OtherParticipant', {
763
807
  sequenceFlow: false,
764
808
  messageFlow: false,
765
- association: true,
809
+ association: false,
766
810
  dataAssociation: false
767
811
  });
768
812
  }));
@@ -773,7 +817,7 @@ describe('features/modeling/rules - BpmnRules', function() {
773
817
  expectCanConnect('OtherParticipant', 'IntermediateThrowEvent_Message', {
774
818
  sequenceFlow: false,
775
819
  messageFlow: false,
776
- association: true,
820
+ association: false,
777
821
  dataAssociation: false
778
822
  });
779
823
  }));
@@ -784,7 +828,7 @@ describe('features/modeling/rules - BpmnRules', function() {
784
828
  expectCanConnect('Task_in_SubProcess', 'OtherParticipant', {
785
829
  sequenceFlow: false,
786
830
  messageFlow: true,
787
- association: true,
831
+ association: false,
788
832
  dataAssociation: false
789
833
  });
790
834
  }));
@@ -795,7 +839,7 @@ describe('features/modeling/rules - BpmnRules', function() {
795
839
  expectCanConnect('EndEvent_None_in_SubProcess', 'OtherParticipant', {
796
840
  sequenceFlow: false,
797
841
  messageFlow: true,
798
- association: true,
842
+ association: false,
799
843
  dataAssociation: false
800
844
  });
801
845
  }));
@@ -806,7 +850,7 @@ describe('features/modeling/rules - BpmnRules', function() {
806
850
  expectCanConnect('OtherParticipant', 'Task_in_SubProcess', {
807
851
  sequenceFlow: false,
808
852
  messageFlow: true,
809
- association: true,
853
+ association: false,
810
854
  dataAssociation: false
811
855
  });
812
856
  }));
@@ -817,7 +861,7 @@ describe('features/modeling/rules - BpmnRules', function() {
817
861
  expectCanConnect('Participant', 'OtherParticipant', {
818
862
  sequenceFlow: false,
819
863
  messageFlow: true,
820
- association: true,
864
+ association: false,
821
865
  dataAssociation: false
822
866
  });
823
867
  }));