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

Side by Side Diff: components/cronet/android/test/javatests/src/org/chromium/net/SdchTest.java

Issue 2583933003: Replace deprecated Android java test annotations (Closed)
Patch Set: Rebase again :( Created 3 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.net; 5 package org.chromium.net;
6 6
7 import android.os.ConditionVariable; 7 import android.os.ConditionVariable;
8 import android.test.suitebuilder.annotation.SmallTest; 8 import android.support.test.filters.SmallTest;
9 9
10 import org.json.JSONException; 10 import org.json.JSONException;
11 import org.json.JSONObject; 11 import org.json.JSONObject;
12 12
13 import org.chromium.base.test.util.Feature; 13 import org.chromium.base.test.util.Feature;
14 import org.chromium.net.impl.CronetUrlRequestContext; 14 import org.chromium.net.impl.CronetUrlRequestContext;
15 15
16 import java.io.BufferedReader; 16 import java.io.BufferedReader;
17 import java.io.FileReader; 17 import java.io.FileReader;
18 import java.io.IOException; 18 import java.io.IOException;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 while ((line = reader.readLine()) != null) { 189 while ((line = reader.readLine()) != null) {
190 if (line.contains(content)) { 190 if (line.contains(content)) {
191 reader.close(); 191 reader.close();
192 return true; 192 return true;
193 } 193 }
194 } 194 }
195 reader.close(); 195 reader.close();
196 return false; 196 return false;
197 } 197 }
198 } 198 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698