Taylor Brandstetter dc4eb8c5b3 Refactoring some tests in peerconnectioninterface_unittest.cc.
Some tests were passing in a local description created from hard-coded
SDP strings, which won't work in the future (since some attributes such
as the fingerprint and ICE ufrag/pwd are non-modifiable). These tests
now do the typical approach of calling CreateOffer and modifying the
result if necessary.

Also added some non-const versions of the SessionDescription accessor
helper functions, since that makes it much easier to modify a
SessionDescription. Previous alternatives were re-implementing the
helper methods from scratch, or converting the description to SDP,
modifying it, and converting it back.

R=tommi@webrtc.org

Review URL: https://codereview.webrtc.org/1966333002 .

Cr-Commit-Position: refs/heads/master@{#12704}
2016-05-12 15:14:54 +00:00
..
2016-04-26 12:28:18 +00:00
2016-04-26 12:28:18 +00:00
2016-04-26 12:28:18 +00:00
2016-04-26 12:28:18 +00:00
2016-04-26 12:28:18 +00:00
2016-04-26 12:28:18 +00:00
2016-04-26 12:28:18 +00:00
2016-02-12 13:26:58 +00:00
2016-05-12 06:11:09 +00:00
2016-04-26 12:28:18 +00:00
2016-04-26 12:28:18 +00:00