Re: [Android] Can everyone run the tests?

2012-11-16 Thread Joe Bowser
Hey I noticed that the tests are failing. Worse, the tests are failing randomly and they're not failing all the time. I think we leak a receiver when using a CordovaWebView, so I'll have to investigate this, since it's causing this spectacular WebKit crash. Really, this is a pretty EPIC FAIL

Re: [Android] Can everyone run the tests?

2012-11-16 Thread Joe Bowser
BTW: The Wiki has been updated: http://wiki.apache.org/cordova/RunningTests On Fri, Nov 16, 2012 at 10:49 AM, Joe Bowser bows...@gmail.com wrote: Hey I noticed that the tests are failing. Worse, the tests are failing randomly and they're not failing all the time. I think we leak a

Re: [Android] Can everyone run the tests?

2012-11-16 Thread Andrew Grieve
Thanks Joe. Instructions look good! I asked around and got some advice for making webview's suck less in the context of destroying recreating them: - create your WebView programmatically and not via xml layout - unregister all JS interfaces on 3.0+ via call via reflection to:

Re: [Android] Can everyone run the tests?

2012-11-16 Thread Andrew Grieve
Okay, actually, command line instructions were a bit off, (framework directory --- test directory) + need to adb update project. I'll (update wiki) But! Tests all passed for me except on my 4.0.1 emulator. On Fri, Nov 16, 2012 at 2:58 PM, Andrew Grieve agri...@chromium.org wrote: Thanks Joe.

Re: [Android] Can everyone run the tests?

2012-11-16 Thread Joe Bowser
The project should be updated. Do you have the latest code? On Fri, Nov 16, 2012 at 12:40 PM, Andrew Grieve agri...@chromium.org wrote: Okay, actually, command line instructions were a bit off, (framework directory --- test directory) + need to adb update project. I'll (update wiki) But!

Re: [Android] Can everyone run the tests?

2012-11-16 Thread Andrew Grieve
I think you need to run it so that it sets the SDK path in local.properties. On Fri, Nov 16, 2012 at 4:23 PM, Joe Bowser bows...@gmail.com wrote: The project should be updated. Do you have the latest code? On Fri, Nov 16, 2012 at 12:40 PM, Andrew Grieve agri...@chromium.org wrote: Okay,

Re: [Android] Can everyone run the tests?

2012-11-16 Thread Joe Bowser
Right. I just copy local.properties from framework, but yeah, that's one of those housekeeping steps. On Fri, Nov 16, 2012 at 1:36 PM, Andrew Grieve agri...@chromium.org wrote: I think you need to run it so that it sets the SDK path in local.properties. On Fri, Nov 16, 2012 at 4:23 PM, Joe

Re: [Android] Can everyone run the tests?

2012-11-14 Thread Marlin Mixon
This isn't totally related but I can describe my experience creating a new project in Eclipse for Android 2.2 FroYo using Cordova 2.2 (I'm in Linux, Ubuntu 10.04): I got it to work but I had to be a little creative. It works pretty much out of the box for making 4.0 Android, but the

Re: [Android] Can everyone run the tests?

2012-11-14 Thread Joe Bowser
Simon: Looks like it's missing the manifest. Can you make sure your manifest is updated? I had to clean that up on one of the more recent commits. On Wed, Nov 14, 2012 at 1:10 PM, Simon MacDonald simon.macdon...@gmail.com wrote: All of org.apache.cordova.test.BackButtonMultiPageTest fail for

Re: [Android] Can everyone run the tests?

2012-11-14 Thread Joe Bowser
OK, I'm getting the same error on this end. I have no idea why this passed last week. I'll add it to the manifest. On Wed, Nov 14, 2012 at 1:18 PM, Simon MacDonald simon.macdon...@gmail.com wrote: The manifest in the Apache repo (

Re: [Android] Can everyone run the tests?

2012-11-14 Thread Simon MacDonald
Yup, it passed when I ran it and only it. Simon Mac Donald http://hi.im/simonmacdonald On Wed, Nov 14, 2012 at 4:35 PM, Joe Bowser bows...@gmail.com wrote: How can testPreconditions fail, but testViaLoadUrl pass? Can you run the test by itself? testViaHref is known to fail, and there's an

Re: [Android] Can everyone run the tests?

2012-11-14 Thread Andrew Grieve
Tried to follow the command-line instructions but get: agrieve@dhcp-172-23-181-44 ~/git/incubator-cordova-android/framework (asdf) $ adb shell am instrument -w com.phonegap/android.test.InstrumentationTestRunner INSTRUMENTATION_STATUS: id=ActivityManagerService INSTRUMENTATION_STATUS:

Re: [Android] Can everyone run the tests?

2012-11-13 Thread Joe Bowser
BUMP! Can everyone run these tests? I need to know about failures ASAP On Mon, Nov 5, 2012 at 9:44 AM, Joe Bowser bows...@gmail.com wrote: Sorry, wrong thread. Obviously. The command line version of the unit tests is on the Wiki. On Mon, Nov 5, 2012 at 9:43 AM, Joe Bowser