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

Side by Side Diff: webrtc/androidjunit/src/org/webrtc/CameraEnumerationTest.java

Issue 2203723002: Re-order and remove unused Java imports. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fix a comment. Created 4 years, 4 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
« no previous file with comments | « no previous file | webrtc/api/android/java/src/org/webrtc/EglBase10.java » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 package org.webrtc; 11 package org.webrtc;
12 12
13 import static org.junit.Assert.assertEquals; 13 import static org.junit.Assert.assertEquals;
14 import static org.webrtc.CameraEnumerationAndroid.getClosestSupportedFramerateRa nge; 14 import static org.webrtc.CameraEnumerationAndroid.getClosestSupportedFramerateRa nge;
15 15
16 import org.webrtc.CameraEnumerationAndroid.CaptureFormat;
17 import org.webrtc.CameraEnumerationAndroid.CaptureFormat.FramerateRange; 16 import org.webrtc.CameraEnumerationAndroid.CaptureFormat.FramerateRange;
18 17
19 import org.junit.Test; 18 import org.junit.Test;
20 import org.junit.runner.RunWith; 19 import org.junit.runner.RunWith;
21 import org.robolectric.RobolectricTestRunner; 20 import org.robolectric.RobolectricTestRunner;
22 import org.robolectric.annotation.Config; 21 import org.robolectric.annotation.Config;
23 22
24 import java.util.Arrays; 23 import java.util.Arrays;
25 24
26 /** 25 /**
(...skipping 19 matching lines...) Expand all
46 15 /* requestedFps */)); 45 15 /* requestedFps */));
47 46
48 assertEquals(new FramerateRange(10000, 20000), 47 assertEquals(new FramerateRange(10000, 20000),
49 getClosestSupportedFramerateRange( 48 getClosestSupportedFramerateRange(
50 Arrays.asList(new FramerateRange(15000, 15000), 49 Arrays.asList(new FramerateRange(15000, 15000),
51 new FramerateRange(10000, 20000), 50 new FramerateRange(10000, 20000),
52 new FramerateRange(10000, 30000)), 51 new FramerateRange(10000, 30000)),
53 10 /* requestedFps */)); 52 10 /* requestedFps */));
54 } 53 }
55 } 54 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/android/java/src/org/webrtc/EglBase10.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698