I'm trying for my first time at creating some tests for an
application. I'm not using Eclipse (I prefer the command line). If I
just simply issue the command:

ant run-tests

I get the following error:
run-tests:
     [echo] Running tests ...
     [exec]
     [exec] org.klnusbaum.linkschedule.test.ScheduleTests:
     [exec] Failure in testApplicationTestCaseSetUpProperly:
     [exec] junit.framework.AssertionFailedError
     [exec]     at
android.test.ApplicationTestCase.setupApplication(ApplicationTestCase.java:
102)
     [exec]     at
android.test.ApplicationTestCase.testApplicationTestCaseSetUpProperly(ApplicationTestCase.java:
174)
     [exec]     at java.lang.reflect.Method.invokeNative(Native
Method)
     [exec]     at
android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
     [exec]     at
android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
     [exec]     at
android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:
430)
     [exec]     at android.app.Instrumentation
$InstrumentationThread.run(Instrumentation.java:1447)
     [exec] .
     [exec] Test results for InstrumentationTestRunner=.F.
     [exec] Time: 0.068
     [exec]
     [exec] FAILURES!!!
     [exec] Tests run: 2,  Failures: 1,  Errors: 0
     [exec]
     [exec]

I understand that the application is not be initialized properly, but
I have no idea what could cause an error like this. Any suggestions?

-Kurtis

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to