标签: android robolectric android-testing
在继续使用测试代码之前,如何确保在UI线程中触发了所有ontouch,onclick等侦听器?换句话说,我有一个微调器,我在其上注册了onTouchListener和OnItemSelectedListener。在继续测试之前,我想确保我的活动调用这两个函数。在RoboElectric中有什么办法可以实现吗?