Home
last modified time | relevance | path

Searched refs:dependencyResolver (Results 1 – 6 of 6) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/dependency/
DMavenDependencyResolverTest.java59 DependencyResolver dependencyResolver = createResolver(); in getLocalArtifactUrl_shouldAddConfiguredRemoteRepository() local
62 dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldAddConfiguredRemoteRepository()
74 DependencyResolver dependencyResolver = createResolver(); in getLocalArtifactUrl_shouldAddDependencyToDependenciesTask() local
77 dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldAddDependencyToDependenciesTask()
92 DependencyResolver dependencyResolver = createResolver(); in getLocalArtifactUrl_shouldExecuteDependenciesTask() local
95 dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldExecuteDependenciesTask()
102 DependencyResolver dependencyResolver = createResolver(); in getLocalArtifactUrl_shouldReturnCorrectUrlForArtifactKey() local
105 URL url = dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldReturnCorrectUrlForArtifactKey()
112 DependencyResolver dependencyResolver = createResolver(); in getLocalArtifactUrl_shouldReturnCorrectUrlForArtifactKeyWithClassifier() local
115 URL url = dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldReturnCorrectUrlForArtifactKeyWithClassifier()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DApkLoader.java25 private final DependencyResolver dependencyResolver; field in ApkLoader
27 protected ApkLoader(DependencyResolver dependencyResolver) { in ApkLoader() argument
28 this.dependencyResolver = dependencyResolver; in ApkLoader()
32 return sdkEnvironment.getSystemResourceTable(dependencyResolver); in getSystemResourceTable()
59 return dependencyResolver.getLocalArtifactUrl(dependency); in getArtifactUrl()
63 return sdkEnvironment.getCompileTimeSystemResourcesFile(dependencyResolver); in getCompileTimeSystemResourcesFile()
DRobolectricTestRunner.java75 private transient DependencyResolver dependencyResolver; field in RobolectricTestRunner
104 if (dependencyResolver == null) { in getJarResolver()
109 dependencyResolver = new PropertiesDependencyResolver( in getJarResolver()
117 dependencyResolver = new LocalDependencyResolver(new File(dependencyDir)); in getJarResolver()
126 …DependencyResolver dependencyResolver = (DependencyResolver) ReflectionHelpers.callConstructor(mav… in getJarResolver() local
129 …this.dependencyResolver = new CachedDependencyResolver(dependencyResolver, cacheDir, 60 * 60 * 24 … in getJarResolver()
131 this.dependencyResolver = dependencyResolver; in getJarResolver()
141 dependencyResolver = new PropertiesDependencyResolver(propertiesFile, dependencyResolver); in getJarResolver()
148 return dependencyResolver; in getJarResolver()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSdkEnvironment.java23 …blic synchronized FsFile getCompileTimeSystemResourcesFile(DependencyResolver dependencyResolver) { in getCompileTimeSystemResourcesFile() argument
27 Fs.newFile(dependencyResolver.getLocalArtifactUrl(compileTimeJar).getFile()); in getCompileTimeSystemResourcesFile()
32 …c synchronized PackageResourceTable getSystemResourceTable(DependencyResolver dependencyResolver) { in getSystemResourceTable() argument
34 ResourcePath resourcePath = createRuntimeSdkResourcePath(dependencyResolver); in getSystemResourceTable()
41 private ResourcePath createRuntimeSdkResourcePath(DependencyResolver dependencyResolver) { in createRuntimeSdkResourcePath() argument
43 …Fs systemResFs = Fs.fromJar(dependencyResolver.getLocalArtifactUrl(sdkConfig.getAndroidSdkDependen… in createRuntimeSdkResourcePath()
DSandboxFactory.java33 boolean useLegacyResources, DependencyResolver dependencyResolver) { in getSdkEnvironment() argument
38 URL[] urls = dependencyResolver.getLocalArtifactUrls(sdkConfig.getAndroidSdkDependency()); in getSdkEnvironment()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/
DCachedDependencyResolver.java19 private final DependencyResolver dependencyResolver; field in CachedDependencyResolver
24 …public CachedDependencyResolver(DependencyResolver dependencyResolver, File cacheDir, long cacheVa… in CachedDependencyResolver() argument
25 …this(dependencyResolver, new FileCache(cacheDir, cacheValidTime), new DefaultCacheNamingStrategy()… in CachedDependencyResolver()
28 …public CachedDependencyResolver(DependencyResolver dependencyResolver, Cache cache, CacheNamingStr… in CachedDependencyResolver() argument
29 this.dependencyResolver = dependencyResolver; in CachedDependencyResolver()
44 final URL url = dependencyResolver.getLocalArtifactUrl(dependency); in getLocalArtifactUrl()