Home
last modified time | relevance | path

Searched refs:expectedMeta (Results 1 – 9 of 9) sorted by relevance

/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/test/
H A Dfirmware_state_verificationstarted_unittest.cpp76 expectedMeta.size = 0; in TEST_F()
78 expectedMeta.metadata.push_back( in TEST_F()
82 EXPECT_EQ(expectedMeta, meta); in TEST_F()
93 expectedMeta.size = 0; in TEST_F()
95 expectedMeta.metadata.push_back( in TEST_F()
99 EXPECT_EQ(expectedMeta, meta); in TEST_F()
113 expectedMeta.size = 0; in TEST_F()
115 expectedMeta.metadata.push_back( in TEST_F()
119 EXPECT_EQ(expectedMeta, meta); in TEST_F()
134 expectedMeta.size = 0; in TEST_F()
[all …]
H A Dfirmware_state_updatestarted_unittest.cpp176 blobs::BlobMeta meta, expectedMeta = {}; in TEST_F() local
177 expectedMeta.size = 0; in TEST_F()
179 expectedMeta.metadata.push_back( in TEST_F()
183 EXPECT_EQ(expectedMeta, meta); in TEST_F()
194 blobs::BlobMeta meta, expectedMeta = {}; in TEST_F() local
195 expectedMeta.size = 0; in TEST_F()
197 expectedMeta.metadata.push_back( in TEST_F()
201 EXPECT_EQ(expectedMeta, meta); in TEST_F()
213 expectedMeta.size = 0; in TEST_F()
215 expectedMeta.metadata.push_back( in TEST_F()
[all …]
H A Dfirmware_state_updatecompleted_unittest.cpp69 blobs::BlobMeta meta, expectedMeta = {}; in TEST_F() local
70 expectedMeta.size = 0; in TEST_F()
71 expectedMeta.blobState = flags | blobs::StateFlags::committed; in TEST_F()
72 expectedMeta.metadata.push_back( in TEST_F()
76 EXPECT_EQ(expectedMeta, meta); in TEST_F()
86 blobs::BlobMeta meta, expectedMeta = {}; in TEST_F() local
87 expectedMeta.size = 0; in TEST_F()
88 expectedMeta.blobState = flags | blobs::StateFlags::commit_error; in TEST_F()
89 expectedMeta.metadata.push_back( in TEST_F()
93 EXPECT_EQ(expectedMeta, meta); in TEST_F()
H A Dfirmware_state_verificationcompleted_unittest.cpp166 blobs::BlobMeta meta, expectedMeta = {}; in TEST_F() local
167 expectedMeta.size = 0; in TEST_F()
168 expectedMeta.blobState = flags | blobs::StateFlags::committed; in TEST_F()
169 expectedMeta.metadata.push_back( in TEST_F()
173 EXPECT_EQ(expectedMeta, meta); in TEST_F()
183 blobs::BlobMeta meta, expectedMeta = {}; in TEST_F() local
184 expectedMeta.size = 0; in TEST_F()
185 expectedMeta.blobState = flags | blobs::StateFlags::commit_error; in TEST_F()
186 expectedMeta.metadata.push_back( in TEST_F()
190 EXPECT_EQ(expectedMeta, meta); in TEST_F()
H A Dfirmware_state_updatepending_unittest.cpp188 blobs::BlobMeta meta, expectedMeta = {}; in TEST_F() local
189 expectedMeta.size = 0; in TEST_F()
190 expectedMeta.blobState = flags; in TEST_F()
191 expectedMeta.metadata.push_back( in TEST_F()
195 EXPECT_EQ(expectedMeta, meta); in TEST_F()
H A Dfirmware_state_uploadinprogress_unittest.cpp122 blobs::BlobMeta meta, expectedMeta = {}; in TEST_F() local
123 expectedMeta.size = 32; in TEST_F()
124 expectedMeta.blobState = in TEST_F()
128 EXPECT_EQ(expectedMeta, meta); in TEST_F()
H A Dfirmware_state_verificationpending_unittest.cpp304 blobs::BlobMeta meta, expectedMeta = {}; in TEST_F() local
305 expectedMeta.size = 0; in TEST_F()
306 expectedMeta.blobState = flags; in TEST_F()
307 expectedMeta.metadata.push_back( in TEST_F()
311 EXPECT_EQ(expectedMeta, meta); in TEST_F()
/openbmc/phosphor-dbus-monitor/src/test/
H A Dpathgentest.cpp14 const std::array<std::string, 3> expectedMeta = { variable
75 ASSERT_EQ(sizeof(expectedMeta), sizeof(meta)); in TEST()
96 for (i = 0; i < expectedMeta.size(); ++i) in TEST()
98 ASSERT_EQ(meta[i], expectedMeta[i]); in TEST()
H A Dpropertygentest.cpp17 const std::array<std::string, 3> expectedMeta = { variable
66 ASSERT_EQ(sizeof(expectedMeta), sizeof(meta)); in TEST()
92 for (i = 0; i < expectedMeta.size(); ++i) in TEST()
94 ASSERT_EQ(meta[i], expectedMeta[i]); in TEST()