Android :: Core Tests Coverage Report 0%

Dec 12, 2009

We ran core tests by the command "/development/testrunner/runtest.py - v --coverage core" and got coverage report successfully. But the reports says all are 0%. We ran apidemos and got coverage report which looks good.

Below is the console output for core tests:

CODE:.............

So I wonder why core tests's coverage report says 0% and how can I make the report make sense.

Android :: core tests coverage report 0%


Android :: Coverage With Ant In Test Project From Another Directory Report Disappears

Jan 15, 2010

I've encountered a problem, when I run coverage with ant in my test project from another directory the report disappears, e.g. "ant -f some/dir/tests/build.xml coverage". This seems to be the cause that I cannot get reports when building through hudson.

View 3 Replies View Related

General :: Network Coverage Audit / Report Application?

Feb 20, 2012

I have recently switched from AT&T to Verizon, is there any app for Galaxy Nexus (ICS) that will run in the background and watch the coverage and keep track it of it (preferably including GPS location) so I can check how well the service is in the areas where I mostly travel?

View 4 Replies View Related

Android :: How Do I Run Unit Tests / Functional Tests?

Aug 6, 2010

"Hello, World" and "Hello, Testing" tutorials I created an android application created with Eclipse, along with a corresponding Android Test Project.The tests run fine once. After that, in order for me to run the tests again, I have to close the emulator.If I don't close the emulator, the Eclipse console get stuck on "Installing instrumentation android.test.InstrumentationTestRunner on device emulator-5554"... Nothing happens after that.I've been told to exit out of the application under test in the emulator in order to run the test again. Unfortunately the emulator doesn't have the app pulled up (it's in the normal "locked" position and when unlocked brings up the home screen) and even if I do pull it up then exit, it doesn't seem to let me run my tests again.All the example videos and tutorials all stop at the first run of a test. I have yet to see anyone anywhere run a test a second time!

View 1 Replies View Related

Motorola Droid X :: My 3G Coverage Is Terrible - Weak Signal Or No Coverage At All

Aug 11, 2010

No matter where I go I have terrible 3G coverage. Either a weak signal or no coverage at all. I've had a blackberry before and always had great 3G coverage in these same areas. What could be the problem?

View 2 Replies View Related

General :: Install Quad Core Firmware On Dual Core CPU?

Feb 12, 2014

I just want to know a couple of things (NOT that I would ever try this myself but im interested in the info).

1) Is it possible to install quad core firmware on dual core tablet?

2) Is it possible to 'spoof' the android system into thinking 2 CPUs are 4?

3)If you install dual core firmware on quad core machine will 4 cores or 2 show up?

View 1 Replies View Related

Android :: Unit Tests Run Twice From Eclipse?

Jun 9, 2009

I've got unit tests which are subclasses of AndroidTestCase, I thought they were just taking awhile to run, but for some reason when I run them via Eclipse, they actually run twice. I can verify this in LogCat after the Console outputs "Launching instrumentation android.test.InstrumentationTestRunner on device..." the first run starts, which is only visible via LogCat. Then the JUnit pane comes to life and starts tracking the second run.

View 2 Replies View Related

Android :: How To Run Instrumentation Tests On Device?

Sep 16, 2009

Can you please tell me the process for running the tests on device? currently I am using the eclipse IDE to run the tests as Android Junit tests. And I would like to run the unit tests on device.

View 2 Replies View Related

Android :: Need To Run Skia_bench / Surfaceflinger Tests

Sep 19, 2010

I need to run the skia_bench and surfaceflinger tests.I have downloaded the eclari source code and compiled it with debug option.After compilation I am able to launch the emulator with the target debug image. Now the question is how can I run the skia_bench or surfaceflinger tests (which are available in android source code).

View 1 Replies View Related

Android : Droid Tests Without Emulator?

Dec 6, 2009

Is it possible to run some android tests for example: AndroidTestCase without using emulator?

View 2 Replies View Related

Android : Can I Run CTS Tests In Droid Eclair?

Feb 1, 2010

In order to release a device to the market, You need to run the Compatibility Test Suite given by android...I need to know how to download and run it..

View 3 Replies View Related

Android :: Verify Error While Trying To Run Unit Tests

Aug 5, 2009

I'm getting VerifyErrors when running unit tests. My tests are setup as a separate eclipse project which references the project I am testing. I have a class in my project which I use fairly heavily in my test project and this class is getting rejected by Dalvik.I also have a third party jar on the build path of both the project under test and the test project. This causes no problems when running the project under test so I can't see why it should when running the test project, basically I'm stumped. I have posted the error text below, MyProjectClass is a class in the project under test which is used fairly heavily in the test project.

View 7 Replies View Related

Android :: Running Tests In Main Thread?

Feb 19, 2010

Can someone advise the am command (for adb shell) to run junit tests in the main thread please? The following shows onStart etc running in the test runner thread. am instrument -w -e class co.uk.telesense. tests.MyTest co.uk.telesense.tests/android.test.InstrumentationTestRunner Ewan Benfield ttp://www.telesense.co .uk tel: 0845 643 5691 (+44 845 643 5691) mob: +44 (0) 77859 26477

View 2 Replies View Related

Android :: Isolating Units / Writing Tests

Jul 23, 2010

My project has the run-of-the-mill HTTP calls to fetch XML files, parsing the XML files, and creating domain objects. Those objects are later used in the actions and services of the Android app, I'd like to isolate that code. I also want to write tests for it. What are some good ways of doing this? Creating an Android Library doesn't seem appropriate. The tests would have to be in a separate project. And there are no services or activities in the extracted HTTP and XML related code. So the test suite doesn't have to be an Android test suite, it could be regular JUnit tests.

View 2 Replies View Related

Android :: Hangs On Launching Unit Tests

Oct 3, 2009

I got a problem launching unit tests. I did: * new android project in eclipse, new android test project in eclipse * added one test case, added one test suite * run as-> android junit test hangs on "Launching instrumentation android.test.InstrumentationTestRunner on device emulator-5556".I got eclipse galileo, newest ADT and android 1.6 sdk

View 5 Replies View Related

Android :: Unit Tests Requiring Context

Jan 19, 2010

I am writing my first Android database backend and I'm struggling to unit test the creation of my database. Currently the problem I am encountering is obtaining a valid Context object to pass to my implementation of SQLiteOpenHelper.Is there a way to get a Context object in a class extending TestCase? The solution I have thought of is to instantiate an Activity in the setup method of my TestCase and then assigning the Context of that Activity to a field variable which my test methods can access...but it seems like there should be an easier way.

View 3 Replies View Related

Android :: JUNIT Tests Results From Eclipse To XML

Sep 4, 2009

How to get the junit test results from eclipse to an XML or any logfile?

View 2 Replies View Related

Android :: What Is The Use Of Tests Present In Source Code

Dec 23, 2009

If u have downloaded any android source code u would see a test folder present for almost all applications and base framework. I wanted to know whether we build the test code too while building sdk from source code or is it just for our reference. If it is for the latter, what is the best way to use it. Please post me the exact use of tests present in android source code.

View 2 Replies View Related

Android :: Run Instrumentation Tests From Command Line (in Kubuntu)?

Mar 22, 2010

We are able to run instrumentation tests of Android from the command line on Windows by launching: adb shell am instrument -w <package.test>/android.test.InstrumentationTestRunner. This gives us good results. Using the same architecture, we are unable to run the same in Kubuntu. We have the same setup in Kubuntu. Can someone let us know, if there are packages with same name.. Then what package will the adb shell point? How will the emulator connect with adb shell from cmd line? DO we need to do any changes to do so in Kubuntu?

View 1 Replies View Related

Android :: Running Unit Tests From Command Line?

Jul 21, 2010

I'm trying to run unit tests on the android platform in accordance with tutorial. Say, for example, I want to run tests for Email application. I open /apps/Email/tests/AndroidManifest.xml file, look for the <manifest> element, and look at the package attribute, which is com.android.email.tests, and in the <instrumentation> element I look at the android:name attribute, which is android.test.InstrumentationTestRunner.

View 3 Replies View Related

Android : Need Ski Report App

Dec 28, 2009

FYI- here is a ski report app I stumbled upon (not in the marketplace). It's pretty lackluster but provides the basic info. Hopefully Northface or REI will be porting over their apps to android soon. android-ski-report - Project Hosting on Google Code

View 1 Replies View Related

Android :: Going Without 3G Coverage

Jun 8, 2010

I've been following the Android OS and admiring it for some time lately,but I don't yet own a device.The one I have my eye on later this month is the Dell Streak.My question for you experts is this : Is it worth it to use an Android device without any 3g plan at all?
I basically don't care about facebook or twitter in the slightest.I would just like to use the device as a powerful iPod touch to play videos, music, games, emulators, navigate with one of the offline apps, update my calendars and lists and take pictures / videos on occasion.And when its time to finally crash at the hotel, then get on the wifi and check my email and do my browsing.So if I were to try and use it this way, would I be missing out on anything important?Do all the major apps require 3g coverage? Can the device even be used without a 3g plan if its sold straight off of dell's website?

View 3 Replies View Related

Android :: Getting Illegal Access Error When Running Droid Tests / Why Is So?

Mar 12, 2010

I get the following stack trace when running my Android tests on the Emulator code...

I run my tests from an extra project. And it seems there are some problems with loading the classes from the other project. I have run the tests before but now they are failing. The project under tests runs without problems.

Line 14 of the Helper Class is:

this.httpHelper = new HttpHelper(userProfile);

I start a HttpHelper class that is responsible for executing httpqueries. I think somehow this helper class is not available anymore, but I have no clue why.

View 1 Replies View Related

Android : Compile / Running Tests By Pointing A Standard JUnit?

Aug 18, 2010

It appears that Android supports JUnit 3 out of the box.&#65533;However, I have some pre-existing JUnit 4 unit tests that I'd like to try on Android. I've tried adding the JUnit 4 jar to eclipse and compiling/ running the tests by pointing a standard JUnit run against them, but nothing seems to happen.&#65533;There's no evidence in the eclipse console or the Android emulator that any tests have been run.

Can anyone with knowledge about this subject comment?&#65533;Is it even possible to run JUnit 4 tests under Android, and if so, is there a step-by-step explanation as to how to achieve this (preferably under Jetbrains IDEA IDE, and/or Eclipse).

View 11 Replies View Related

Android :: Cannot Report LogCat Value

Jun 30, 2010

Here's a snip that successfully reads off, to Eclipse LogCat, the height and width of the .PNG on the SD card:

import android.app.Activity; import android.os.Bundle;
import android.util.Log; import android.graphics.Bitmap;
import android.graphics.BitmapFactory; import android.os.Environment;
//...

Bitmap bmp = BitmapFactory.decodeFile(Environment.getExternalStorageDirectory().getAbsolutePath() + "/sample.png");
int width = bmp.getWidth(); int height = bmp.getHeight();
int[] pix = new int[width * height]; bmp.getPixels(pix, 0, width, 0, 0, width, height);
int R, G, B; for (int y = 0; y < height; y++){ for (int x = 0; x < width; x++) { int index = y * width + x;
R = (pix[index] >> 16) & 0xff; //bitwise shifting G = (pix[index] >> 8) & 0xff; B = pix[index] & 0xff;
// [This is where I'd put it. But I can't get a red line off the editor when I do anything.] } } Log.v(TAG, width + " " + height);

I can't for the life of me use Log.v() to report the value of R or G or B. Everything I'm doing draws a red line under v or something when I try. I've tried toString() and everything.

View 2 Replies View Related

Android :: Context Menu Paste Command Using Droid JUnit Tests?

Nov 4, 2010

How do I go about simulating a context menu paste command using the Android JUnit tests?

View 3 Replies View Related

Android :: Instruct Users To Report?

Jul 21, 2010

How do you instruct users to report a bug in Android? I'd like to get send detailed instructions to my users to get the most of their bug report. I know there are various apps that send bug reports from the device and I was wondering how other Android developers deal with this.

View 3 Replies View Related

HTC EVO 4G :: Why Are 3G Speed Tests So Slow?

Jun 25, 2010

I've tried Xtremelabs Speedtest (which seems more reliable) and Speedtest.net's app (which uses Kansas City as the server due to Sprint's proxy). I haven't been able to get over 800Kbps down no matter what. This morning I hit a new low and couldn't go over 350 with full service. My Touch Pro would consistently get about 1.2 - 1.5MBps. I would tether with it and use it as a hot spot with no issues. Friends would comment on how fast the 3G speeds on Sprint are. I don't feel I can have the same confidence in the Evo's speed.I'm thinking either there is some aggressive power saving happening on the phone or Sprint's network has been heavily congested since the release of the phone.Are there other speed tests people are doing? I'm going to try dslreports but I know that one has issues on accuracy sometimes.

View 49 Replies View Related

HTC EVO 4G :: Battery App That Tests Mah Or Capacity?

Aug 6, 2010

I bought an extended battery on ebay and I want to test how much mah it actually has. Is there an app that tests battery capacity specifically the mah? It wouldn't be that hard for an app to test. Just monitor how much gets used and how much gets put back into the battery. If there isn't an app is there another way I can test the capacity of this battery? I have a lipo battery charger if that could work.

View 4 Replies View Related

Android :: Emma Code Coverage

Feb 3, 2010

We're using android for some software engineering courses at our university. The students should produce code coverage reports for their unit tests, so we looked at the android-2.0 SDK which says on the release page:

"Adds new Ant build system with support for Emma instrumentation projects (code coverage)."

However I'm unable to find any documentation or examples for this. Does someone have more information about it?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved