| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package org.chromium.webapk.lib.runtime_library; | 5 package org.chromium.webapk.lib.runtime_library; |
| 6 | 6 |
| 7 import static org.junit.Assert.assertFalse; | 7 import static org.junit.Assert.assertFalse; |
| 8 import static org.junit.Assert.assertTrue; | 8 import static org.junit.Assert.assertTrue; |
| 9 import static org.mockito.Mockito.mock; | 9 import static org.mockito.Mockito.mock; |
| 10 import static org.mockito.Mockito.when; | 10 import static org.mockito.Mockito.when; |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 * Creates Bundle to pass to WebApkServiceImpl constructor. | 91 * Creates Bundle to pass to WebApkServiceImpl constructor. |
| 92 * @param expectedHostBrowser | 92 * @param expectedHostBrowser |
| 93 * @return The bundle | 93 * @return The bundle |
| 94 */ | 94 */ |
| 95 private static Bundle createBundle(String expectedHostBrowser) { | 95 private static Bundle createBundle(String expectedHostBrowser) { |
| 96 Bundle bundle = new Bundle(); | 96 Bundle bundle = new Bundle(); |
| 97 bundle.putString(WebApkServiceImpl.KEY_EXPECTED_HOST_BROWSER, expectedHo
stBrowser); | 97 bundle.putString(WebApkServiceImpl.KEY_EXPECTED_HOST_BROWSER, expectedHo
stBrowser); |
| 98 return bundle; | 98 return bundle; |
| 99 } | 99 } |
| 100 } | 100 } |
| OLD | NEW |