summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVadim Tryshev <vadimt@google.com>2019-09-17 19:16:00 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-09-17 19:16:00 +0000
commita24ed7267c956a34f19e7a0828a8ac733647514c (patch)
tree705ffcc0fc4d7337a45fc50eb0cad20d9aaf8ec8 /tests
parentc1322b6ac8677582355e700180ab554225f63952 (diff)
parent8c2ae545cf13d6c0aff6ecef1d6b0a0e87f0f980 (diff)
downloadandroid_packages_apps_Trebuchet-a24ed7267c956a34f19e7a0828a8ac733647514c.tar.gz
android_packages_apps_Trebuchet-a24ed7267c956a34f19e7a0828a8ac733647514c.tar.bz2
android_packages_apps_Trebuchet-a24ed7267c956a34f19e7a0828a8ac733647514c.zip
Merge "Support for tests that a leak is detected" into ub-launcher3-qt-qpr1-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
index c6e7daceb..15615fc6b 100644
--- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
+++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -961,4 +961,12 @@ public final class LauncherInstrumentation {
return getTestInfo(TestProtocol.REQUEST_TOTAL_PSS_KB).
getInt(TestProtocol.TEST_INFO_RESPONSE_FIELD);
}
+
+ public void produceJavaLeak() {
+ getTestInfo(TestProtocol.REQUEST_JAVA_LEAK);
+ }
+
+ public void produceNativeLeak() {
+ getTestInfo(TestProtocol.REQUEST_NATIVE_LEAK);
+ }
} \ No newline at end of file