spoon

How to get Spoon to take screenshots for Espresso tests?

懵懂的女人 提交于 2019-11-30 08:55:57
I've been trying to follow the instructions on getting Spoon 1.1.14 to take screenshots for failing Espresso tests . What's the best way to configure this with a custom Espresso FailureHandler ? Here's how I am doing this at the moment: public class MainScreenTest extends BaseStatelessBlackBoxEspressoTest<LaunchActivity> { public MainScreenTest() { super(LaunchActivity.class); } public void testMainScreen() { // Unfortunately this must be explicitly called in each test :-( setUpFailureHandler(); onView(withId(R.id.main_circle)). check(matches(isDisplayed())); } } My base Espresso test class

kettle连接Oracle出现IO错误:Undefined Error

主宰稳场 提交于 2019-11-29 18:21:58
将Oracle的jar包拷到了kettle的lib下后报错如下,没头绪查找问题所在。后来将jar包又放到了C:\Program Files (x86)\Java\jdk1.8.0_131\jre\lib\ext目录下。成功连接oracle数据库。解决了困扰一周的问题。 错误连接数据库 [2] : org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connect to the database Error connecting to database: (using class oracle.jdbc.driver.OracleDriver) IO 错误: Undefined Error org.pentaho.di.core.exception.KettleDatabaseException: Error occurred while trying to connect to the database Error connecting to database: (using class oracle.jdbc.driver.OracleDriver) IO 错误: Undefined Error at org.pentaho.di.core.database