public class PlotGridCompositeTester extends AbstractSWTTester
PlotGridComposite
's UI features.IPlot
's
new usage of ISeries
.Constructor and Description |
---|
PlotGridCompositeTester() |
Modifier and Type | Method and Description |
---|---|
void |
afterAllTests()
This method is called after all tests are run.
|
void |
afterEachTest()
This method is called after each test is run.
|
void |
beforeAllTests()
This method is called before all tests are run.
|
void |
beforeEachTest()
This method is called before each test is run.
|
void |
checkAddPlot()
Checks that the
PlotGridComposite#addPlot(IPlot) method works for
valid plots and only returns -1 when it is full. |
void |
checkAddPlotFailures()
Checks that exceptions are properly handled by
PlotGridComposite#addPlot(IPlot) . |
void |
checkClearPlots()
Checks that the
PlotGridComposite#clearPlots() method works. |
void |
checkClearPlotsButton()
Checks that the "Clear" button in the ToolBar works.
|
void |
checkCloseButton()
Checks that the close button works when the mouse hovers over a plot.
|
void |
checkContextMenu()
Checks that the default context menu is provided and includes the
following:
Remove - Removes the drawn plot.
Set Plot Type - Contains sub-menus for the plot categories and types.
|
void |
checkRemovePlot()
Checks that the
PlotGridComposite.removePlot(int) method works
for valid indices. |
void |
checkRemovePlots()
Checks that the
PlotGridComposite#removePlots(IPlot) method
properly removes all children associated with the specified plot. |
void |
checkToolBar()
Checks that the ToolBar properly contains these widgets:
The "Rows:" label.
The rows spinner.
The "Columns:" label.
The columns spinner.
The "Clear" button (no restriction on where it is located).
|
void |
checkTrimmingPlots()
Checks that drawn plots are removed when the dimensions of the grid are
too small to display existing plots.
|
afterClass, beforeClass
assertContains, assertDoesNotContain, assertEnabled, assertMatchesRegex, assertMatchesRegex, assertMatchesRegex, assertNotEnabled, assertNotSameWidget, assertNotSameWidget, assertNotVisible, assertSameWidget, assertSameWidget, assertText, assertText, assertTextContains, assertTextContains, assertTextDoesNotContain, assertTextDoesNotContain, assertVisible, captureScreenshot, pass, runBare
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, countTestCases, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, setName, toString
public void beforeAllTests()
AbstractICEUITester
When overriding, be sure to call super.beforeAllTests()
at the
***BEGINNING OF YOUR METHOD***!
beforeAllTests
in class AbstractSWTTester
public void beforeEachTest()
AbstractICEUITester
When overriding, be sure to call super.beforeEachTest()
at the
***BEGINNING OF YOUR METHOD***!
beforeEachTest
in class AbstractSWTTester
public void afterEachTest()
AbstractICEUITester
When overriding, be sure to call super.afterEachTest()
at the
***END OF YOUR METHOD***!
afterEachTest
in class AbstractSWTTester
public void afterAllTests()
AbstractICEUITester
When overriding, be sure to call super.afterAllTests()
at the
***END OF YOUR METHOD***!
afterAllTests
in class AbstractSWTTester
public void checkToolBar()
public void checkAddPlot()
PlotGridComposite#addPlot(IPlot)
method works for
valid plots and only returns -1 when it is full.public void checkAddPlotFailures()
PlotGridComposite#addPlot(IPlot)
.public void checkRemovePlot()
PlotGridComposite.removePlot(int)
method works
for valid indices.public void checkRemovePlots()
PlotGridComposite#removePlots(IPlot)
method
properly removes all children associated with the specified plot.public void checkClearPlots()
PlotGridComposite#clearPlots()
method works.public void checkClearPlotsButton()
public void checkTrimmingPlots()
public void checkContextMenu()
public void checkCloseButton()