私は私のuiautomatorテストケースを持っています:
public class clickTest extends UiAutomatorTestCase {
public void myTest() throws UiObjectNotFoundException {
...
//Is it possible to get Context or Activity here?
}
}
で取得Context
またはActivity
インスタンス化することは可能UiAutomatorTestCase
ですか?
またはどのように入るPackageManager
のUiAutomatorTestCase
ですか?