xiaofans / robotium

Automatically exported from code.google.com/p/robotium
0 stars 0 forks source link

Robotium 4.0 does not recognize getCurrentCheckBoxes() method(?) #423

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Update Robotium to 4.0
2. Compile your test code that uses method getCurrentCheckBoxes()
3. getCurrentCheckBoxes() is not recognized as solo method, code does not 
compile anymore

What is the expected output? What do you see instead?
- Method is not listed as deprecated for 4.0 so I expected it to work

What version of the product are you using? On what operating system?
- Robotium 4.0, test device Android OS 4.0

Please provide any additional information below.
-

Original issue reported on code.google.com by soili.sa...@gmail.com on 21 Mar 2013 at 12:52

GoogleCodeExporter commented 9 years ago
The major version change was because of the API changes. Use 
getCurrrentViews(CheckBox.class) instead. 

Original comment by renasr...@gmail.com on 21 Mar 2013 at 12:59

GoogleCodeExporter commented 9 years ago
Thank you for the fast response! I changed to getCurrentViews(CheckBox.class) 
as you suggested and now everything is back to normal :)

Original comment by soili.sa...@gmail.com on 21 Mar 2013 at 1:40

GoogleCodeExporter commented 9 years ago
Great :)

Original comment by renasr...@gmail.com on 21 Mar 2013 at 1:41