Maven test using Android Plugin failing (Stub ) error

48 views
Skip to first unread message

Felix Thomas

unread,
May 22, 2013, 7:53:49 AM5/22/13
to maven-androi...@googlegroups.com
Hi,

   I was testing android test cases using robotuim . Ihave created 2 maven project wlp-calculator & wlp-calculator-test project. My main business code is in wlp-calculator project and my test code is in wlp-calculator-test project.

  when i execute  "mvn install " on my test project i get the exception . Is it I have to create a Parent project which includes both the projects ?

"Failed tests: 
   Exception in constructor: testDisplayBlackBox (java.lang.RuntimeException: Stub!
at android.test.InstrumentationTestCase.<init>(InstrumentationTestCase.java:5)
at android.test.ActivityTestCase.<init>(ActivityTestCase.java:5)".


 I have kept the test java file on the src/main/java folder also. SO i am not able to understand what could be the issue. I have attached the both the project also.
 Maven version used by me: 3.0.5 
 JDK :-  1.6 


Regards,
Felix T
wlp-calculator.zip
wlp-calculator-test.zip
Reply all
Reply to author
Forward
0 new messages