Home
last modified time | relevance | path

Searched refs:manifestIdentifier (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DManifestFactoryTest.java43 ManifestIdentifier manifestIdentifier = manifestFactory.identify(config); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() local
44 assertThat(manifestIdentifier.getManifestFile()) in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
46 assertThat(manifestIdentifier.getResDir()) in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
48 assertThat(manifestIdentifier.getAssetDir()) in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
50 assertThat(manifestIdentifier.getLibraries()).isEmpty(); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
51 assertThat(manifestIdentifier.getPackageName()).isNull(); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
54 .createAndroidManifest(manifestIdentifier); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory()
90 ManifestIdentifier manifestIdentifier = manifestFactory.identify(config); in whenConfigSpecified_overridesValuesFromFile() local
91 assertThat(manifestIdentifier.getManifestFile()) in whenConfigSpecified_overridesValuesFromFile()
93 assertThat(manifestIdentifier.getResDir()) in whenConfigSpecified_overridesValuesFromFile()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/
DMavenManifestFactoryTest.java26 ManifestIdentifier manifestIdentifier = myMavenManifestFactory.identify(configBuilder.build()); in identify() local
27 assertThat(manifestIdentifier.getManifestFile()) in identify()
29 assertThat(manifestIdentifier.getResDir()) in identify()
36 ManifestIdentifier manifestIdentifier = myMavenManifestFactory.identify(configBuilder.build()); in withDotSlashManifest_identify() local
37 assertThat(manifestIdentifier.getManifestFile()) in withDotSlashManifest_identify()
39 assertThat(manifestIdentifier.getResDir()) in withDotSlashManifest_identify()
46 ManifestIdentifier manifestIdentifier = myMavenManifestFactory.identify(configBuilder.build()); in withDotDotSlashManifest_identify() local
47 assertThat(manifestIdentifier.getManifestFile()) in withDotDotSlashManifest_identify()
49 assertThat(manifestIdentifier.getResDir()) in withDotDotSlashManifest_identify()
DBuckManifestFactoryTest.java46 ManifestIdentifier manifestIdentifier = buckManifestFactory.identify(configBuilder.build()); in identify() local
47 assertThat(manifestIdentifier.getManifestFile()) in identify()
49 assertThat(manifestIdentifier.getPackageName()) in identify()
57 ManifestIdentifier manifestIdentifier = buckManifestFactory.identify(configBuilder.build()); in multiple_res_dirs() local
58 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in multiple_res_dirs()
86 ManifestIdentifier manifestIdentifier = buckManifestFactory.identify(configBuilder.build()); in pass_multiple_res_dirs_in_file() local
87 AndroidManifest manifest = RobolectricTestRunner.createAndroidManifest(manifestIdentifier); in pass_multiple_res_dirs_in_file()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectricTestRunner.java496 public static AndroidManifest createAndroidManifest(ManifestIdentifier manifestIdentifier) { in createAndroidManifest() argument
497 List<ManifestIdentifier> libraries = manifestIdentifier.getLibraries(); in createAndroidManifest()
504 return new AndroidManifest(manifestIdentifier.getManifestFile(), manifestIdentifier.getResDir(), in createAndroidManifest()
505 manifestIdentifier.getAssetDir(), libraryManifests, manifestIdentifier.getPackageName(), in createAndroidManifest()
506 manifestIdentifier.getApkFile()); in createAndroidManifest()