ActionBarActivity & ActivityUnitTest - NameNotFoundException

后端 未结 1 1655
礼貌的吻别
礼貌的吻别 2021-01-22 18:25

Ok...it is more likely to be my fault ;)

When I do:

public class XmlLifecycleTests extends ActivityUnitTestCase
{ ... (not in setUp)
相关标签:
1条回答
  • 2021-01-22 18:29

    It was indeed my fault...switching startActivity to:

    setActivity(launchActivity(pkg, actClass, null));

    Solved all my problems.

    0 讨论(0)
提交回复
热议问题