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

Unified Diff: webrtc/api/androidtests/src/org/webrtc/WebRtcJniBootTest.java

Issue 2541823002: Move webrtc/api/androidtests to webrtc/sdk/android/instrumentationtests (Closed)
Patch Set: Make include for webrtc.gni absolute Created 4 years 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: webrtc/api/androidtests/src/org/webrtc/WebRtcJniBootTest.java
diff --git a/webrtc/api/androidtests/src/org/webrtc/WebRtcJniBootTest.java b/webrtc/api/androidtests/src/org/webrtc/WebRtcJniBootTest.java
deleted file mode 100644
index 2f04f15ddf1c0853f305b8fb52bde6a9fc1f3250..0000000000000000000000000000000000000000
--- a/webrtc/api/androidtests/src/org/webrtc/WebRtcJniBootTest.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright 2016 The WebRTC Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-package org.appspot.apprtc.test;
-
-import android.test.InstrumentationTestCase;
-import android.test.suitebuilder.annotation.SmallTest;
-
-import org.webrtc.PeerConnectionFactory;
-
-// This test is intended to run on ARM and catch LoadLibrary errors when we load the WebRTC
-// JNI. It can't really be setting up calls since ARM emulators are too slow, but instantiating
-// a peer connection isn't timing-sensitive, so we can at least do that.
-public class WebRtcJniBootTest extends InstrumentationTestCase {
- @SmallTest
- public void testJniLoadsWithoutError() throws InterruptedException {
- PeerConnectionFactory.initializeAndroidGlobals(getInstrumentation().getTargetContext(),
- true /* initializeAudio */, true /* initializeVideo */,
- false /* videoCodecHwAcceleration */);
-
- PeerConnectionFactory.Options options = new PeerConnectionFactory.Options();
- new PeerConnectionFactory(options);
- }
-}
« no previous file with comments | « webrtc/api/androidtests/src/org/webrtc/SurfaceViewRendererOnMeasureTest.java ('k') | webrtc/build/gn_isolate_map.pyl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698