xlistView核心代码
来源:互联网 发布:东德知乎 编辑:程序博客网 时间:2024/06/06 03:04
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代码Acitity
- XlistView参考代码
- XlistView(代码)
- xlistview 上下拉加载代码
- XListView下拉时间刷新代码
- XListView
- XListView
- Xlistview
- XListView
- xListView
- XListView
- xlistview
- xListView
- XlistView
- xlistview
- xlistview
- git文件夹下项目更改ip地址小结
- 【makefile】一起写makefile(六)--函数的使用
- ssh离线查询错误:Error accessing field [private java.lang.String 包名.BaseDict.dictId] by reflection
- 解决nestedScrollview 嵌套 recyclerview出现的异常
- TortoiseSVN客户端重新设置用户名和密码
- xlistView核心代码
- 图像工程的三个层次
- 文章标题 商品列表 angularJs实现
- 初学者---Android 常用依赖,权限
- DrawerLayout
- xlistView
- UVALive 7512November 11th
- 欢迎使用CSDN-markdown编辑器
- pyspark-DataFrame API