资源简介

蓝牙客户端安卓源码 BT Client 客户端

资源截图

代码片段和文件信息

package com.example.g150s.blecarnmid;

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.example.g150s.blecarnmid“ appContext.getPackageName());
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-12-23 13:36  BleCar-master\
     文件         118  2017-12-23 13:36  BleCar-master\.gitignore
     目录           0  2017-12-23 13:36  BleCar-master\.idea\
     文件         686  2017-12-23 13:36  BleCar-master\.idea\compiler.xml
     目录           0  2017-12-23 13:36  BleCar-master\.idea\copyright\
     文件          74  2017-12-23 13:36  BleCar-master\.idea\copyright\profiles_settings.xml
     文件         159  2017-12-23 13:36  BleCar-master\.idea\encodings.xml
     文件         679  2017-12-23 13:36  BleCar-master\.idea\gradle.xml
     文件        2644  2017-12-23 13:36  BleCar-master\.idea\misc.xml
     文件         462  2017-12-23 13:36  BleCar-master\.idea\modules.xml
     文件         564  2017-12-23 13:36  BleCar-master\.idea\runConfigurations.xml
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\
     文件        6621  2017-12-23 13:36  BleCar-master\PushSDK\AndroidManifest.xml
     文件        1644  2017-12-23 13:36  BleCar-master\PushSDK\build.gradle
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\androidTest\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\androidTest\debug\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\androidTest\debug\com\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\androidTest\debug\com\umeng\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\androidTest\debug\com\umeng\message\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\androidTest\debug\com\umeng\message\lib\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\androidTest\debug\com\umeng\message\lib\test\
     文件         457  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\androidTest\debug\com\umeng\message\lib\test\BuildConfig.java
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\debug\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\debug\com\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\debug\com\umeng\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\debug\com\umeng\message\
     目录           0  2017-12-23 13:36  BleCar-master\PushSDK\build\generated\source\buildConfig\debug\com\umeng\message\lib\
............此处省略396个文件信息

评论

共有 条评论