Java Code Examples for com.nostra13.universalimageloader.core.download.ImageDownloader.Scheme#ASSETS

The following examples show how to use com.nostra13.universalimageloader.core.download.ImageDownloader.Scheme#ASSETS . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BaseImageDownloaderTest.java    From candybar with Apache License 2.0 5 votes vote down vote up
@Test
public void testSchemeAssets() throws Exception {
    String uri = "assets://folder/1.png";
    Scheme result = Scheme.ofUri(uri);
    Scheme expected = Scheme.ASSETS;
    Assertions.assertThat(result).isEqualTo(expected);
}
 
Example 2
Source File: BaseImageDownloaderTest.java    From Android-Universal-Image-Loader-Modify with Apache License 2.0 5 votes vote down vote up
@Test
public void testSchemeAssets() throws Exception {
	String uri = "assets://folder/1.png";
	Scheme result = Scheme.ofUri(uri);
	Scheme expected = Scheme.ASSETS;
	Assertions.assertThat(result).isEqualTo(expected);
}
 
Example 3
Source File: BaseImageDownloaderTest.java    From android-open-project-demo with Apache License 2.0 5 votes vote down vote up
@Test
public void testSchemeAssets() throws Exception {
	String uri = "assets://folder/1.png";
	Scheme result = Scheme.ofUri(uri);
	Scheme expected = Scheme.ASSETS;
	Assertions.assertThat(result).isEqualTo(expected);
}