joshuarose / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

Display resource name instead of resource id on PerformException #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When a PerformException is thrown, it's currently hard to find out what view 
caused the issue, one has to convert the id to hex and look for it in the 
generated R class. IMO it'd be easier if the resource name is returned instead 
of the resource id.

Desired output (example):
com.google.android.apps.common.testing.ui.espresso.PerformException: Error 
performing 'single click' on view 'with name: is R.id.myview'.

Current output (example):
com.google.android.apps.common.testing.ui.espresso.PerformException: Error 
performing 'single click' on view 'with id: is <2131296272>'.

Version: Espresso 1.1

Original issue reported on code.google.com by stefano....@gmail.com on 21 Feb 2014 at 10:47

GoogleCodeExporter commented 9 years ago
It would be really useful.

Original comment by TomR...@gmail.com on 30 Mar 2014 at 11:44

GoogleCodeExporter commented 9 years ago

Original comment by vale...@google.com on 7 May 2014 at 7:10

GoogleCodeExporter commented 9 years ago
Issue 73 has been merged into this issue.

Original comment by vale...@google.com on 9 Jun 2014 at 9:38

GoogleCodeExporter commented 9 years ago
Fixed in Espresso 2.0

Original comment by vale...@google.com on 20 Dec 2014 at 4:33