public class SWTTableDatabindingLabel_PTest extends Object
TableControlSWTRenderer
testing the data binding of the table.Constructor and Description |
---|
SWTTableDatabindingLabel_PTest() |
Modifier and Type | Method and Description |
---|---|
void |
setUp()
Set up executed before every test.
|
void |
testCreateLabelStyleBits() |
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() |
public void setUp() throws DatabindingFailedException, NoLabelFoundException
TableControlSWTRenderer
to be tested. Mocks needed parameters and contents (e.g.
VControl, ViewModelContext).public void testLabelServiceUsage() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
public void testDatabindingServiceUsageInitialBinding() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
NoRendererFoundException
- Renderer could not be foundNoPropertyDescriptorFoundExeption
- Property descriptor could not be foundDatabindingFailedException
- if the databinidng failedpublic void testDatabindingServiceUsageAddToModel() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
NoRendererFoundException
- Renderer could not be foundNoPropertyDescriptorFoundExeption
- Property descriptor could not be foundDatabindingFailedException
- if the databinidng failedpublic void testDatabindingServiceUsageRemoveFromModel() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
NoRendererFoundException
- Renderer could not be foundNoPropertyDescriptorFoundExeption
- Property descriptor could not be foundDatabindingFailedException
- if the databinidng failedpublic void testDatabindingServiceUsageChangeModel() throws NoRendererFoundException, NoPropertyDescriptorFoundExeption, DatabindingFailedException
NoRendererFoundException
- Renderer could not be foundNoPropertyDescriptorFoundExeption
- Property descriptor could not be foundDatabindingFailedException
- if the databinidng failedpublic void testCreateLabelStyleBits()
Copyright © 2018. All rights reserved.