xlistView
来源:互联网 发布:东德知乎 编辑:程序博客网 时间:2024/06/05 22:53
package com.example.xlistviewlibrary;
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 <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@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.xlistviewlibrary.test", appContext.getPackageName());
}
}
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 <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@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.xlistviewlibrary.test", appContext.getPackageName());
}
}
阅读全文
0 0
- XListView
- XListView
- Xlistview
- XListView
- xListView
- XListView
- xlistview
- xListView
- XlistView
- xlistview
- xlistview
- XListView
- xlistview
- xListview
- XListView
- XListView
- xlistview
- xlistview
- xlistView核心代码
- 图像工程的三个层次
- 文章标题 商品列表 angularJs实现
- 初学者---Android 常用依赖,权限
- DrawerLayout
- xlistView
- UVALive 7512November 11th
- 欢迎使用CSDN-markdown编辑器
- pyspark-DataFrame API
- OkHttp
- RabbitMQ基础概念介绍
- UVALive 7511Multiplication Table
- 手机触摸事件
- C语言实验——Hello World!(printf练习)