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
37
votes
16 answers

adb logcat hangs with "waiting for device" message

When I type adb devices command on terminal, it shows device is connected List of devices attached 0123456789ABCDEF device But when I type adb logcat command, it hangs with below message waiting for device Can anybody…
Android Boy
  • 4,335
  • 6
  • 30
  • 58
18
votes
2 answers

How to build android cts? And how to add and run your test case?

From 2.0 the cts is freely downloadable from android's repository. But there is no documents about it. Does anyone can tell me: how to build cts? Is there a standard procedure? How to run cts? How to add customized test case? Here, share my…
Leox
  • 891
  • 2
  • 8
  • 8
14
votes
4 answers

Android App not compatible with devices that sideload Google Play

I have an app which has been deployed to Play and is compatible with any device running 2.1 or later; no special restrictions or requirements defined in AndroidManifest.xml. There have been several complaints from users trying to install the app via…
Nick
  • 8,181
  • 4
  • 38
  • 63
10
votes
9 answers

Use cases for boxing a value type in C#?

There are cases when an instance of a value type needs to be treated as an instance of a reference type. For situations like this, a value type instance can be converted into a reference type instance through a process called boxing.…
felideon
  • 1,361
  • 1
  • 12
  • 21
9
votes
4 answers

Meaning of words CTS

As the English is not my native language I would like to know the exact semantic of words Common Type System (CTS). Can they be interpretated as a system of common types or as a type system that is common for .NET Framework? That is whether the…
Vlad from Moscow
  • 301,070
  • 26
  • 186
  • 335
8
votes
2 answers

What's the difference between CTS and GTS?

I'm familiar with CTS(Compatibility Test Suite). But recently I came across the term GTS, which as per my understanding is also a Google's compatibility test suite. But I don't have enough information regarding this. I googled for the difference…
KayPee
  • 173
  • 1
  • 1
  • 10
7
votes
3 answers

Set screenlock setting interactively

I want to set the screenlock mode to None in KitKat so I can run CTS. I'm using the DragonBoard APQ8074 for development from Intrinsyc, and they just released their BSP for Android KitKat 4.4.2. Trouble is, it's unstable and the Security menu in…
Jacob Stevens
  • 854
  • 1
  • 8
  • 17
5
votes
2 answers

Android CTS test can run on multiple devices in parallel

Android CTS documents said as below. "To shard a plan test run on multiple devices:- run cts -plan CTS --shards then I do in this way. but I can not do. surely PC can recognize the multi devices but cannot run on them. If you…
Nose
  • 61
  • 1
  • 4
4
votes
2 answers

Android CTS is showing ShellCommandUnresponsiveException on emulator

I am running Android CTS Android Test Plan on an emulator running on Android 2.2. But most of the test cases are showing timeout and the error shows com.android.ddmlib.ShellCommandUnresponsiveException. Is there any way to solve this issue ?
dapper
  • 299
  • 2
  • 7
  • 16
4
votes
1 answer

Use of CTS in android source code

I have run android CTS test case for ics on custom board. AOSP had their own cts/ folder under android/ folder. I'm having two questions. What is the use/role of cts/ in building and flashing android on board? Why we download CTS from site to run…
Dhasneem
  • 4,037
  • 4
  • 33
  • 47
4
votes
2 answers

automating android CTS with python

I'm trying to automate the full CTS setup and execution with python & monkeyrunner on Ubuntu and most of it has gone very well. As the very final step, I try executing the following python command to start the CTS on a specific…
Android Noob
  • 3,271
  • 4
  • 34
  • 60
4
votes
2 answers

How to run Google CTS on multiple device?

I have connected 2 devices on my machine and I want to run Google CTS in both the devices. But here the problem is, Whenever I run ./startcts command, both the devices are getting connected to the session. My Requirement: I want to run CTS in both…
Nandi
  • 71
  • 1
  • 4
3
votes
2 answers

Android 2.3.x static field issue during JUnit test

I found an issue when I am doing CTS R12 test for Android 2.3.x. During the media stress test, the cases all failed because of file exception. It is caused by the static variable "FILE_PATH" is null during the test case. I found it is 100%…
Robin
  • 10,052
  • 6
  • 31
  • 52
3
votes
4 answers

How to launch CTS using command line on Windows?

For Android 2.3, I use this command line to enter CTS console: java -Xmx512M -cp %CTS_ROOT%\tools\ddmlib-prebuilt.jar;%CTS_ROOT%\tools\cts.jar;%CTS_ROOT%\tools\junit.jar; %CTS_ROOT%\tools\hosttestlib.jar com.android.cts.TestHost …
stillwater
  • 47
  • 1
  • 2
  • 9
3
votes
3 answers

How we can skip any Test Cases during CTS Run?

How we can do the following task: During the running time we can skip the any package or case...?
user958943
1
2 3
9 10