@Override
 public void beforeTest(Method method) {
   Robolectric.bindShadowClass(TestShadowProgressBar.class);
   // Robolectric.bindShadowClass(RemoteImageLoaderShadow.class);
 }
示例#2
0
 public static void bindShadowClasses(List<Class<?>> shadowClasses) {
   for (Class<?> shadowClass : shadowClasses) {
     bindShadowClass(shadowClass);
   }
 }
 @Override
 protected void bindShadowClasses() {
   Robolectric.bindShadowClass(ShadowBase64.class);
 }