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

Unified Diff: components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/NetworkChangeNotifierTest.java

Issue 884003004: Rename org.chromium.cronet_test_apk to org.chromium.net (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 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: components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/NetworkChangeNotifierTest.java
diff --git a/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/NetworkChangeNotifierTest.java b/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/NetworkChangeNotifierTest.java
deleted file mode 100644
index 8bd11b1ce9c10b288d053ddb34e3ab19628a0a2f..0000000000000000000000000000000000000000
--- a/components/cronet/android/test/javatests/src/org/chromium/cronet_test_apk/NetworkChangeNotifierTest.java
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2014 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.cronet_test_apk;
-
-import android.test.suitebuilder.annotation.SmallTest;
-
-import org.chromium.base.test.util.Feature;
-
-/**
- * Tests that NetworkChangeNotifier is initialized.
- */
-public class NetworkChangeNotifierTest extends CronetTestBase {
- /**
- * Adds a IPAddressObserver and checks whether it receives notifications.
- * This serves as an indirect way to test that Cronet has an active
- * network notifier.
- */
- @SmallTest
- @Feature({"Cronet"})
- public void testNetworkChangeNotifierIsInitialized() throws Exception {
- CronetTestActivity activity = launchCronetTestApp();
- assertNotNull(activity);
- assertTrue(NetworkChangeNotifierUtil.isTestIPAddressObserverCalled());
- }
-}

Powered by Google App Engine
This is Rietveld 408576698