Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364832

Summary: [Sequence Diagram] - Tests
Product: [Modeling] Papyrus Reporter: Chokri Mraidha <Chokri.Mraidha>
Component: CoreAssignee: Chokri Mraidha <Chokri.Mraidha>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: vincent.lorenzo, yves.yang
Version: 0.9.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 386488    
Bug Blocks:    
Attachments:
Description Flags
Patch to fix some issues for testing
vincent.lorenzo: iplog+
Plugin of tests of sequence diagram
vincent.lorenzo: iplog+
Documentation of tests
vincent.lorenzo: iplog+
Reformat source code
vincent.lorenzo: iplog+
Add a launcher
none
testcase for new bugs fixed between July and August
none
0.9.1 testcases
none
Update for the tests for 0.9.2
none
Update for the tests for 0.9.2 none

Description Chokri Mraidha CLA 2011-11-25 07:50:58 EST
Unitary tests should be written for all the functionnalities of the sequence diagram.
Comment 1 Yves YANG CLA 2011-12-03 02:50:30 EST
I wonder how to write a unity test with GMT part.
Comment 2 Yves YANG CLA 2012-06-08 11:44:40 EDT
Created attachment 217079 [details]
Patch to fix some issues for testing
Comment 3 Yves YANG CLA 2012-06-08 11:45:29 EDT
Created attachment 217080 [details]
Plugin of tests of sequence diagram
Comment 4 Yves YANG CLA 2012-06-08 11:45:58 EDT
Created attachment 217081 [details]
Documentation of tests
Comment 5 Vincent Lorenzo CLA 2012-06-12 05:39:51 EDT
Comment on attachment 217079 [details]
Patch to fix some issues for testing

Commited in R8109
Comment 6 Vincent Lorenzo CLA 2012-06-12 09:11:36 EDT
Comment on attachment 217080 [details]
Plugin of tests of sequence diagram

Commited in R8260, but with some modifications : 
  - correcting the plugin version : 1.0.0->0.9.0
  - completing the Provider Name
  - completing the plugin name and add the mandatory text : Incubation
  - externalizing the String of the Manifest
  - changing java version 1.6 -> 1.5
  - adding the file about.html
  
 Please, could you provide us a new patch which : 
  - adds headers to the file
  - formats the source code with the Papyrus templates (code and formatted) available on the SVN : trunk/doc/DevelopperDocuments/templates
  - externalize all the string of the source code
  
 Thank you. 
 
 Vincent Lorenzo
Comment 7 Yves YANG CLA 2012-06-13 17:12:44 EDT
Created attachment 217320 [details]
Reformat source code

This patch formats the source code and extract some strings from code. The file headers looks fine, there are copyright statements at the beginning of files.
Comment 8 Vincent Lorenzo CLA 2012-06-14 06:02:34 EDT
Comment on attachment 217081 [details]
Documentation of tests

R8326 : commited in org.eclipse.papyrus.uml.diagram.sequence.tests
Comment 9 Vincent Lorenzo CLA 2012-06-14 06:10:01 EDT
Comment on attachment 217320 [details]
Reformat source code

R8327 : commit this patch.
Comment 10 Vincent Lorenzo CLA 2012-08-01 09:25:26 EDT
Hi, we get a null pointer when we try to execute the JUnit tests. 
Please could you add a launch file to the JUnit tests plugin in order to be sure
that we execute the tests with the same config. Thank you
Comment 11 Vincent Lorenzo CLA 2012-08-01 09:26:10 EDT
R8690 : Change the Java version to use in the classpath (1.6 -> 1.5)
Comment 12 Yves YANG CLA 2012-08-02 04:33:55 EDT
Created attachment 219468 [details]
Add a launcher

Need to set the VM options:
-Xms40m -Xmx600m -XX:PermSize=128m
Comment 13 Vincent Lorenzo CLA 2012-08-02 05:12:05 EDT
Comment on attachment 219468 [details]
Add a launcher

Committed in R8702
Comment 14 Yves YANG CLA 2012-09-14 05:45:57 EDT
Created attachment 221075 [details]
testcase for new bugs fixed between July and August
Comment 15 Chokri Mraidha CLA 2012-09-21 05:52:56 EDT
(In reply to comment #14)
> Created attachment 221075 [details]
> testcase for new bugs fixed between July and August

The patch is not applicable.
Comment 16 Chuwei Huang CLA 2012-09-21 23:05:10 EDT
Created attachment 221369 [details]
0.9.1 testcases

tests for 0.9.1
Comment 17 Chokri Mraidha CLA 2012-09-24 11:33:51 EDT
Patch committed.
Comment 18 Yves YANG CLA 2013-03-05 07:37:04 EST
Created attachment 227931 [details]
Update for the tests for 0.9.2
Comment 19 Yves YANG CLA 2013-03-07 10:30:29 EST
Created attachment 228074 [details]
Update for the tests for 0.9.2

There are two more corrections in this patch:
  1. Fix the bugs of tests for sync message creation
  2. Disable the creation of ConbinedFragement since the deletion becomes interactive. Impossible to do it batch.
Comment 20 Camille Letavernier CLA 2013-03-20 05:18:58 EDT
r10615 (Branches/0.9.X):

Patch has been applied. All tests are green
Comment 21 Camille Letavernier CLA 2013-08-06 09:26:18 EDT
Fixed