• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.robolectric.shadows;
2 
3 import android.view.ContextThemeWrapper;
4 import org.robolectric.annotation.Implements;
5 import org.robolectric.annotation.RealObject;
6 import org.robolectric.util.ReflectionHelpers;
7 
8 @SuppressWarnings({"UnusedDeclaration"})
9 @Implements(ContextThemeWrapper.class)
10 public class ShadowContextThemeWrapper extends ShadowContextWrapper {
11   @RealObject private ContextThemeWrapper realContextThemeWrapper;
12 
callGetThemeResId()13   public Integer callGetThemeResId() {
14     return ReflectionHelpers.callInstanceMethod(realContextThemeWrapper, "getThemeResId");
15   }
16 }
17