Update unit tests

This commit is contained in:
Daniel Markstedt 2024-01-15 15:24:13 +09:00 committed by Daniel Markstedt
parent 040e5532a8
commit 12d43f370d
2 changed files with 3 additions and 1 deletions

View File

@ -30,6 +30,8 @@ TEST(DeviceFactoryTest, GetTypeForFile)
EXPECT_EQ(device_factory.GetTypeForFile("test.mos"), SCMO);
EXPECT_EQ(device_factory.GetTypeForFile("test.iso"), SCCD);
EXPECT_EQ(device_factory.GetTypeForFile("test.is1"), SCCD);
EXPECT_EQ(device_factory.GetTypeForFile("test.cdr"), SCCD);
EXPECT_EQ(device_factory.GetTypeForFile("test.toast"), SCCD);
EXPECT_EQ(device_factory.GetTypeForFile("test.suffix.iso"), SCCD);
EXPECT_EQ(device_factory.GetTypeForFile("bridge"), SCBR);
EXPECT_EQ(device_factory.GetTypeForFile("daynaport"), SCDP);

View File

@ -254,5 +254,5 @@ TEST(PiscsiResponseTest, GetMappingInfo)
PbMappingInfo info;
response.GetMappingInfo(info);
EXPECT_EQ(10, info.mapping().size());
EXPECT_EQ(12, info.mapping().size());
}