Catrobat/Catroid — pull request #520 by kaufi (2013-07-15 13:34:19+00:00)
Title: Refactoring of UI tests

a Base Testclass for ActivityIntstrumentationtestcase2 is introduced.
This should help avoiding conflicts with possible future Robotium releases (changes in setup, teardown).
Logoutputs in BaseActivityInstrumentationTestCase will be deleted after a few weeks - should help trackdown possible errors occurring during "long-run testing" on Jenkins :)

Our testruns crashed a lot with OutOfMemoryExceptions in the past - maybe caused by taking automatic screenshots when entering the stage, and save them when leaving the stage.
Therefore automatic screenshots are disabled for testing - unfortunately, enabling it for the one test, that checks the screenshot behavior, did not work - Jenkins still failed with outofmemory. So this test is disabled temporarily and should be fixed as soon as possible (maybe test it separately on the emulator).

Also fixed MyProjectsAcitivityTest, where some testprojects with custom names for renaming and copying were not deleted after the test and caused random errors in following tests due to wrong ordering of programlist.

here is a yellow testrun: http://http://jenkins.catrob.at/job/Catroid-custom-branch-no-emma-test/152/

single run of ProjectUpAndDownloadTest: http://http://jenkins.catrob.at/job/Catroid-single-UI-test/951/
testDownload is failing 99% of the time in the master - will be fixed by @sjaindl

single run of SoundFragmentTest: http://http://jenkins.catrob.at/job/Catroid-single-UI-test/954/