Bug 431647

Summary: Refactor AbstractSiriusSwtBotGefTestCase.openRepresentation methods that are not really generic
Product: [Modeling] Sirius Reporter: Laurent Redor <laurent.redor>
Component: CoreAssignee: Project inbox <sirius.core-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: florian.barbin, pierre-charles.david
Version: 1.0.0M6Keywords: triaged
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Laurent Redor CLA 2014-03-31 11:04:15 EDT
The methods 
* org.eclipse.sirius.tests.swtbot.support.api.AbstractSiriusSwtBotGefTestCase.openRepresentation(Session, String, String, Class<? extends DRepresentation>)
*  org.eclipse.sirius.tests.swtbot.support.api.AbstractSiriusSwtBotGefTestCase.openRepresentation(Session, String, String, Class<? extends DRepresentation>, boolean)
return SWTBotDesignorEditor. 
This return type is not well named, SWTBotSiriusDiagramEditor  is more appropriate. Indeed the openRepresentation methods are currently not generic, contrary to what their name might suggest.

The goal of this issue is to clean these methods and make the role of these methods clearer.