@GwtIncompatible
public final class ReactTestUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
checkInvariants()
Set the `react4j.check_invariants` setting to
true . |
static void |
disableViewNames()
Set the `react4j.enable_view_names` setting to
false . |
static void |
enableViewNames()
Set the `react4j.enable_view_names` setting to
true . |
static void |
freezeInputs()
Set the `react4j.freeze_inputs` setting to
true . |
static void |
minimizeInputKeys()
Set the `react4j.minimize_input_keys` setting to
true . |
static void |
noCheckInvariants()
Set the `react4j.check_invariants` setting to
false . |
static void |
noFreezeInputs()
Set the `react4j.freeze_inputs` setting to
false . |
static void |
noMinimizeInputKeys()
Set the `react4j.minimize_input_keys` setting to
false . |
static void |
noStoreDebugDataAsState()
Set the `react4j.store_debug_data_as_state` setting to
false . |
static void |
noValidateInputValues()
Set the `react4j.validate_input_values` setting to
false . |
static void |
resetConfig(boolean productionMode)
Reset the state of React config to either production or development state.
|
static void |
setViewEnableNames(boolean setting)
Configure the `react4j.enable_view_names` setting.
|
static void |
storeDebugDataAsState()
Set the `react4j.store_debug_data_as_state` setting to
true . |
static void |
validateInputValues()
Set the `react4j.validate_input_values` setting to
true . |
public static void resetConfig(boolean productionMode)
productionMode
- true to set it to production mode configuration, false to set it to development mode config.public static void enableViewNames()
true
.public static void disableViewNames()
false
.public static void setViewEnableNames(boolean setting)
setting
- the setting.public static void minimizeInputKeys()
true
.public static void noMinimizeInputKeys()
false
.public static void validateInputValues()
true
.public static void noValidateInputValues()
false
.public static void storeDebugDataAsState()
true
.public static void noStoreDebugDataAsState()
false
.public static void freezeInputs()
true
.public static void noFreezeInputs()
false
.public static void checkInvariants()
true
.public static void noCheckInvariants()
false
.