diff options
Diffstat (limited to 'payload_state_unittest.cc')
| -rw-r--r-- | payload_state_unittest.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/payload_state_unittest.cc b/payload_state_unittest.cc index a8067dca..44906374 100644 --- a/payload_state_unittest.cc +++ b/payload_state_unittest.cc @@ -101,17 +101,6 @@ static void SetupPayloadStateWith2Urls(string hash, class PayloadStateTest : public ::testing::Test { }; -TEST(PayloadStateTest, DidYouAddANewErrorCode) { - if (static_cast<int>(ErrorCode::kUmaReportedMax) != 48) { - LOG(ERROR) << "The following failure is intentional. If you added a new " - << "ErrorCode enum value, make sure to add it to the " - << "PayloadState::UpdateFailed method and then update this test " - << "to the new value of ErrorCode::kUmaReportedMax, which is " - << ErrorCode::kUmaReportedMax; - EXPECT_FALSE("Please see the log line above"); - } -} - TEST(PayloadStateTest, SetResponseWorksWithEmptyResponse) { OmahaResponse response; FakeSystemState fake_system_state; |
