aboutsummaryrefslogtreecommitdiffstats
path: root/testutils
Commit message (Collapse)AuthorAgeFilesLines
* resolve merge conflicts of a4b5aaa to studio-1.4-dev.Tor Norbye2015-07-151-0/+7
|\ | | | | | | Change-Id: I58892c7423fc6c88cccc5118e4885261eaeed8cc
| * 175161: Include testutils in distributionTor Norbye2015-07-151-0/+8
| | | | | | | | | | | | It's needed by lint-tests. Change-Id: I8805550bdbf0b5f0a75355b975c431e9f387f07f
* | More style fixes.Xavier Ducrohet2015-06-241-1/+0
| | | | | | | | | | | | Unnecessary semicolons and imports. Change-Id: Ie47625bed2762c44e81d6aa91ffb728d3d671c41
* | fix misc style issues.Xavier Ducrohet2015-06-231-1/+1
| | | | | | | | | | | | Detected and fixed via IJ's inpections/quick fixes. Change-Id: Ie0b691f0271bc0e5af951ea76ec3d57e5243d1c5
* | Enable more code coverage.Chris Warrington2015-06-191-0/+1
|/ | | | Change-Id: I323a22fed74617bda9d89af3013ce433b7492c11
* Revert "Support for new build-tools layout."Jerome Dochez2015-06-021-1/+0
| | | | | | This reverts commit 553125a6009c7c095830e085843a0450554c1f76. Change-Id: I892d89b7b6bc81ee2ef9f681627417ddc355c0e6
* Support for new build-tools layout.Xavier Ducrohet2015-05-211-0/+1
| | | | Change-Id: Iff0877270797f1b18fb07f9b9c46e5c65810b386
* Separate out Lint unit testing support into separate libraryTor Norbye2015-04-081-1/+1
| | | | | | | This will allow 3rd party lint checks to write lint unit tests and leverage the existing infrastructure. Change-Id: I5a12cf6c5afc614f004413b9ec5cc0c849d4c267
* Resource visibility lookup and lint checkTor Norbye2015-04-064-13/+105
| | | | | | | | | | | | | | | This CL adds a mechanism to look up the visibility of resources (which consults the public.txt files in AndroidLibraries). This is used by a new lint check which flags any uses of private resources outside that library. There was an older private resources check, which looked for uses of private framework resources. AAPT now enforces that check, so we don't need to have lint do it anymore, so the detector has been repurposed (and the issue severity adjusted) to look for library private resources instead. Change-Id: I3536f739ba8b04436907550001e39f8e08eadded
* Add external annotations supportTor Norbye2015-03-181-0/+35
| | | | | | | Also make various other lint infrastructure improvements to the annotations support. Change-Id: I825ebe6b1445e6c9881b04fa453064c7abfcd1db
* Update all projects to use junit4.Chris Warrington2015-02-132-2/+2
| | | | Change-Id: Id2b1075f7f56368c78161126428857e876315cf9
* removed hardcoded strings and messagesJerome Dochez2014-10-101-1/+1
| | | | Change-Id: Ieaeb45def006ee06aee69125530fec9fbd4575a9
* Fixed tests relying on non-released SDK build tools version 21Jerome Dochez2014-10-101-1/+1
| | | | Change-Id: Ie56ecd8cf3e1b8746a0b9f208735fafc7ebd5907
* Removed some deprecated guava APIs that have disappeared in version 17.Jerome Dochez2014-06-231-1/+6
| | | | | | This is preparation to support gradle 2.0 which requires guava 17 Change-Id: Iac4d07dacc80f71aeeaed20c516c9c9a31432259
* Update build to the new no-snapshot build.Xavier Ducrohet2014-05-211-2/+1
| | | | Change-Id: Ifd2686d0014f2c8e1d716286c71203cdb6158a9f
* Update project setup.Xavier Ducrohet2014-05-151-1/+1
| | | | Change-Id: Ie19bd3e33e6766daf72e288f570cd07c2328f8e9
* New distrib plugin.Xavier Ducrohet2014-05-081-5/+0
| | | | Change-Id: I2f94991e68eeb78dde05726937b37d6423e28f50
* Update build files to build from tools/Xavier Ducrohet2014-05-081-1/+1
| | | | Change-Id: Id6472b5ab61907aeb658e1948821410d7f58bbc7
* Update from Guava 13.0.1 to Guava 15Tor Norbye2013-12-201-1/+1
| | | | Change-Id: Ie88898fd0e57dbb51d095eca39587e9a55d8ce69
* Add missing version on some modules.Xavier Ducrohet2013-12-051-0/+1
| | | | Change-Id: Ic2ebff850b5f58839b4ea2f1b25c95236014c8cc
* Refactor build logic.Xavier Ducrohet2013-12-041-0/+3
| | | | Change-Id: I6f1b6f60c27dfb2a02070d047c2ce3f7a33cf9f8
* 60773: Wrong screen-size for Nexus 7 (2012) on previewTor Norbye2013-10-071-0/+10
| | | | | | | | | 7.27" diagonal length is the data we've had in the device config file all along, but it looks like it's wrong, e.g. https://support.google.com/nexus/7/answer/2667663?hl=en&ref_topic=2841129 Change-Id: I55506916cd64a37cc75c721d082ce0cb617b66e3
* Fix handling of <declare-styleable> elements in res2Tor Norbye2013-06-261-1/+2
| | | | | | | | | During parsing, we need to process the children of <declare-styleable> elements and create @attr ResourceItems in the item map. And during ResourceValue resolution, we similarly need to populate the DeclareStyleableResourceValue value with AttrResourceValues. Change-Id: Ib51acd03c7c54d1f13b98c12d7040d120059af09
* Change Eclipse compiler errors for null issues to warningsTor Norbye2013-06-121-3/+3
| | | | Change-Id: I0233bb5bb0aad34d297422db3df27131fe7c4c0e
* Move the resource/asset merger to sdk-commonXavier Ducrohet2013-04-042-1/+75
| | | | | | Also move some required classes to sdk-common and testutils. Change-Id: I0ad4d18c58a7568da8fa4e309e6ed6265d7d7865
* Fix eclipse project dependencies.Xavier Ducrohet2013-03-181-2/+1
| | | | | | | | - Use the prebuilts from the maven repo - Make each project exports its dependencies to avoid having to redefine them in all projects. Change-Id: Ie95ce6902ba9aac6d03851ede2731151db0e773d
* Add bouncycastle to sdklibXavier Ducrohet2013-03-161-1/+1
| | | | Change-Id: I25fcd6eda79e18421579e7e0c0206e783cfd8dbe
* sdktestutils for ADT.Raphael Moll2013-03-131-0/+5
| | | | Change-Id: Id223f3988d8c9430b9a48e086c087e7776703bcd
* Move rule_api and ninepatch to tools/base.Raphael Moll2013-03-131-0/+1
| | | | Change-Id: If470399b44643f148138eb79cce0ea1027249bdc
* Couple of internal plugins for Gradle.Xavier Ducrohet2013-03-061-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'distrib' allows copying output jars and their dependencies in a distribution folder in a way that will match the tools component of the SDK. It also copies the launcher scripts, and handles NOTICE files. 'clone-artifacts' is a plugin to pull a clone of some maven artifacts to allow running Gradle in offline mode. The distrib plugin pulls the dependencies and their NOTICE files from the repo setup by the cloneArtifacts plugin. All modules (Gradle projects and dependencies) *MUST* have a NOTICE file, or the build will break. Both plugins make differentiate runtime dependencies and other dependencies (test, findbugs, etc..) and handle them through 2 different repositories. Some projects that are internal only (testutils, sdklib-test) are flagged as not shipping so that all their dependencies are handled as internal. Usage: To add a new dependency to the clone repository: gradlew cloneArtifacts To push updated distribution files: gradlew pushDistribution Also add a few missing NOTICE. Change-Id: I9a3321d17c2194e28bc2edefbe74087093812884
* Fix generation of prebuilt jars to include classpath in manifest.Xavier Ducrohet2013-02-051-1/+0
| | | | Change-Id: I06365b58b632b3f4534ed21247633c3a5671fdf7
* Fix Junit definitionSiva Velusamy2013-01-111-1/+1
| | | | Change-Id: Ia7924350e791df0c5de5319c33a4b18d7e78bd4d
* Tweaks to the device libraryTor Norbye2012-12-211-0/+1
| | | | | | | | | Make the parser better handle a missing schema file, and add nullness annotations on many of the APIs (not yet complete). Also some code formatting tweaks. Also exclude gradle directories from source paths. Change-Id: I9a4ec929d449b8dd51acd8809f8bb04aaa2f48e7
* Build all modules with gradle.Xavier Ducrohet2012-12-141-2/+2
| | | | Change-Id: I6c21927aa7ffeb0979d1b6ddc9baef8fe5e5773b
* Test infrastructure tweaksTor Norbye2012-12-131-5/+3
| | | | Change-Id: I6034d4fd2e28f5386301981b031a1089872e91d6
* Add IDE project filesTor Norbye2012-12-136-0/+166
| | | | Change-Id: I035666c9ff35598584d95be4408d6ff96080a5f4
* Copy code from sdk.git to base.gitTor Norbye2012-12-126-0/+798
This changeset moves the base libraries and apps from sdk.git into base.git. There are no other changes to the code. The tip of the trunk is ca3c2001a26a913df84d1ff8e742ca5f2278bc2d The gerrit change id for https://android-review.googlesource.com is Change Id: Ibdcdec5745f040eb7b0880cf6999c0f0ea7f7e6f Change-Id: I55db7ad07f1a1ae92c64d3e32b44b0f57662f57a