Lines Matching +full:manufacturer +full:- +full:id
8 * http://www.apache.org/licenses/LICENSE-2.0
51 size_t id = 0; in TEST_F() local
55 {"Manufacturer"s, Value{"Mfg42"s}}, in TEST_F()
61 id, ts, assetProps); in TEST_F()
62 callout->serialize(persistDir); in TEST_F()
64 ASSERT_EQ(fs::exists(persistDir / std::to_string(id)), true); in TEST_F()
69 auto callout = std::make_unique<Callout>(bus, objectPath, id, ts); in TEST_F()
71 ASSERT_EQ(callout->deserialize(persistDir), true); in TEST_F()
73 ASSERT_EQ(callout->id(), id); in TEST_F()
74 ASSERT_EQ(callout->ts(), ts); in TEST_F()
75 ASSERT_EQ(callout->path(), calloutPath); in TEST_F()
76 ASSERT_EQ(callout->buildDate(), in TEST_F()
78 ASSERT_EQ(callout->manufacturer(), in TEST_F()
79 std::get<std::string>(assetProps["Manufacturer"])); in TEST_F()
80 ASSERT_EQ(callout->model(), std::get<std::string>(assetProps["Model"])); in TEST_F()
81 ASSERT_EQ(callout->partNumber(), in TEST_F()
83 ASSERT_EQ(callout->serialNumber(), in TEST_F()
89 auto callout = std::make_unique<Callout>(bus, objectPath, id, ts + 1); in TEST_F()
91 ASSERT_EQ(callout->deserialize(persistDir), false); in TEST_F()
92 ASSERT_EQ(fs::exists(persistDir / std::to_string(id)), false); in TEST_F()