我正在开发一个Android应用程序,并希望使用数据库进行本地存储.我已经在互联网上搜索并找到了本地存储数据库之间的一些比较.但我必须在Realm和GreenDAO之间进行选择.所以请建议我使用哪一个.
我想打印的目前在执行测试方法的名称 @BeforeMethod,并@AfterMethod使用TestNG的。喜欢 :
public class LoginTest {
@Test
public void Test01_LoginPage(){
//Some Code here
}
@Test
public void Test02_LoginPage(){
//Some Code Here
}
@BeforeMethod
public void beforeTestCase(){
//Print Test method name which is going to execute.
}
@AfterMethod
public void AfterTestCase(){
//Print Test method name which is executed.
}
}
Run Code Online (Sandbox Code Playgroud) NullPointerException和NullReferenceException有什么区别?
annotations ×1
automation ×1
greendao ×1
java ×1
nosql ×1
orm ×1
performance ×1
realm ×1
testng ×1