aboutsummaryrefslogtreecommitdiff
path: root/pc/peerconnection_signaling_unittest.cc
diff options
context:
space:
mode:
authorSteve Anton <steveanton@webrtc.org>2018-01-22 10:21:56 -0800
committerCommit Bot <commit-bot@chromium.org>2018-01-25 01:34:46 +0000
commitad7bffccd1fc8a64f70ce73036f958586d97f0bb (patch)
tree2dbfa5e79dfaf2197d3ccbaf886da5901b3411bb /pc/peerconnection_signaling_unittest.cc
parent9bb8f0553d99c67d1eb3f7e57d6345150b2d5993 (diff)
downloadwebrtc-ad7bffccd1fc8a64f70ce73036f958586d97f0bb.tar.gz
Parameterize PeerConnection media tests for Unified Plan
Bug: webrtc:8765 Change-Id: I9bcd053c3e5f6524576f8da9f818de82fcd1836d Reviewed-on: https://webrtc-review.googlesource.com/41020 Commit-Queue: Steve Anton <steveanton@webrtc.org> Reviewed-by: Taylor Brandstetter <deadbeef@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21754}
Diffstat (limited to 'pc/peerconnection_signaling_unittest.cc')
-rw-r--r--pc/peerconnection_signaling_unittest.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/pc/peerconnection_signaling_unittest.cc b/pc/peerconnection_signaling_unittest.cc
index 282ce1ce53..cd26f8ba51 100644
--- a/pc/peerconnection_signaling_unittest.cc
+++ b/pc/peerconnection_signaling_unittest.cc
@@ -209,19 +209,6 @@ class PeerConnectionSignalingStateTest
}
};
-::testing::AssertionResult AssertStartsWith(const char* str_expr,
- const char* prefix_expr,
- const std::string& str,
- const std::string& prefix) {
- if (rtc::starts_with(str.c_str(), prefix.c_str())) {
- return ::testing::AssertionSuccess();
- } else {
- return ::testing::AssertionFailure()
- << str_expr << "\nwhich is\n\"" << str << "\"\ndoes not start with\n"
- << prefix_expr << "\nwhich is\n\"" << prefix << "\"";
- }
-}
-
TEST_P(PeerConnectionSignalingStateTest, CreateOffer) {
auto wrapper = CreatePeerConnectionInState(GetParam());
if (wrapper->signaling_state() != SignalingState::kClosed) {