• 大小: 17.27M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-25
  • 语言: Java
  • 标签:

资源简介

Android 下载网络图片(网络编程-13_117).zip

资源截图

代码片段和文件信息

package com.mingrisoft.downloadpicture;

import android.content.Context;
import android.support.test.InstrumentationRegistry;
import android.support.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
 * Instrumentation test which will execute on an Android device.
 *
 * @see Testing documentation
 */
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
    @Test
    public void useAppContext() throws Exception {
        // Context of the app under test.
        Context appContext = InstrumentationRegistry.getTargetContext();

        assertEquals(“com.mrkj.sample_127“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         127  2016-12-12 14:15  Project\DownLoadPicture\.gitignore
     文件         521  2016-12-12 14:15  Project\DownLoadPicture\build.gradle
     文件         869  2017-07-25 18:31  Project\DownLoadPicture\DownLoadPicture.iml
     文件         747  2016-12-12 14:15  Project\DownLoadPicture\gradle.properties
     文件        4971  2016-12-12 14:15  Project\DownLoadPicture\gradlew
     文件        2404  2016-12-12 14:15  Project\DownLoadPicture\gradlew.bat
     文件         470  2017-07-25 18:31  Project\DownLoadPicture\local.properties
     文件         865  2016-12-12 14:18  Project\DownLoadPicture\Sample_12.7.iml
     文件          16  2016-12-12 14:15  Project\DownLoadPicture\settings.gradle
     文件          31  2016-12-12 14:16  Project\DownLoadPicture\.gradle\2.14.1\taskArtifacts\cache.properties
     文件          17  2017-07-26 09:24  Project\DownLoadPicture\.gradle\2.14.1\taskArtifacts\cache.properties.lock
     文件      380296  2017-07-26 09:24  Project\DownLoadPicture\.gradle\2.14.1\taskArtifacts\fileHashes.bin
     文件     4465607  2017-07-26 09:24  Project\DownLoadPicture\.gradle\2.14.1\taskArtifacts\fileSnapshots.bin
     文件       30524  2017-07-26 09:24  Project\DownLoadPicture\.gradle\2.14.1\taskArtifacts\fileSnapshotsToTreeSnapshotsIndex.bin
     文件      177851  2017-07-26 09:24  Project\DownLoadPicture\.gradle\2.14.1\taskArtifacts\taskArtifacts.bin
     文件       26568  2017-07-26 09:24  Project\DownLoadPicture\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.bin
     文件          17  2017-07-26 09:24  Project\DownLoadPicture\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localClassSetAnalysis\localClassSetAnalysis.lock
     文件       23632  2017-07-26 09:24  Project\DownLoadPicture\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.bin
     文件          17  2017-07-26 09:24  Project\DownLoadPicture\.gradle\2.14.1\tasks\_app_compileDebugJavaWithJavac\localJarClasspathSnapshot\localJarClasspathSnapshot.lock
     文件         686  2017-07-26 09:22  Project\DownLoadPicture\.idea\compiler.xml
     文件         718  2017-07-26 09:22  Project\DownLoadPicture\.idea\gradle.xml
     文件        2136  2017-07-26 09:27  Project\DownLoadPicture\.idea\misc.xml
     文件         367  2017-07-26 09:22  Project\DownLoadPicture\.idea\modules.xml
     文件         564  2017-07-26 09:22  Project\DownLoadPicture\.idea\runConfigurations.xml
     文件      140362  2017-07-26 09:28  Project\DownLoadPicture\.idea\workspace.xml
     文件          76  2017-07-26 09:22  Project\DownLoadPicture\.idea\copyright\profiles_settings.xml
     文件         656  2017-07-26 09:22  Project\DownLoadPicture\.idea\libraries\animated_vector_drawable_24_2_1.xml
     文件         772  2017-07-26 09:22  Project\DownLoadPicture\.idea\libraries\appcompat_v7_24_2_1.xml
     文件         638  2017-07-26 09:22  Project\DownLoadPicture\.idea\libraries\espresso_core_2_2_2.xml
     文件         693  2017-07-26 09:22  Project\DownLoadPicture\.idea\libraries\espresso_idling_resource_2_2_2.xml
     文件         711  2017-07-26 09:22  Project\DownLoadPicture\.idea\libraries\exposed_instrumentation_api_publish_0_5.xml
............此处省略52个文件信息

评论

共有 条评论