public @interface EmulatorResponse
EmulatorCheck
,
Specifying Sources and
ActionsModifier and Type | Required Element and Description |
---|---|
java.lang.String |
source
The source that indicates the device running this application is an emulator.
|
Modifier and Type | Optional Element and Description |
---|---|
float |
probability
The probability that the response (exit, hang, etc) will take place.
|
ResponseType |
response
The response to be taken when the check is triggered.
|
InjectionPoint |
where
The location in the method where injection will take place.
|
public abstract java.lang.String source
boolean
, with true
indicating an emulator.public abstract ResponseType response
ResponseType.None
,
ResponseType.Exit
,
ResponseType.Hang
,
ResponseType.Error
,
ResponseType.Exception
public abstract float probability
true
. Expecting a decimal percentage between 0.0 and 1.0.public abstract InjectionPoint where
Copyright 2019 PreEmptive Solutions, LLC. All Rights Reserved.