public final class VaadinScopes extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
setUp()
Sets up
VaadinSessionScope, UIScopeImpl and ViewScopeImpl to work as expected
during the test. |
static void |
tearDown()
Tears down
VaadinSessionScope, UIScopeImpl and ViewScopeImpl, causing all scoped beans to be destroyed. |
public static void setUp()
VaadinSessionScope, UIScopeImpl and ViewScopeImpl to work as expected
during the test. Please note, that both UI.getCurrent() and VaadinSession.getCurrent() will
return null.public static void tearDown()
VaadinSessionScope, UIScopeImpl and ViewScopeImpl, causing all scoped beans to be destroyed.Copyright © 2016. All rights reserved.