summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-09-14 10:21:30 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-09-14 10:21:30 -0700
commit8a2e55239a13ae20d3a61288098cc59abee1b097 (patch)
treee6ccf3ab5e91025e35e872e83dced537442f77fc /tests
parentac0b599fa7a72a6a529e8bde0463e6151694b2f7 (diff)
parent757dcbb80371ad9211e288faf02bad91bae4a717 (diff)
downloadframeworks_base-8a2e55239a13ae20d3a61288098cc59abee1b097.zip
frameworks_base-8a2e55239a13ae20d3a61288098cc59abee1b097.tar.gz
frameworks_base-8a2e55239a13ae20d3a61288098cc59abee1b097.tar.bz2
Merge "Implement LayoutTestController.setAppCacheMaximumSize() for DumpRenderTree2"
Diffstat (limited to 'tests')
-rw-r--r--tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java b/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java
index c9e194f..ec8409a 100644
--- a/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java
+++ b/tests/DumpRenderTree2/src/com/android/dumprendertree2/LayoutTestController.java
@@ -64,6 +64,11 @@ public class LayoutTestController {
mLayoutTestsExecutor.overridePreference(key, value);
}
+ public void setAppCacheMaximumSize(long size) {
+ Log.i(LOG_TAG, "setAppCacheMaximumSize() called with: " + size);
+ WebStorage.getInstance().setAppCacheMaximumSize(size);
+ }
+
public void setCanOpenWindows() {
mLayoutTestsExecutor.setCanOpenWindows();
}