Adding placeholder ortc_unittests target.

This will allow the trybots to be updated to start running this new test
executable, so that they can be used when landing this CL which will
replace the dummy test with real tests:
https://codereview.webrtc.org/2675173003/

BUG=webrtc:7013
TBR=tommi@webrtc.org

Review-Url: https://codereview.webrtc.org/2707013005
Cr-Commit-Position: refs/heads/master@{#16784}
This commit is contained in:
deadbeef 2017-02-22 23:45:38 -08:00 committed by Commit bot
parent 5e9baff6d4
commit 4b1bf6c2f0
3 changed files with 48 additions and 0 deletions

View File

@ -299,6 +299,7 @@ if (!build_with_chromium) {
"modules/rtp_rtcp:test_packet_masks_metrics",
"modules/video_capture:video_capture_internal_impl",
"modules/video_coding:plot_videoprocessor_integrationtest",
"ortc:ortc_unittests",
"pc:peerconnection_unittests",
"pc:rtc_pc_unittests",
"stats:rtc_stats_unittests",

31
webrtc/ortc/BUILD.gn Normal file
View File

@ -0,0 +1,31 @@
# Copyright (c) 2017 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.
import("../webrtc.gni")
if (is_android) {
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
}
if (rtc_include_tests) {
rtc_test("ortc_unittests") {
testonly = true
sources = [
"dummy_test.cc",
]
deps = [
"../base:rtc_base_tests_main",
]
if (is_android) {
deps += [ "//testing/android/native_test:native_test_support" ]
}
}
}

16
webrtc/ortc/dummy_test.cc Normal file
View File

@ -0,0 +1,16 @@
/*
* Copyright 2017 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.
*/
#include "webrtc/test/gtest.h"
// This is just a placeholder test so that trybots can be updated to run the
// new "ortc_unittests" target.
TEST(DummyOrtcTest, Test) {
}