diff options
author | Deepanshu Gupta <deepanshu@google.com> | 2014-07-31 11:32:25 -0700 |
---|---|---|
committer | Deepanshu Gupta <deepanshu@google.com> | 2014-10-01 12:43:11 -0700 |
commit | b6a37d897aca9d09a09d5c4fa9e60f6f43d6a166 (patch) | |
tree | 6027e80c5f18c386cef5652b355c2012f98951a7 /tools/layoutlib/create | |
parent | 23f09423cb2cb59333d2f410e89534f0a08ac424 (diff) | |
download | frameworks_base-b6a37d897aca9d09a09d5c4fa9e60f6f43d6a166.zip frameworks_base-b6a37d897aca9d09a09d5c4fa9e60f6f43d6a166.tar.gz frameworks_base-b6a37d897aca9d09a09d5c4fa9e60f6f43d6a166.tar.bz2 |
Add testing framework to LayoutLib. [DO NOT MERGE]
This change adds an end to end test which loads the framework resources
and a test app and ensures that no exceptions or warnings are thrown.
The change also adds project configuration for intelliJ.
Change-Id: I7b67c0f1a2af2dac95df7f3231cab537b9826d7d
(cherry picked from commit a8e9517470869fa29946ae1fa1ceeb24c7970391)
Diffstat (limited to 'tools/layoutlib/create')
-rw-r--r-- | tools/layoutlib/create/create.iml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/layoutlib/create/create.iml b/tools/layoutlib/create/create.iml new file mode 100644 index 0000000..b7e8eb3 --- /dev/null +++ b/tools/layoutlib/create/create.iml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="JAVA_MODULE" version="4"> + <component name="NewModuleRootManager" inherit-compiler-output="true"> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> + <sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" /> + <sourceFolder url="file://$MODULE_DIR$/tests/data" type="java-test-resource" /> + <sourceFolder url="file://$MODULE_DIR$/tests/mock_data" type="java-test-resource" /> + <excludeFolder url="file://$MODULE_DIR$/.settings" /> + </content> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="library" name="asm-4.0" level="project" /> + <orderEntry type="library" scope="TEST" name="JUnit4" level="application" /> + </component> +</module> + |