webm_parser: Enable usage of werror.
Mass warning clean up. Mainly: - Explicit casts of numeric literals to avoid signed/unsigned compare warnings. - Commenting out of unused function arg names. Change-Id: I0e70393a5743ae984035d43712c724d4ccd12f9d
This commit is contained in:
@@ -28,7 +28,7 @@ TEST_F(TimeSliceParserTest, DefaultParse) {
|
||||
const TimeSlice time_slice = parser_.value();
|
||||
|
||||
EXPECT_FALSE(time_slice.lace_number.is_present());
|
||||
EXPECT_EQ(0, time_slice.lace_number.value());
|
||||
EXPECT_EQ(static_cast<std::uint64_t>(0), time_slice.lace_number.value());
|
||||
}
|
||||
|
||||
TEST_F(TimeSliceParserTest, DefaultValues) {
|
||||
@@ -42,7 +42,7 @@ TEST_F(TimeSliceParserTest, DefaultValues) {
|
||||
const TimeSlice time_slice = parser_.value();
|
||||
|
||||
EXPECT_TRUE(time_slice.lace_number.is_present());
|
||||
EXPECT_EQ(0, time_slice.lace_number.value());
|
||||
EXPECT_EQ(static_cast<std::uint64_t>(0), time_slice.lace_number.value());
|
||||
}
|
||||
|
||||
TEST_F(TimeSliceParserTest, CustomValues) {
|
||||
@@ -57,7 +57,7 @@ TEST_F(TimeSliceParserTest, CustomValues) {
|
||||
const TimeSlice time_slice = parser_.value();
|
||||
|
||||
EXPECT_TRUE(time_slice.lace_number.is_present());
|
||||
EXPECT_EQ(1, time_slice.lace_number.value());
|
||||
EXPECT_EQ(static_cast<std::uint64_t>(1), time_slice.lace_number.value());
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user