Questions tagged [cts]

Android Comparability Test Suite, a suite of several thousand test cases to be run on an Android device from a host computer to test the OS and to ensure compatibility across Android implementations.

CTS is part of the AOSP's Comparability Program. As of Android 4.0.3 (ICS), it is included in the open source project. Binaries of prior version may be downloaded from the Android Open Source site.

CTS can also be used to add custom tests to internal Android builds.

147 questions
0
votes
1 answer

Android CTS test case "android.view.cts.DisplayRefreshRateTest#testRefreshRate" failed

I am working on a Freescale i.MX6Q based board. When I'm running CTS test case "android.view.cts.DisplayRefreshRateTest#testRefreshRate" on Android 4.0.4, it worked but failed when it's on Android 4.2.2. I checked the logcat massage. It claimed…
0
votes
1 answer

INSTALL_FAILED_UID_CHANGED ERROR While Android CTS TEST

cts-tf > run cts -p android.uiautomator 07-23 16:00:48 I/TestInvocation: Starting invocation for 'cts' on build '4.2_r1' on device 0123456789ABCDEF 07-23 16:00:48 I/0123456789ABCDEF: Created result dir 2013.07.23_16.00.48 07-23 16:00:49 E/CtsTest:…
Ethan
  • 13
  • 1
0
votes
0 answers

AndroidViewClient Settings > Developer Settings checkbox issues

I don't know if anyone else has run into this problem, but when I try to use AndroidViewClient/Monkeyrunner to click on the checkboxes for the "Stay Awake" and "Allow mock locations" options, they do not persist after navigating away from the…
Android Noob
  • 3,271
  • 4
  • 34
  • 60
0
votes
1 answer

run cts -c android.permission2.cts.ProtectedBroadcastsTest

run cts -c android.permission2.cts.ProtectedBroadcastsTest The test is failed. Log: android.permission2.cts.ProtectedBroadcastsTest#testSendProtectedBroadcasts FAIL junit.framework.AssertionFailedError: expected security exception broadcasting…
0
votes
1 answer

Is it possible to run a single Android CTS test case from Eclipse?

I am currently dealing with some CTS issues for our own device. It comes to my mind that if we can run a single CTS test case just from Eclipse, that would be very helpful for debugging the CTS issues. For example, I have create an Android test…
Robin
  • 10,052
  • 6
  • 31
  • 52
0
votes
1 answer

In Google's CTS, what does the script named cts-tradefed stand for?

I've just started working with Google's CTS and ran into a script that had very little explanation surrounding it- cts-tradefed. I've scoured the web and found a few resources that mention it such as the CDD and the CTS manual but nowhere is it…
Patrick
  • 11,552
  • 7
  • 29
  • 41
0
votes
1 answer

why assert when a udp6 port is closed in CTS case: android.net.cts.ListeningPortsTest::testNoListeningUdp6Ports

When I running the CTS case: android.net.cts.ListeningPortsTest:: testNoListeningUdp6Ports, it failed, the traces are as follows: android.net.cts.ListeningPortsTest$ListeningPortsAssertionError: Found port listening on…
0
votes
4 answers

How do I get all hits from a cts:search() in Marklogic

I have a collection containing lots of documents. when I search the collection, I need to get a list of matches independent of documents. So if I search for the word "pie". I would get back a list of documents, properly sorted by relevance. However,…
löööl
  • 1
  • 1
-1
votes
1 answer

Run CTS 7.1_r7 suffered Exception in thread "Thread-1" java.lang.NoClassDefFoundError

After run CTS 7.1_r7 on Windows10, device suffered Exception in the "Thread-1" java.lang.NoClassDefFoundError: com/android/compatibility/common/util/IInvocationResult at java.lang.Class.forName0(Native Method) at …
-1
votes
1 answer

How to detect an CTS approved Android build?

In the documentation of Android N preview is mentioned: This early build is not Compatibility Test Suite (CTS) approved. Apps that depend on CTS approved builds won’t work (Android Pay for example). In my Android app I want to check whether the…
friedger
  • 645
  • 7
  • 21
-1
votes
1 answer

How to run only 64 bit abi test cases in android CTS excluding 32 bit for (Lolliop)?

Ive been trying to run only 64 bit abi for android CTS, the option provided in the document is run cts --abi 64 , but that is giving configuration error.
-2
votes
3 answers

what is CTS host pc configurations?

I am try to run cts with 16gb ram and 350gb hardisk of host machine but it fails frequently could you plz tell me the actual configuration for running cts.
shubhamA
  • 11
  • 1
  • 4
1 2 3
9
10