Catrobat/Catroid — pull request #171 by kaufi (2013-02-18 17:25:43+00:00)
Title: Fix UploadDialogTest

the latest nightly build of robotium changed the solo.getText() method to accept regular expressions as string. in the testclass UploadDialogTest.java a string (containing brackets) was used to get a certain textview - we have to escape these brackets in order to get the correct textview!

refactored solo.waitForDialogToClose() to solo.sleep() - there is no dialog closing...

last master build on Jenkins: http://catrobatgw.ist.tugraz.at:8080/job/Catroid/1339/testReport/org.catrobat.catroid.uitest.ui.dialog/UploadDialogTest/testUploadDialog/

successful run with bugfix (tested UploadDialogTest 5 times): http://catrobatgw.ist.tugraz.at:8080/job/Catroid-single-UI-test/245/