Searched refs:EolStatus (Results 1 – 5 of 5) sorted by relevance
32 const char* EolStatusToString(EolStatus eol_status) { in EolStatusToString()34 case EolStatus::kSupported: in EolStatusToString()36 case EolStatus::kSecurityOnly: in EolStatusToString()38 case EolStatus::kEol: in EolStatusToString()46 EolStatus StringToEolStatus(const std::string& eol_status) { in StringToEolStatus()48 return EolStatus::kSupported; in StringToEolStatus()50 return EolStatus::kSecurityOnly; in StringToEolStatus()52 return EolStatus::kEol; in StringToEolStatus()54 return EolStatus::kSupported; in StringToEolStatus()
27 EXPECT_EQ(EolStatus::kEol, StringToEolStatus("eol")); in TEST()30 const std::vector<EolStatus> tests = { in TEST()31 EolStatus::kSupported, EolStatus::kSecurityOnly, EolStatus::kEol}; in TEST()32 for (EolStatus eol_status : tests) { in TEST()38 EXPECT_EQ(EolStatus::kSupported, StringToEolStatus("")); in TEST()39 EXPECT_EQ(EolStatus::kSupported, StringToEolStatus("hello, world!")); in TEST()
25 enum class EolStatus { enum32 const char* EolStatusToString(EolStatus eol_status);36 EolStatus StringToEolStatus(const std::string& eol_status);
176 int32_t eol_status = static_cast<int32_t>(EolStatus::kEol); in TEST_F()179 EXPECT_EQ(EolStatus::kSupported, static_cast<EolStatus>(eol_status)); in TEST_F()184 EXPECT_EQ(EolStatus::kSecurityOnly, static_cast<EolStatus>(eol_status)); in TEST_F()
42 using chromeos_update_engine::EolStatus;638 EolStatus eol_status_code = static_cast<EolStatus>(eol_status); in ProcessFlags()