diff options
author | Alan Jeon <skyisle@gmail.com> | 2013-10-31 17:02:32 +0900 |
---|---|---|
committer | Alan Jeon <skyisle@gmail.com> | 2013-10-31 21:43:58 +0900 |
commit | 4c0b86d4309902d7b58eafbdc2e46f5ae8bc0ac6 (patch) | |
tree | f53ff3f2b453ea8600f554b8e75568ced502bad6 /builder-model/src/main/java/com/android | |
parent | 02a0a339a68b3ceb6b99acf0083117286513fce7 (diff) | |
download | build-4c0b86d4309902d7b58eafbdc2e46f5ae8bc0ac6.tar.gz |
Added more instrumentation option
Now, we can set handleProfiling and functionalTest option
to test manifest file when we run instrumentTest.
defaultConfig {
minSdkVersion 8
targetSdkVersion 16
testHandlingProfiling true
testFunctionalTest true
}
These options are described at:
https://developer.android.com/guide/topics/manifest/instrumentation-element.html
Change-Id: I7c03684c03fe64fd5c33555b32c7bfd683d4e47e
Signed-off-by: Alan Jeon <skyisle@gmail.com>
Diffstat (limited to 'builder-model/src/main/java/com/android')
-rw-r--r-- | builder-model/src/main/java/com/android/builder/model/ProductFlavor.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/builder-model/src/main/java/com/android/builder/model/ProductFlavor.java b/builder-model/src/main/java/com/android/builder/model/ProductFlavor.java index f1a6d16..f1a5c73 100644 --- a/builder-model/src/main/java/com/android/builder/model/ProductFlavor.java +++ b/builder-model/src/main/java/com/android/builder/model/ProductFlavor.java @@ -107,4 +107,20 @@ public interface ProductFlavor extends BaseConfig { */ @Nullable String getTestInstrumentationRunner(); + + /** + * Returns the handlingProfile value. This is only the value set on this product flavor. + * + * @return the handlingProfile value. + */ + @Nullable + Boolean getTestHandleProfiling(); + + /** + * Returns the functionalTest value. This is only the value set on this product flavor. + * + * @return the functionalTest value. + */ + @Nullable + Boolean getTestFunctionalTest(); } |