|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.view.table.ui.swt.test.SWTTableDatabindingLabel_PTest
public class SWTTableDatabindingLabel_PTest
JUnit tests for TableControlSWTRenderer
testing the data binding of the table.
Constructor Summary | |
---|---|
SWTTableDatabindingLabel_PTest()
|
Method Summary | |
---|---|
void |
setUp()
Set up executed before every test. |
void |
testDatabindingServiceUsageAddToModel()
Tests the binding from the model to the table for the addition of a new element to the model. |
void |
testDatabindingServiceUsageChangeModel()
Tests the binding from the model to the table for the change of an element of the model. |
void |
testDatabindingServiceUsageInitialBinding()
Tests the initial binding from the model to the table. |
void |
testDatabindingServiceUsageRemoveFromModel()
Tests the binding from the model to the table for the removal of a element from the model . |
void |
testLabelServiceUsage()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SWTTableDatabindingLabel_PTest()
Method Detail |
---|
public void setUp() throws DatabindingFailedException, NoLabelFoundException
TableControlSWTRenderer
to be tested. Mocks needed parameters and contents (e.g.
VControl, ViewModelContext).
DatabindingFailedException
NoLabelFoundException
public void testLabelServiceUsage() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
NoRendererFoundException
NoPropertyDescriptorFoundExeption
DatabindingFailedException
public void testDatabindingServiceUsageInitialBinding() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
NoRendererFoundException
- Renderer could not be found
NoPropertyDescriptorFoundExeption
- Property descriptor could not be found
DatabindingFailedException
- if the databinidng failedpublic void testDatabindingServiceUsageAddToModel() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
NoRendererFoundException
- Renderer could not be found
NoPropertyDescriptorFoundExeption
- Property descriptor could not be found
DatabindingFailedException
- if the databinidng failedpublic void testDatabindingServiceUsageRemoveFromModel() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
NoRendererFoundException
- Renderer could not be found
NoPropertyDescriptorFoundExeption
- Property descriptor could not be found
DatabindingFailedException
- if the databinidng failedpublic void testDatabindingServiceUsageChangeModel() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
NoRendererFoundException
- Renderer could not be found
NoPropertyDescriptorFoundExeption
- Property descriptor could not be found
DatabindingFailedException
- if the databinidng failed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |