Search in sources :

Example 6 with LayerCommandFixture

use of org.eclipse.nebula.widgets.nattable.test.fixture.command.LayerCommandFixture in project nebula.widgets.nattable by eclipse.

the class RowReorderLayerTest method commandPassedOnToParentIfCannotBeHandled.

@Test
public void commandPassedOnToParentIfCannotBeHandled() throws Exception {
    RowReorderLayer reorderLayer = new RowReorderLayer(new DataLayerFixture());
    assertFalse(reorderLayer.doCommand(new LayerCommandFixture()));
}
Also used : LayerCommandFixture(org.eclipse.nebula.widgets.nattable.test.fixture.command.LayerCommandFixture) DataLayerFixture(org.eclipse.nebula.widgets.nattable.test.fixture.layer.DataLayerFixture) BaseDataLayerFixture(org.eclipse.nebula.widgets.nattable.test.fixture.layer.BaseDataLayerFixture) Test(org.junit.Test)

Aggregations

LayerCommandFixture (org.eclipse.nebula.widgets.nattable.test.fixture.command.LayerCommandFixture)6 Test (org.junit.Test)6 DataLayerFixture (org.eclipse.nebula.widgets.nattable.test.fixture.layer.DataLayerFixture)3 ILayerCommand (org.eclipse.nebula.widgets.nattable.command.ILayerCommand)2 BaseDataLayerFixture (org.eclipse.nebula.widgets.nattable.test.fixture.layer.BaseDataLayerFixture)2 CommandHandlerFixture (org.eclipse.nebula.widgets.nattable.test.fixture.command.CommandHandlerFixture)1