MCPcopy Create free account
hub / github.com/Simple-XX/SimpleKernel / TEST

Function TEST

tests/unit_test/virtio_driver_test.cpp:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5#include <gtest/gtest.h>
6
7TEST(VirtioDriverTest, GetEntryNameIsVirtio) {
8 const auto& entry = VirtioDriver::GetEntry();
9 EXPECT_STREQ(entry.name, "virtio");
10}
11
12TEST(VirtioDriverTest, MatchStaticReturnsFalseWhenNoMmioBase) {
13 DeviceNode node{};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected