资源简介


资源截图

代码片段和文件信息

package com.littlejie.app;

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.littlejie.app“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-10-24 14:14  CircleProgress-master\
     文件          87  2017-10-24 14:14  CircleProgress-master\.gitignore
     目录           0  2017-10-24 14:14  CircleProgress-master\app\
     文件           7  2017-10-24 14:14  CircleProgress-master\app\.gitignore
     文件        1210  2017-10-24 14:14  CircleProgress-master\app\build.gradle
     文件         671  2017-10-24 14:14  CircleProgress-master\app\proguard-rules.pro
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\androidTest\
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\androidTest\java\
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\androidTest\java\com\
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\androidTest\java\com\littlejie\
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\androidTest\java\com\littlejie\app\
     文件         738  2017-10-24 14:14  CircleProgress-master\app\src\androidTest\java\com\littlejie\app\ExampleInstrumentedTest.java
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\
     文件         685  2017-10-24 14:14  CircleProgress-master\app\src\main\AndroidManifest.xml
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\java\
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\java\com\
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\java\com\littlejie\
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\java\com\littlejie\app\
     文件         568  2017-10-24 14:14  CircleProgress-master\app\src\main\java\com\littlejie\app\App.java
     文件        3023  2017-10-24 14:14  CircleProgress-master\app\src\main\java\com\littlejie\app\MainActivity.java
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\res\
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\res\layout\
     文件        4414  2017-10-24 14:14  CircleProgress-master\app\src\main\res\layout\activity_main.xml
     文件         457  2017-10-24 14:14  CircleProgress-master\app\src\main\res\layout\activity_test.xml
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\res\mipmap-hdpi\
     文件        3418  2017-10-24 14:14  CircleProgress-master\app\src\main\res\mipmap-hdpi\ic_launcher.png
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\res\mipmap-mdpi\
     文件        2206  2017-10-24 14:14  CircleProgress-master\app\src\main\res\mipmap-mdpi\ic_launcher.png
     目录           0  2017-10-24 14:14  CircleProgress-master\app\src\main\res\mipmap-xhdpi\
     文件        4842  2017-10-24 14:14  CircleProgress-master\app\src\main\res\mipmap-xhdpi\ic_launcher.png
............此处省略63个文件信息

评论

共有 条评论