Hi,

we're running into an issue here where in a unit test for an activity,
we test a dialog that's part of the activity. However, as soon as
control flow reaches the call to Dialog.show, the test case crashes
with an exception:

Test run failed: android.view.WindowManager$BadTokenException

the activity window seems to be valid, and clicking buttons and
everything works fine. Are dialog interactions generally not possible
in ActivityUnitTestCase? Why?

Thanks a lot,
-Matthias

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to