Class MultiSegmentChildDmrsSWTRenderer_PTest
- java.lang.Object
-
- org.eclipse.emfforms.internal.view.multisegment.tooling.MultiSegmentChildDmrsSWTRenderer_PTest
-
public class MultiSegmentChildDmrsSWTRenderer_PTest extends java.lang.Object
Tests forMultiSegmentChildDmrsSWTRenderer
.- Author:
- Lucas Koehler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
MultiSegmentChildDmrsSWTRenderer_PTest.TestObservableValue
Helper Interface for mocking.
-
Constructor Summary
Constructors Constructor Description MultiSegmentChildDmrsSWTRenderer_PTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dnd()
Tests drag and drop to move dmrs in the table.void
domainChange()
First renders for a table control with an empty dmr.void
render()
Tests that the table and buttons are rendererd correctly and that removing a dmr from the table works.void
setUp()
void
sort()
Tests the 'Sort' button It's supposed to actually sort the DMRs in the multi segment.void
tearDown()
-
-
-
Method Detail
-
setUp
public void setUp() throws DatabindingFailedException, NoLabelFoundException
-
tearDown
public void tearDown()
-
render
public void render() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
Tests that the table and buttons are rendererd correctly and that removing a dmr from the table works.
-
domainChange
public void domainChange() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
First renders for a table control with an empty dmr. Then replaces the dmr with one that has a multi segment with a child dmr and checks that the table is updated correctly.
-
sort
public void sort() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
Tests the 'Sort' button It's supposed to actually sort the DMRs in the multi segment.
-
dnd
public void dnd() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeption
Tests drag and drop to move dmrs in the table.
-
-