There are several things wrong with unittests right now, and they haven't
worked in several weeks.
1) The eclipse build path is busted and Eclipse cannot find some oAuth
classes.
2) If you add a set of build paths such that #1 is resolved, then:
W/dalvikvm( 1359): Class resolved by unexpected DEX:
Lcom/joelapenna/foursquare/http/HttpApiWithOAuth;(0x43599800):0x19be50 ref
[Loauth/signpost/commonshttp/CommonsHttpOAuthConsumer;]
Loauth/signpost/commonshttp/CommonsHttpOAuthConsumer;(0x43599800):0x199910
I/TestRunner( 1359): failed:
test_venue(com.joelapenna.foursquare.FoursquareTestCase)
I/TestRunner( 1359): ----- begin exception -----
D/dalvikvm( 1359): threadid=33 wakeup: interrupted
D/dalvikvm( 1359): GC freed 4430 objects / 498160 bytes in 250ms
E/AndroidRuntime( 1359): java.lang.VerifyError:
com.joelapenna.foursquared.util.DumpcatcherHelper
E/AndroidRuntime( 1359): at
com.joelapenna.foursquared.Foursquared.onCreate(Foursquared.java:58)
E/AndroidRuntime( 1359): at
android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:10
45)
E/AndroidRuntime( 1359): at
android.app.ActivityThread.handleBindApplication(ActivityThread.java:3622)
E/AndroidRuntime( 1359): at
android.app.ActivityThread.access$2500(ActivityThread.java:112)
E/AndroidRuntime( 1359): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1729)
E/AndroidRuntime( 1359): at
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1359): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1359): at
android.app.ActivityThread.main(ActivityThread.java:3948)
E/AndroidRuntime( 1359): at
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1359): at
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1359): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
782)
E/AndroidRuntime( 1359): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
E/AndroidRuntime( 1359): at dalvik.system.NativeStart.main(Native
Method)
Original issue reported on code.google.com by jlapenna on 3 Aug 2009 at 12:53
Original issue reported on code.google.com by
jlapenna
on 3 Aug 2009 at 12:53