About CTS Plans

335 views
Skip to first unread message

lvsei

unread,
Apr 1, 2010, 11:18:39 PM4/1/10
to android-porting
Hi All~~~

I am using CTS to test my device now.

There are 8 plans in CTS.(ls --plan)

cts_host > ls --plan
List of plans (8 in total):
Signature
Java
AppSecurity
CTS
Performance
VM
RefApp
Android

and in plan Java, there 20 packages.

cts_host > ls --plan Java
Packages of plan Java (20 in total):
=================================
android.core.tests.annotation
android.core.tests.archive
android.core.tests.concurrent
android.core.tests.crypto
android.core.tests.dom
android.core.tests.logging
android.core.tests.luni.io
android.core.tests.luni.lang
android.core.tests.luni.net
android.core.tests.luni.util
android.core.tests.math
android.core.tests.nio
android.core.tests.nio_char
android.core.tests.prefs
android.core.tests.regex
android.core.tests.security
android.core.tests.sql
android.core.tests.text
android.core.tests.xml
android.core.tests.xnet

I have 3 questions

1.What does each plan means?
2.What does each test suit in the package of the plan means?
3.When I input the command
start --plan Java -p android.core.tests.annotation
cts_host > start --plan Java -p android.core.tests.annotation
The specific test package does not exist:
android.core.tests.annotation
why does this package not exist?

Quitou

unread,
Apr 7, 2010, 9:57:22 PM4/7/10
to android-porting
were you able to get some answers?

abukustfan

unread,
Apr 8, 2010, 9:39:50 PM4/8/10
to android-porting
Hi lvsei,

Not sure about 1 and 2.
about 3, you need to add the package to your target.
check if android.core.tests.annotation.apk exist under data/app .

Ashish

unread,
May 12, 2010, 1:47:25 AM5/12/10
to android-porting
In layman terms Plan is ur testing plan. A plan has different packages
that contains test suites and test cases at lower level. If u check
out/host/linux-86/cts/android-cts/repository/testcases, u will find
different xml's explaining packages and their testcases.

Natively cts gives 8 plans like VM plan tests dalvik Virtual machine
tests and similarly Performance plan have performance related test
cases..
One can have same packages included in different plans also. So i can
have my plan having packages from different plans.

Also plan, packages and test cases can be added into CTS.

Ashish Pareek

On Apr 9, 6:39 am, abukustfan <abukust...@gmail.com> wrote:
> Hi lvsei,
>
> Not sure about 1 and 2.
> about 3, you need to add the package to your target.
> check if android.core.tests.annotation.apk exist under data/app .
>
> On Apr 2, 12:18 pm, lvsei <lvseis...@gmail.com> wrote:
>
>
>
> > Hi All~~~
>
> >     I am usingCTSto test my device now.
>
> >     There are 8 plans inCTS.(ls --plan)
> >       why does this package not exist?- Hide quoted text -
>
> - Show quoted text -

--
unsubscribe: android-porti...@googlegroups.com
website: http://groups.google.com/group/android-porting

卸芮紋

unread,
May 18, 2010, 3:02:40 AM5/18/10
to bless2...@gmail.com, android-porting
Dear Ashish,

Thank you for your reply.

About the third question, why can I test a single package in a plan just like the example.


cts_host > start --plan Java -p android.core.tests.annotation
The specific test package does not exist: android.core.tests.annotation

why does this package not exist? I am sure that this package "android.core.tests.annotation" is available.

2010/5/12 Ashish <bless2...@gmail.com>
Reply all
Reply to author
Forward
0 new messages