Commit Graph

21 Commits

Author SHA1 Message Date
Unsuk Jung
94995b1dc8 Build CTS tests as multilib apks
CTS-tradefed uses the same apk for both 32 and 64 bit tests.

Bug: 17924614
Change-Id: Idbf2d93c54efbb1c281ad9e93f0f39430614df61
2014-10-09 01:08:48 -07:00
Brett Chabot
cf8d741f3d Move to android.support.test as CTS instrumentation runner.
Also do the following related cleanup
- Remove references to deprecated BrokenTest and KnownFailure
- Switch CTS tests to build against SDK and not private
android.test.runner where possible

Bug: 12924356

Change-Id: If6151b836456eec4838f8d7d6e11c9834c007fca
2014-03-11 17:54:45 -07:00
Alex Klyubin
99de4e3610 am 7d0d1c56: am 38866e37: Merge "Test default config of SSLCertificateSocketFactory."
* commit '7d0d1c560d28591b4533ee1bfe830a6ec535f697':
  Test default config of SSLCertificateSocketFactory.
2014-01-22 19:49:06 +00:00
Alex Klyubin
652d30b4b5 Test default config of SSLCertificateSocketFactory.
Bug: 11220570
Change-Id: I37440f3e8eda18215b9af703c027e4c8ca0334bf
2014-01-16 14:52:46 -08:00
William Luh
e57a5f7b6f Merge "CTS test for X509TrustManagerExtensions.isUserAddedCertificate." 2013-12-13 18:21:53 +00:00
William Luh
638d1eeee7 CTS test for X509TrustManagerExtensions.isUserAddedCertificate.
Bug: 11257762
Change-Id: I4d8bec7b75613b3286063e28b0fe0cba4e5c716b
2013-11-12 10:05:11 -08:00
Stuart Scott
7fd24cb8df Refactoring CTS to remove PTS references.
PTS is now a part of CTS

bug: 11561456
Change-Id: I577296fe7735790e285aa4747dc7832bc8ae5b6d
2013-11-08 14:29:01 -08:00
Robert Greenwalt
9ac09493ad Add Dns CTS test.
Checks java and native calls.
Adds some performance tests, but need to look at how that should be used.

Change-Id: I158164829da13302d9532275cef3482c4736168e
2013-02-14 12:04:46 -08:00
Wink Saville
775417bd58 Delete frameworks/base/voip use voip-common from frameworks/opt/net/voip
Change-Id: Ieaba759a0f69b45c4b8839cbed1fe757cdf190c5
2013-01-28 20:00:57 -08:00
Keun young Park
30199405c3 change testRunner to CtsTestRunner
- unlock keyguard by default

Change-Id: I0452a72cfa54edfa79b485894ffd0493a71122ee
2012-07-12 12:57:30 -07:00
Brian Muramatsu
237e076594 Fix WifiInfoTest flakiness
Poll a bit longer waiting for getNetworkId and getWifiState to return
the proper values. The bug reports seem to indicate that the WiFi
is shutting down properly.

Add a new static check method to PollingCheck that I think is simpler
than the existing way of creating a new PollingCheck, overriding
check, and then making sure to call run. This new variation also allows
you to specify a message rather than just "unexpected timeout."

Bug 6443337

Change-Id: I9f7c942f6e26b957bb717b58b1ab984acc556bf7
2012-06-26 15:05:08 -07:00
Brian Muramatsu
248128f2a9 Static Libs for Popular CTS Stub Components
com.android.cts.stub is growing very large. Split apart some of
the popular components into separate static libraries. This
should allow packages to depend on the components they need
rather than all of cts.stub.

Current code at the moment doesn't have to be changed, because
I have CtsTestStubs depending on these new shared libraries.
However, change the net package to depend on the ctstestserver
static library as a proof of concept rather than including
its source directly.

Change-Id: I32c54eab3ddfb1d4391d6ffc347fbc9cb2fe97f9
2012-03-05 18:46:33 -08:00
Chia-chi Yeh
e4791afe6c am b57076f9: am edd2f178: am 4231515a: Free net.cts from cts.stub.
* commit 'b57076f9137e2acd6fb9145b8f8be26f43d91cdb':
  Free net.cts from cts.stub.
2012-02-28 15:40:30 -08:00
Chia-chi Yeh
4231515a1b Free net.cts from cts.stub.
Explicitly include CtsTestServer in Android.mk to eliminate the
dependency to cts.stub. This allows net.cts to instrument itself,
and it also allows network-specific JNI code to be added in the
same package.

Change-Id: I624f87e0112619c5b97f2c3589933f666665fa8e
2012-02-28 14:58:23 -08:00
Brian Muramatsu
59be169eb9 Move Test XML Generation from buildCts.py
buildCts.py was the central script that generated all the
test package XMLs each time CTS was built. This had a
couple problems:

1. All the XML files for ~40 packages needed to be made
   every time CTS was made. Even if those packages were
   not touched at all.

2. Couldn't shard the XML generation process across the
   available cores on a machine. A pool was added to the
   python script, but it was set to a fixed number.

This change moves the test XML generation into a
smaller Java program called "cts-java-scanner" and
the doclet it relies upon to scan the Java files
into "cts-java-scanner-doclet.jar". The output of
the scanner like "cts-native-scanner" for native EXEs
is piped to the existing cts-xml-generator to
produce the test XMLs.

New CTS specific rules replace the standard
BUILD_PACKAGE and BUILD_HOST_JAVA_LIBRARY. They just
add extra rules for the package XML. The BUILD_CTS_PACKAGE
rule also adds a rule for copying the "package.apk"
to something more like "CtsFooTestCases.apk" to the
test case out directory. All the apks, exes, and xmls
are now thrown into a "cts-testcases" directory, before
they are copied to the final CTS distribution.

This change should prevent rebuilding the XMLs
unnecessarily and make rebuilding CTS quicker while
writing tests.

There are still the libcore tests that are always rebuilt,
but they can be adapted to fit into this model someday...

Change-Id: I52a916aa37fd679057e2709bb0ccec694c9fca01
2012-01-05 11:43:00 -08:00
Brett Chabot
dcccc54888 Change CTS tests to not build against SDK.
Most CTS test packages reference test related annotations in dalvik.annotation
which are not part of SDK. This was previously allowed due to bug in build
build system. For now, temporarily change CTS makefiles so they are not built
against SDK.

BUG 2114936
2009-09-11 15:31:30 -07:00
Brett Chabot
1505142f7b Change CTS makefiles so apps are built in data not system partition.
BUG 2053298

Change-Id: I2c541c03f7c33c69cde7b0567b080710658c8d28
2009-08-28 14:19:28 -07:00
Brett Chabot
f4ffdb9732 Remove a bunch of unused CTS tests from continuous test build to save space.
BUG 2053298
2009-08-14 14:17:58 -07:00
Phil Dubach
3da72df159 AI 147060: am: CL 147059 CTS: Fix LOCAL_MODULE_TAGS for CTS tests
CTS tests should use local module tag 'tests' such that they are not built
  and included in the image by default.
  Original author: phillipd
  Merged from: //branches/cupcake/...

Automated import of CL 147060
2009-04-21 01:02:54 -07:00
The Android Open Source Project
3cae4df32a auto import from //branches/cupcake_rel/...@140373 2009-03-18 17:39:42 -07:00
The Android Open Source Project
8aa1b8f449 auto import from //branches/cupcake_rel/...@138607 2009-03-15 16:47:16 -07:00