Fixed silly error on Windows.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/408007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1773 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
phoglund@webrtc.org 2012-02-27 16:27:50 +00:00
parent 914ef27c63
commit 13e8528f32

View File

@ -95,35 +95,35 @@ class ViERtpFuzzTest : public TwoWindowsFixture {
TEST_F(ViERtpFuzzTest, VideoEngineDealsWithASmallNumberOfTamperedPackets) { TEST_F(ViERtpFuzzTest, VideoEngineDealsWithASmallNumberOfTamperedPackets) {
// Try 0.005% bit flip chance per byte. // Try 0.005% bit flip chance per byte.
BitFlipFuzzTest(0.00005); BitFlipFuzzTest(0.00005f);
} }
TEST_F(ViERtpFuzzTest, VideoEngineDealsWithAMediumNumberOfTamperedPackets) { TEST_F(ViERtpFuzzTest, VideoEngineDealsWithAMediumNumberOfTamperedPackets) {
// Try 0.05% bit flip chance per byte. // Try 0.05% bit flip chance per byte.
BitFlipFuzzTest(0.0005); BitFlipFuzzTest(0.0005f);
} }
TEST_F(ViERtpFuzzTest, VideoEngineDealsWithALargeNumberOfTamperedPackets) { TEST_F(ViERtpFuzzTest, VideoEngineDealsWithALargeNumberOfTamperedPackets) {
// Try 0.5% bit flip chance per byte. // Try 0.5% bit flip chance per byte.
BitFlipFuzzTest(0.005); BitFlipFuzzTest(0.005f);
} }
TEST_F(ViERtpFuzzTest, VideoEngineDealsWithAVeryLargeNumberOfTamperedPackets) { TEST_F(ViERtpFuzzTest, VideoEngineDealsWithAVeryLargeNumberOfTamperedPackets) {
// Try 5% bit flip chance per byte. // Try 5% bit flip chance per byte.
BitFlipFuzzTest(0.05); BitFlipFuzzTest(0.05f);
} }
TEST_F(ViERtpFuzzTest, TEST_F(ViERtpFuzzTest,
VideoEngineDealsWithAExtremelyLargeNumberOfTamperedPackets) { VideoEngineDealsWithAExtremelyLargeNumberOfTamperedPackets) {
// Try 25% bit flip chance per byte (madness!) // Try 25% bit flip chance per byte (madness!)
BitFlipFuzzTest(0.25); BitFlipFuzzTest(0.25f);
} }
TEST_F(ViERtpFuzzTest, VideoEngineDealsWithSeveralPeriodsOfTamperedPackets) { TEST_F(ViERtpFuzzTest, VideoEngineDealsWithSeveralPeriodsOfTamperedPackets) {
// Try 0.05% bit flip chance per byte. // Try 0.05% bit flip chance per byte.
BitFlipFuzzTest(0.0005); BitFlipFuzzTest(0.0005f);
BitFlipFuzzTest(0.0005); BitFlipFuzzTest(0.0005f);
BitFlipFuzzTest(0.0005); BitFlipFuzzTest(0.0005f);
} }
TEST_F(ViERtpFuzzTest, VideoEngineRecoversAfterSomeCompletelyRandomPackets) { TEST_F(ViERtpFuzzTest, VideoEngineRecoversAfterSomeCompletelyRandomPackets) {