Commit Graph

190 Commits

Author SHA1 Message Date
Michal Karpinski
2859eb925a Add a rule for android-common-ex tests in testrunner
Some tests were moved from frameworks/base 7 years ago (ag/54455),
but the rule was never added so they couldn't have been run with
testrunner.

Test: testClass can be run with "runtest -c testClass android-common-ex"
Bug: 62161211
Change-Id: Ie70f0fc32ceec59c3d89be75415adff34c1402ed
2017-06-19 12:59:02 +01:00
Chris Wren
4278dfb234 add functional notification tests to runtest.py
Test: runtest.py systemui-functional-notification
Change-Id: I8871d79c0064917310b91ae8a58830a3c08a90fe
2016-11-14 09:59:59 -05:00
Geoffrey Pitsch
777e5d20a1 Remove runtest entry for systemui-google
Test: n/a
Change-Id: Icdfbc6fd47871b094f5e222f2a8f7a371a677eb2
2016-11-08 11:21:51 -05:00
Geoffrey Pitsch
2993857834 Add 'systemui-notification' target to runtest
Test: runtest systemui-notification
Change-Id: Ie895a171c82e3a8187d0f0f4c201e8bcd0e2ecc1
2016-11-07 11:20:25 -05:00
Geoffrey Pitsch
84c8e84586 runtest def for systemui-google
Test: runtest systemui-google
Change-Id: Id19e82f4a6d0786889e44592932387b4d80274a3
2016-11-01 11:19:09 -04:00
Lorenzo Colitti
5439831ee0 Add a test definition for framework networking tests.
Test: runtest frameworks-net  # Runs tests.
Bug: 31479480
Change-Id: Ie7cb0406f5af27fcd78aa2736f64c464eca349f3
2016-10-28 17:14:22 +09:00
Ajay Panicker
1630559a5a Merge "Add Bluetooth unit tests to testrunner" am: 1088af1620 am: ce662e8fe9 am: ed26f06b33
am: 19158e05c7

Change-Id: Ida29c7859ade7c299163e8ed06ce6e55efd51f28
2016-10-26 21:46:28 +00:00
Ajay Panicker
ce662e8fe9 Merge "Add Bluetooth unit tests to testrunner"
am: 1088af1620

Change-Id: Iaade429b275149b43e78ba16a3ea71ba85a95aa0
2016-10-26 21:32:58 +00:00
Ajay Panicker
5d1f72e736 Add Bluetooth unit tests to testrunner
Bluetooth tests can now be run on the device with the command
"runtest bluetooth"

Change-Id: Ic88ee37043b15ca225d587d4526e2ba2311434bb
2016-10-25 16:47:24 -07:00
Jorim Jaggi
a03dff537d Add app transition latency tests to test defs
Change-Id: Iadd991ca186d7006288ff147be745e045df09cb5
2016-10-11 16:27:00 +02:00
Jorim Jaggi
fd16ae9b50 Add SystemUI jank tests to runtest test defs
Test: runtest systemui-jank
Change-Id: I130260c1b2597bea7ee42ec7284802963a17de1d
2016-10-11 14:35:50 +02:00
Chad Brubaker
02e646de03 Merge "Add test defintion for network security config tests" 2016-09-08 16:24:13 +00:00
Geoffrey Pitsch
251ae641b9 runtest target 'systemui' now uses JUnit4
Also only needs to build SystemUITests.apk

Change-Id: Ie237feb8561268a6660d89f4b9b75ada3d02128a
2016-08-26 09:39:29 -04:00
Chad Brubaker
ec4080cffd Add test defintion for network security config tests
Change-Id: Ic46c38d66f7c868ad6ff1f686683eff3e19239cc
2016-08-24 12:39:39 -07:00
Victor Chang
126f40cb35 Enable runtest for ManagedProvisioning test
Change-Id: Ie06b47522c22bf51eb2a09cfd6db7c60714aa040
2016-08-18 19:55:19 +01:00
Naveen Kalla
2ab9390717 Add runner to run frameworks-telephony tests
Set the runner to AndroidJUnitRunner for the frameworks-telephony
tests to run successfully.

Change-Id: I10876db2ce2be986f2cdc6f1a7622367d4bd1cc4
2016-07-27 22:06:01 +00:00
Christopher Wiley
3f514202d5 Allow using runtest with frameworks-services tests
( cherry-pick of 00d6fa79f7 )

Specifying a runner allows developers to run commands like:

`runtest frameworks-services`

without getting a message like:

"Could not find instrumentation
com.android.frameworks.servicestests/android.test.InstrumentationTestRunner
on device."

Bug: 28833951
Change-Id: I76fb58a8fa16db503c8e98eb5a09c481d41e0a76
Test: Described above
2016-06-07 12:44:45 -07:00
Christopher Wiley
00d6fa79f7 Allow using runtest with frameworks-services tests
Specifying a runner allows developers to run commands like:

`runtest frameworks-services`

without getting a message like:

"Could not find instrumentation
com.android.frameworks.servicestests/android.test.InstrumentationTestRunner
on device."

Bug: 28833951
Change-Id: I76fb58a8fa16db503c8e98eb5a09c481d41e0a76
Test: Described above
2016-05-18 12:26:02 -07:00
Erik Kline
c015c09def Remove dhcpcd runtest definition.
The external/dhcpcd tree is done.

Bug: 26991160
Change-Id: I179581454b672adc46914bfb472c61b3dc01ca62
2016-03-09 17:20:14 +09:00
Lorenzo Colitti
e02265e264 Add a test definition for frameworks/base/core/tests/utiltests.
Change-Id: I490d475e22524bf86c92b0a3e418a5c1bb8ebe1f
2016-02-19 15:19:50 +09:00
Mitchell Wills
93178d7ac6 Add frameworks-wifi test name for runtest
Change-Id: I0c4ff02841288b7b249355e4a92b8df6115e70fe
2015-12-02 17:53:55 -08:00
Stuart Scott
be975e3911 Remove CTS tests from runtest.py
bug:24006796
bug:21762834
Change-Id: Ic321ac8871d85cbc0370e09a7eda3826da55b260
2015-09-15 10:38:44 -07:00
Paul Miller
8d271c71e9 am 2a6d5a10: am 6ae8b0bf: Merge "Remove references to Browser tests"
* commit '2a6d5a10e48e792d0576fe7e0eee1d70759ea927':
  Remove references to Browser tests
2015-07-24 21:26:37 +00:00
Paul Miller
f5da1f2a76 Remove references to Browser tests
Browser is going away

BUG:19351071
Change-Id: Ief2a0843fce4d28be7fa1200021ad2b3aa047958
2015-07-22 11:15:58 -07:00
Jonathan Basseri
6637c564a4 Merge "Add carrier config test to test_defs." into mnc-dev 2015-07-13 21:24:11 +00:00
Jonathan Basseri
98108540bf Add carrier config test to test_defs.
Bug: 21619172
Change-Id: I1fac0bcfc4064ea80b46edd128d8c81e80bd2872
2015-07-09 11:34:41 -07:00
Santos Cordon
0aafaa7081 Add calllog CTS tests.
Bug: 22326097
Change-Id: I3c41d97f8054d20448a6d44d32b04443ba83056b
2015-07-07 13:09:25 -07:00
Santos Cordon
ee1ccab72e Add telecom CTS shortcut.
Change-Id: Ic86e107597676118b0b8ed4ad603a8c09f5e90eb
2015-06-08 17:47:43 -07:00
Santos Cordon
4e0ad8f810 Add flag to grant permissions when running tests.
This change automatically adds -g to all adb install commands
for runtest. It also allows users to:
1) Specify '-k' as a command line arg to avoid granting permissions.
2) Declare a test suite as 'requiring permissions' within test_defs

Also fixes a potential bug where continuous="false" would translate
to True in the python code.

Bug: 21327566
Change-Id: I62d14e8106174861397b3fd8caa3e567e3538713
2015-05-21 15:46:59 -07:00
Erik Kline
0e42c8343c Add 'dhcpcd' test target name
This makes it possible to just type "runtest dhcpcd".

Bug: 18356137
Bug: 18356135
Change-Id: Ie914d0577c9b52134b9cc3f9480e3746d7d81254
2014-12-17 14:25:30 +09:00
Chenjie Luo
48ef4ff408 Modify testrunner/test_defs.xml to delete obsolete cts tests
Bug: 17989468
Change-Id: Ic14603a2b00f35b498ecac3fa4a4f309d29f3408
2014-10-20 12:13:16 -07:00
Chenjie Luo
88fbf1fe73 Update test runner for cts tests in testrunner/test_defs.xml
Bug: 17885115

Change-Id: I2f95d9964bf152fb1b609e0c878eea1cb096f76f
2014-10-07 15:39:55 -07:00
Tyler Gunn
2e4aa7947f Renaming Telecomm to Telecom.
- Fixing test runner package reference

Bug: 17364651
Change-Id: Ida531e6c0c4793481a842569a9314f1406f223a8
2014-09-12 20:12:41 -07:00
Santos Cordon
65b1fc2a89 am 70939ca3: Adding telecomm-unit alias for running telecomm tests with runtest.
* commit '70939ca364cc373c3f0bac4eb3638283738abc65':
  Adding telecomm-unit alias for running telecomm tests with runtest.
2014-05-13 15:17:43 +00:00
Lorenzo Colitti
791bef5218 Add clatd test definitions to the testrunner.
Bug: 11542311
Change-Id: If7b646150455490ef9429c909c78d4fe1528d78d
2014-02-28 10:27:46 +09:00
Tsu Chiang Chuang
a0bcd58532 Ensure that the native tests are run from /data/nativetest to match TF.
Also cleanup a missing test from test_defs.xml

Change-Id: I9b50bd3f5c7a100a86dd550d367c8ed9a9f2bd62
2014-02-28 10:27:46 +09:00
Santos Cordon
70939ca364 Adding telecomm-unit alias for running telecomm tests with runtest.
Change-Id: I52ff6845e69a5989e34b0c506e0ae677c7d8aa01
2014-01-10 21:19:02 +00:00
Jeff Sharkey
34c8fae561 Add DocumentsUI tests.
Bug: 10514613
Change-Id: I1375a8ee421153178f86a1842ebbe572858bf94c
2013-09-06 13:56:45 -07:00
Brett Chabot
c518764b02 Merge "Fix runtest cts-net" into klp-dev 2013-08-22 18:00:37 +00:00
Brett Chabot
315d72f730 Fix runtest cts-net
Change-Id: Ia3f7e058c48a8c84e465602e1af172ba75ff1154
2013-08-22 10:26:52 -07:00
Mathew Inwood
af73d576e9 Remove ApplicationsProvider.
ApplicationsProvider is going away since it's no longer needed. Remove it
from test config first.

Bug: 10407790
Change-Id: Ia2e6823e88bc66096e9dc6df0fcc2aef396454fc
2013-08-21 17:05:40 +01:00
Jeff Brown
1190c0f809 Update path to input system tests.
Change-Id: I7e56541029608f3c05b82d2dc0bea5141e8cd374
2013-07-01 19:27:30 -07:00
Igor Murashkin
9fa45c021c testrunner: add mediaintegrationtest
Bug: 9213377
Change-Id: I2fa656768ab497136a408b49831a5cbbc828947f
2013-06-03 11:33:03 -07:00
Yu Shan Emily Lau
9662fbd259 Merge "Added the test def for new camera native tests." into jb-mr2-dev 2013-06-03 17:28:22 +00:00
Jeff Sharkey
d1c2d376c9 am 29ca053a: am 0ea348a5: am 39ffbccd: Generalize support library tests.
* commit '29ca053ab3584e3a07f98990dafbca8e572b5413':
  Generalize support library tests.
2013-05-30 15:10:45 -07:00
Jeff Sharkey
39ffbccdd4 Generalize support library tests.
Change-Id: Icc147a16a90fbb83584424e239e40acc87de8328
2013-05-30 14:28:43 -07:00
Jeff Sharkey
739532e2c7 DO NOT MERGE. Example code for FileProvider.
Shows simple usage of FileProvider to share a private thumbnail
across process boundaries.  Also serves as sample code for javadoc
on FileProvider.

Bug: 7005318
Change-Id: I0ca12977a3832c7c2ac1c254d411a547ffee0a51
2013-05-13 11:38:44 -07:00
Yu Shan Emily Lau
b152b93956 Added the test def for new camera native tests.
Change-Id: I036bca4715c1396ac6b5b89fc6efaf126a6a0636
2013-04-12 17:37:37 -07:00
Santos Cordon
957d390244 Merge "Adding dialer to test_defs & coverage_targets" into jb-mr2-dev 2013-03-19 21:18:19 +00:00
Santos Cordon
ddd7ea4c30 Adding dialer to test_defs & coverage_targets
Change-Id: I62ef6fd38f8287b00d7fe33205470fe31fdb0b83
2013-03-19 12:08:05 -07:00