Search in sources :

Example 1 with PersistableFixture

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

the class AbstractLayerTest method persistablesAreSaved.

@Test
public void persistablesAreSaved() throws Exception {
    PersistableFixture persistable = new PersistableFixture();
    PropertiesFixture properties = new PropertiesFixture();
    this.dataLayer.registerPersistable(persistable);
    this.dataLayer.saveState("test_prefix", properties);
    Assert.assertTrue(persistable.stateSaved);
}
Also used : PropertiesFixture(org.eclipse.nebula.widgets.nattable.test.fixture.PropertiesFixture) PersistableFixture(org.eclipse.nebula.widgets.nattable.test.fixture.PersistableFixture) Test(org.junit.Test)

Aggregations

PersistableFixture (org.eclipse.nebula.widgets.nattable.test.fixture.PersistableFixture)1 PropertiesFixture (org.eclipse.nebula.widgets.nattable.test.fixture.PropertiesFixture)1 Test (org.junit.Test)1