Java 类org.robolectric.shadows.ShadowViewGroup 实例源码

项目:FullRobolectricTestSample    文件:RobolectricTestRunnerTest.java   
@Test public void shouldLoadDefaultsFromPropertiesFile() throws Exception {
  Properties properties = properties(
      "emulateSdk: 432\n" +
          "manifest: --none\n" +
          "qualifiers: from-properties-file\n" +
          "resourceDir: from/properties/file/res\n" +
          "reportSdk: 234\n" +
          "shadows: org.robolectric.shadows.ShadowView, org.robolectric.shadows.ShadowViewGroup\n");
  assertConfig(configFor(Test2.class, "withoutAnnotation", properties),
      432, "--none", "from-properties-file", "from/properties/file/res", 234, new Class[] {ShadowView.class, ShadowViewGroup.class});
}
项目:FullRobolectricTestSample    文件:Robolectric.java   
public static ShadowViewGroup shadowOf(ViewGroup instance) {
  return (ShadowViewGroup) shadowOf_(instance);
}