Package org.robolectric.android
Class AndroidSdkShadowMatcher
- java.lang.Object
-
- org.robolectric.android.AndroidSdkShadowMatcher
-
- All Implemented Interfaces:
ShadowMatcher
public class AndroidSdkShadowMatcher extends Object implements ShadowMatcher
Android-specific rules for matching shadow classes and methods by SDK level.
-
-
Field Summary
-
Fields inherited from interface org.robolectric.sandbox.ShadowMatcher
MATCH_ALL
-
-
Constructor Summary
Constructors Constructor Description AndroidSdkShadowMatcher(int sdkLevel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
matches(Method method)
boolean
matches(ShadowInfo shadowInfo)
-
-
-
Method Detail
-
matches
public boolean matches(ShadowInfo shadowInfo)
- Specified by:
matches
in interfaceShadowMatcher
-
matches
public boolean matches(Method method)
- Specified by:
matches
in interfaceShadowMatcher
-
-