Class MultiSegmentChildDmrsSWTRenderer_PTest
- java.lang.Object
-
- org.eclipse.emfforms.internal.view.multisegment.tooling.MultiSegmentChildDmrsSWTRenderer_PTest
-
public class MultiSegmentChildDmrsSWTRenderer_PTest extends java.lang.ObjectTests forMultiSegmentChildDmrsSWTRenderer.- Author:
- Lucas Koehler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMultiSegmentChildDmrsSWTRenderer_PTest.TestObservableValueHelper Interface for mocking.
-
Constructor Summary
Constructors Constructor Description MultiSegmentChildDmrsSWTRenderer_PTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddnd()Tests drag and drop to move dmrs in the table.voiddomainChange()First renders for a table control with an empty dmr.voidrender()Tests that the table and buttons are rendererd correctly and that removing a dmr from the table works.voidsetUp()voidsort()Tests the 'Sort' button It's supposed to actually sort the DMRs in the multi segment.voidtearDown()
-
-
-
Method Detail
-
setUp
public void setUp() throws DatabindingFailedException, NoLabelFoundException
-
tearDown
public void tearDown()
-
render
public void render() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeptionTests that the table and buttons are rendererd correctly and that removing a dmr from the table works.
-
domainChange
public void domainChange() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeptionFirst 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, NoPropertyDescriptorFoundExeptionTests the 'Sort' button It's supposed to actually sort the DMRs in the multi segment.
-
dnd
public void dnd() throws DatabindingFailedException, NoRendererFoundException, NoPropertyDescriptorFoundExeptionTests drag and drop to move dmrs in the table.
-
-