| 5 | #include <gtest/gtest.h> |
| 6 | |
| 7 | TEST(BlocklistDriver, Valid1) |
| 8 | { |
| 9 | #ifdef CONF_FAMILY_WINDOWS |
| 10 | int Major = -1, Minor = -1, Patch = -1; |
| 11 | bool WarningReq = false; |
| 12 | EXPECT_STREQ(ParseBlocklistDriverVersions("Intel", "Build 26.20.100.7810", Major, Minor, Patch, WarningReq), "This Intel driver version can cause crashes, please update it to a newer version."); |
| 13 | EXPECT_EQ(Major, 2); |
| 14 | EXPECT_EQ(Minor, 0); |
| 15 | EXPECT_EQ(Patch, 0); |
| 16 | #endif |
| 17 | } |
| 18 | |
| 19 | TEST(BlocklistDriver, Valid2) |
| 20 | { |
nothing calls this directly
no test coverage detected