MCPcopy Create free account
hub / github.com/apache/kvrocks / CheckStreamEntryValues

Method CheckStreamEntryValues

tests/cppunit/types/stream_test.cc:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33class RedisStreamTest : public TestBase { // NOLINT
34 public:
35 static void CheckStreamEntryValues(const std::vector<std::string> &got, const std::vector<std::string> &expected) {
36 EXPECT_EQ(got.size(), expected.size());
37 for (size_t i = 0; i < got.size(); ++i) {
38 EXPECT_EQ(got[i], expected[i]);
39 }
40 }
41
42 protected:
43 RedisStreamTest() : name_("test_stream") { stream_ = new redis::Stream(storage_.get(), "stream_ns"); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected