public abstract class WComponentTestCase extends Object
| Constructor and Description |
|---|
WComponentTestCase(WComponent ui)
Creates a WComponentTestCase.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getTheme()
Returns the version of the Theme and Skin to run the tests under.
|
WComponent |
getUi() |
protected UIContext |
getUIContext()
This returns the top-level context to be used during testing.
|
WApplication |
getWrappedUi() |
protected void |
resetUIContext()
Replaces the UIContext with a new copy, to emulate a fresh session.
|
public WComponentTestCase(WComponent ui)
ui - the UI to test.protected String getTheme()
protected UIContext getUIContext()
protected void resetUIContext()
public WComponent getUi()
public WApplication getWrappedUi()
Copyright © 2016. All rights reserved.