pivotal/robolectric — Issue #169: ContextMenu
Author: hendryluk
Created: 2012-01-10 06:15:06+00:00
State: open

Is there any way to test context-menu?

Specifically, I bind my context menu to items of ListView using convertView.setOnCreateContextMenuListener(listener) on the actual code.
But robolectric does not seem to come with any implementation to handle this.

I tried, for example, to call showContextMenu() and createContextMenu(stubMenu) on the test. But neither one of them seems to do anything at all.

Thank you