namjae / robotium

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

Samples project does not build with 2.1 #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start a 2.3 emulator
2. Update the robotium version in the parent pom of the samples project to 2.1
3. Run a build with mvn clean install

What is the expected output? What do you see instead?

Build to succeed but I get

net.tawacentral.roger.secrets.SecretsForAndroidRobotiumTest:
Failure in testCreateSecret:
junit.framework.AssertionFailedError
        at net.tawacentral.roger.secrets.SecretsForAndroidRobotiumTest.testCreateSecret(SecretsForAndroidRobotiumTest.java:55)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:204)
        at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:194)
        at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:186)
        at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
        at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
        at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
        at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1447)
.

What version of the product are you using? On what operating system?

Latest samples project off github

Please provide any additional information below.

Running on Ubuntu 10.10, Maven 3.0.2, Android SDK r9

Original issue reported on code.google.com by mosa...@gmail.com on 16 Feb 2011 at 7:11

GoogleCodeExporter commented 9 years ago
Hi Manfred,

Thanks for filing.

Yes, I'm sorry I haven't kept the Robotium samples up to date with Robotium 
itself. If you know what's wrong, you are welcome to fix it and send a pull 
request my way on github.

/Hugo

Original comment by h...@josefson.org on 16 Feb 2011 at 7:56

GoogleCodeExporter commented 9 years ago
I was hoping you or Renas would do that ;-) 

Original comment by mosa...@gmail.com on 16 Feb 2011 at 5:03

GoogleCodeExporter commented 9 years ago
I am sure Hugo will fix this :)

Original comment by renasr...@gmail.com on 21 Feb 2011 at 6:02

GoogleCodeExporter commented 9 years ago
I thought that the project is a GREAT example for the library and you should 
feel responsible too.. maybe you should do it to get familiar with it ;-) 

Original comment by mosa...@gmail.com on 21 Feb 2011 at 4:48

GoogleCodeExporter commented 9 years ago
Hehe, maybe I will ;)

Original comment by renasr...@gmail.com on 21 Feb 2011 at 4:50