在运行时,运行控制台显示如下内容:
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.robolectric.RobolectricTestRunner.getHooksInterface(RobolectricTestRunner.java:455)
... 29 more
Caused by: java.lang.ExceptionInInitializerError
at org.robolectric.internal.ParallelUniverse.<init>(ParallelUniverse.java:32)
... 34 more
Caused by: java.lang.RuntimeException: No shadows modules found containing a org.robolectric.ShadowsAdapter
at org.robolectric.Robolectric.instantiateShadowsAdapter(Robolectric.java:91)
at org.robolectric.Robolectric.<clinit>(Robolectric.java:14)
... 35 more
我希望看到所有的帧,而不是“...... 35以上”
这是使用IntelliJ 2016.1.2
答案 0 :(得分:1)
文件|设置|编辑|一般|控制台