Home
last modified time | relevance | path

Searched refs:getLocalArtifactUrl (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/dependency/
DPropertiesDependencyResolverTest.java38 URL url = resolver.getLocalArtifactUrl(new DependencyJar("com.group", "example", "1.3", null)); in whenAbsolutePathIsProvidedInProperties_shouldReturnFileUrl()
47 URL url = resolver.getLocalArtifactUrl(new DependencyJar("com.group", "example", "1.3", null)); in whenRelativePathIsProvidedInProperties_shouldReturnFileUrl()
57 when(mock.getLocalArtifactUrl(dependencyJar)).thenReturn(new URL("file:///path/3")); in whenMissingFromProperties_shouldDelegate()
58 URL url = resolver.getLocalArtifactUrl(dependencyJar); in whenMissingFromProperties_shouldDelegate()
70 resolver.getLocalArtifactUrl(dependencyJar); in whenDelegateIsNull_shouldGiveGoodMessage()
DCachedDependencyResolverTest.java66 when(internalResolver.getLocalArtifactUrl(dependency)).thenReturn(url); in getLocalArtifactUrl_shouldWriteLocalArtifactUrlWhenCacheMiss()
68 URL url = res.getLocalArtifactUrl(dependency); in getLocalArtifactUrl_shouldWriteLocalArtifactUrlWhenCacheMiss()
79 URL url = res.getLocalArtifactUrl(dependency); in getLocalArtifactUrl_shouldReadLocalArtifactUrlFromCacheIfExists()
81 verify(internalResolver, never()).getLocalArtifactUrl(dependency); in getLocalArtifactUrl_shouldReadLocalArtifactUrlFromCacheIfExists()
94 res.getLocalArtifactUrl(dependency); in getLocalArtifactUrl_whenCacheInvalid_shouldFetchDependencyInformation()
96 verify(internalResolver).getLocalArtifactUrl(dependency); in getLocalArtifactUrl_whenCacheInvalid_shouldFetchDependencyInformation()
DMavenDependencyResolverTest.java62 dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldAddConfiguredRemoteRepository()
77 dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldAddDependencyToDependenciesTask()
95 dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldExecuteDependenciesTask()
105 URL url = dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldReturnCorrectUrlForArtifactKey()
115 URL url = dependencyResolver.getLocalArtifactUrl(dependencyJar); in getLocalArtifactUrl_shouldReturnCorrectUrlForArtifactKeyWithClassifier()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/
DDependencyResolver.java6 URL getLocalArtifactUrl(DependencyJar dependency); in getLocalArtifactUrl() method
9 return new URL[] {getLocalArtifactUrl(dependency)}; in getLocalArtifactUrls()
DPropertiesDependencyResolver.java31 public URL getLocalArtifactUrl(DependencyJar dependency) { in getLocalArtifactUrl() method in PropertiesDependencyResolver
46 return delegate.getLocalArtifactUrl(dependency); in getLocalArtifactUrl()
DCachedDependencyResolver.java36 public URL getLocalArtifactUrl(DependencyJar dependency) { in getLocalArtifactUrl() method in CachedDependencyResolver
44 final URL url = dependencyResolver.getLocalArtifactUrl(dependency); in getLocalArtifactUrl()
DLocalDependencyResolver.java16 public URL getLocalArtifactUrl(DependencyJar dependency) { in getLocalArtifactUrl() method in LocalDependencyResolver
DMavenDependencyResolver.java103 public URL getLocalArtifactUrl(DependencyJar dependency) { in getLocalArtifactUrl() method in MavenDependencyResolver
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DSdkEnvironment.java27 Fs.newFile(dependencyResolver.getLocalArtifactUrl(compileTimeJar).getFile()); in getCompileTimeSystemResourcesFile()
43 …Fs systemResFs = Fs.fromJar(dependencyResolver.getLocalArtifactUrl(sdkConfig.getAndroidSdkDependen… in createRuntimeSdkResourcePath()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/
DTestUtil.java51 …Fs fs = Fs.fromJar(getDependencyResolver().getLocalArtifactUrl(sdkConfig.getAndroidSdkDependency()… in systemResources()
58 …Fs sdkResFs = Fs.fromJar(getDependencyResolver().getLocalArtifactUrl(new SdkConfig(apiLevel).getAn… in sdkResources()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DApkLoader.java59 return dependencyResolver.getLocalArtifactUrl(dependency); in getArtifactUrl()