Home
last modified time | relevance | path

Searched refs:newConfig (Results 1 – 9 of 9) sorted by relevance

/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/
DApplicationResolverTest.java11 import static com.xtremelabs.robolectric.util.TestUtil.newConfig;
20 … new ApplicationResolver(newConfig("TestAndroidManifestWithBadAppName.xml")).resolveApplication(); in shouldThrowWhenManifestContainsBadApplicationClassName()
26 … new ApplicationResolver(newConfig("TestAndroidManifest.xml")).resolveApplication().getClass()); in shouldReturnDefaultAndroidApplicationWhenManifestDeclaresNoAppName()
32 …new ApplicationResolver(newConfig("TestAndroidManifestWithAppName.xml")).resolveApplication().getC… in shouldReturnSpecifiedApplicationWhenManifestDeclaresAppName()
37 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithPackageName.xm… in shouldAssignThePackageNameFromTheManifest()
43 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithAppName.xml"))… in shouldAssignTheApplicationNameFromTheManifest()
49 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithReceivers.xml"… in shouldRegisterReceiversFromTheManifest()
DRobolectricConfigTest.java11 import static com.xtremelabs.robolectric.util.TestUtil.newConfig;
19 RobolectricConfig config = newConfig("TestAndroidManifestWithReceivers.xml"); in shouldReadBroadcastReceivers()
47 assertEquals(42, newConfig("TestAndroidManifestWithSdkVersion.xml").getSdkVersion()); in shouldReadSdkVersionFromAndroidManifest()
48 assertEquals(3, newConfig("TestAndroidManifestWithSdkVersion.xml").getMinSdkVersion()); in shouldReadSdkVersionFromAndroidManifest()
53 … assertEquals(3, newConfig("TestAndroidManifestWithMinSdkVersionOnly.xml").getRealSdkVersion()); in shouldRessolveSdkVersionForResources()
54 assertEquals(42, newConfig("TestAndroidManifestWithSdkVersion.xml").getRealSdkVersion()); in shouldRessolveSdkVersionForResources()
59 …assertEquals("robolectricprocess", newConfig("TestAndroidManifestWithProcess.xml").getProcessName(… in shouldReadProcessFromAndroidManifest()
64 …assertEquals("com.xtremelabs.robolectric", newConfig("TestAndroidManifestWithNoProcess.xml").getPr… in shouldReturnPackageNameWhenNoProcessIsSpecifiedInTheManifest()
69 RobolectricConfig config = newConfig("TestAndroidManifestWithFlags.xml"); in shouldReadFlagsFromAndroidManifest()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
DPerformanceResults.java227 StringBuffer newConfig = null; in getConfigurationsPattern() local
232 if (newConfig == null) { in getConfigurationsPattern()
233 newConfig = new StringBuffer(refLength); in getConfigurationsPattern()
235 newConfig.append(this.configPattern.substring(0, j)); in getConfigurationsPattern()
237 newConfig.append('_'); in getConfigurationsPattern()
238 } else if (newConfig != null) { in getConfigurationsPattern()
239 newConfig.append(c); in getConfigurationsPattern()
242 if (newConfig != null) { in getConfigurationsPattern()
243 this.configPattern = newConfig.toString(); in getConfigurationsPattern()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/util/
DColorsActivity.java250 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
251 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
252 if (newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE) { in onConfigurationChanged()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java895 public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument
896 super.onConfigurationChanged(newConfig); in onConfigurationChanged()
900 getRequestedOrientation(), newConfig.orientation)); in onConfigurationChanged()
903 …&& (newConfig.orientation != Configuration.ORIENTATION_LANDSCAPE && getRequestedOrientation() == A… in onConfigurationChanged()
904 …|| (newConfig.orientation != Configuration.ORIENTATION_PORTRAIT && getRequestedOrientation() == Ac… in onConfigurationChanged()
911 … .setHardKeyboardHidden(newConfig.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_YES); in onConfigurationChanged()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DApplicationTest.java30 import static com.xtremelabs.robolectric.util.TestUtil.newConfig;
100 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithPackageName.xm… in packageManager_shouldKnowPackageName()
106 …Application application = new ApplicationResolver(newConfig("TestAndroidManifestWithAppName.xml"))… in packageManager_shouldKnowApplicationName()
DActivityTest.java32 import static com.xtremelabs.robolectric.util.TestUtil.newConfig;
163 …Robolectric.application = new ApplicationResolver(newConfig("TestAndroidManifestWithPackageName.xm… in shouldRetrievePackageNameFromTheManifest()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/util/
DTestUtil.java76 public static RobolectricConfig newConfig(String androidManifestFile) { in newConfig() method in TestUtil
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/
DTestWindow.java110 @Override public void onConfigurationChanged(Configuration newConfig) { in onConfigurationChanged() argument