Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4853)

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/webapps/TestWebApkActivity.java

Issue 2701333002: Add integration tests for WebAPKs (Closed)
Patch Set: Merge branch 'remove_load_url' into integration_test Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/android/javatests/src/org/chromium/chrome/browser/webapps/TestWebApkActivity.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/TestWebApkActivity.java b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/TestWebApkActivity.java
new file mode 100644
index 0000000000000000000000000000000000000000..0e4a81e619f88ecb77060022e74507c877aebe43
--- /dev/null
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/webapps/TestWebApkActivity.java
@@ -0,0 +1,13 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.chrome.browser.webapps;
+
+/** WebApkActivity subclass which does not request updates. */
+public class TestWebApkActivity extends WebApkActivity {
gone 2017/02/21 22:31:50 This should really be in the testing packages, not
pkotwicz 2017/02/24 23:49:55 Done.
+ @Override
+ protected WebApkUpdateManager createUpdateManager() {
+ return null;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698