@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}); }
public static ShadowViewGroup shadowOf(ViewGroup instance) { return (ShadowViewGroup) shadowOf_(instance); }