Home
last modified time | relevance | path

Searched refs:setQualifiers (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DConfigTest.java120 Config config = new Config.Builder().setQualifiers("w100dp").build(); in shouldAppendQualifiersStartingWithPlus()
121 config = overlay(config, new Config.Builder().setQualifiers("w101dp").build()); in shouldAppendQualifiersStartingWithPlus()
124 config = overlay(config, new Config.Builder().setQualifiers("+w102dp").build()); in shouldAppendQualifiersStartingWithPlus()
125 config = overlay(config, new Config.Builder().setQualifiers("+w103dp").build()); in shouldAppendQualifiersStartingWithPlus()
128 config = overlay(config, new Config.Builder().setQualifiers("+w104dp").build()); in shouldAppendQualifiersStartingWithPlus()
129 config = overlay(config, new Config.Builder().setQualifiers("w105dp").build()); in shouldAppendQualifiersStartingWithPlus()
DQualifiersTest.java119 RuntimeEnvironment.setQualifiers("port"); in setQualifiers_updatesSystemAndAppResources()
128 RuntimeEnvironment.setQualifiers("v" + RuntimeEnvironment.getApiLevel()); in setQualifiers_allowsSameSdkVersion()
134 RuntimeEnvironment.setQualifiers("v13"); in setQualifiers_disallowsOtherSdkVersions()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
DParallelUniverseTest.java118 bootstrapWrapper.config = new Config.Builder().setQualifiers(givenQualifiers).build(); in setUpApplicationState_setsVersionQualifierFromSdkConfig()
126 bootstrapWrapper.config = new Config.Builder().setQualifiers(givenQualifiers).build(); in setUpApplicationState_setsVersionQualifierFromSdkConfigWithOtherQualifiers()
218 RuntimeEnvironment.setQualifiers("land"); in whenNotPrefixedWithPlus_setQualifiers_shouldNotBeBasedOnPreviousConfig()
226 RuntimeEnvironment.setQualifiers("+xlarge"); in whenDimensAndSizeSpecified_setQualifiers_should()
236 RuntimeEnvironment.setQualifiers("+w124dp"); in whenPrefixedWithPlus_setQualifiers_shouldBeBasedOnPreviousConfig()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/
DRuntimeEnvironment.java121 public static void setQualifiers(String newQualifiers) { in setQualifiers() method in RuntimeEnvironment
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/
DResourceLoaderTest.java81 RuntimeEnvironment.setQualifiers("fr-land"); // testing if this pollutes the other test in checkForPollutionHelper()
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/
DConfig.java418 public Builder setQualifiers(String qualifiers) { in setQualifiers() method in Config.Builder
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/controller/
DActivityControllerTest.java273 RuntimeEnvironment.setQualifiers("port"); in noArgsConfigurationChange_appliesChangedSystemConfiguration()