Generalize FEC unit tests and rename GenerateFec.

- Rename GenerateFec -> EncodeFec in ForwardErrorCorrection. This naming
  is more consistent with DecodeFec.
- Add appropriate using directives, to reduce clutter in tests.
- Move ConstructMediaPackets to fec_test_helper.{h,cc}. This will help
  future tests of ULPFEC/FlexFEC header formatters.
- Generalize tests in rtp_fec_unittest.cc to typed tests. This will help
  testing ForwardErrorCorrection with both ULPFEC and FlexFEC.

This CL should not impact functionality or performance.

BUG=webrtc:5654

Review-Url: https://codereview.webrtc.org/2267393002
Cr-Commit-Position: refs/heads/master@{#14314}
This commit is contained in:
brandtr
2016-09-20 23:16:28 -07:00
committed by Commit bot
parent 3548357e1b
commit ece4aba64e
10 changed files with 681 additions and 552 deletions

File diff suppressed because it is too large Load Diff