mirror of
https://github.com/akuker/RASCSI.git
synced 2025-01-02 09:35:58 +00:00
Update unit tests
This commit is contained in:
parent
040e5532a8
commit
12d43f370d
@ -30,6 +30,8 @@ TEST(DeviceFactoryTest, GetTypeForFile)
|
|||||||
EXPECT_EQ(device_factory.GetTypeForFile("test.mos"), SCMO);
|
EXPECT_EQ(device_factory.GetTypeForFile("test.mos"), SCMO);
|
||||||
EXPECT_EQ(device_factory.GetTypeForFile("test.iso"), SCCD);
|
EXPECT_EQ(device_factory.GetTypeForFile("test.iso"), SCCD);
|
||||||
EXPECT_EQ(device_factory.GetTypeForFile("test.is1"), 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("test.suffix.iso"), SCCD);
|
||||||
EXPECT_EQ(device_factory.GetTypeForFile("bridge"), SCBR);
|
EXPECT_EQ(device_factory.GetTypeForFile("bridge"), SCBR);
|
||||||
EXPECT_EQ(device_factory.GetTypeForFile("daynaport"), SCDP);
|
EXPECT_EQ(device_factory.GetTypeForFile("daynaport"), SCDP);
|
||||||
|
@ -254,5 +254,5 @@ TEST(PiscsiResponseTest, GetMappingInfo)
|
|||||||
|
|
||||||
PbMappingInfo info;
|
PbMappingInfo info;
|
||||||
response.GetMappingInfo(info);
|
response.GetMappingInfo(info);
|
||||||
EXPECT_EQ(10, info.mapping().size());
|
EXPECT_EQ(12, info.mapping().size());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user