use of org.eclipse.scout.rt.testing.client.runner.RunWithClientSession in project scout.rt by eclipse.
the class AbstractDesktopTest method testClosingDoBeforeClosingInternal.
/**
* {@link AbstractDesktop#doBeforeClosingInternal()}
*/
@Test
// ensures that this test runs with its own clean desktop
@RunWithClientSession(value = TestEnvironmentClientSession.class, provider = ClientSessionProvider.class)
public void testClosingDoBeforeClosingInternal() {
TestEnvironmentDesktop desktop = (TestEnvironmentDesktop) IDesktop.CURRENT.get();
boolean closing = desktop.doBeforeClosingInternal();
assertTrue(closing);
}
Aggregations