imzzy / robotium

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

Can not launch testcases when apk is encrypted #654

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The dex in apk is encrypted into DAT to protect from decompiling,and then 
testcases can not be launched.

So why this happened? And what is the principle of running robotium testcases?

Hope someone can help me , much thanks! 

Original issue reported on code.google.com by andrew...@126.com on 2 Feb 2015 at 8:36

GoogleCodeExporter commented 9 years ago
Robotium does not launch the test cases. It's Junit that does that. 
Unfortunately there is nothing we can do about this from our side. 

Original comment by renasr...@gmail.com on 2 Feb 2015 at 5:06

GoogleCodeExporter commented 9 years ago
Sorry for my incorrect description.
The test cases can be launched but it will raise RuntimeException:

java.lang.RuntimeException: Could not find test class. Class: XXX.BaseTest

So I wonder maybe it is the Encrypted Dex that stop robotium.

Actually I want to know how can I run autotest when the dex is encrypted into 
DAT to protect from decompiling?

Original comment by andrew...@126.com on 3 Feb 2015 at 1:52