mirror of
https://github.com/akuker/RASCSI.git
synced 2026-04-25 14:26:28 +00:00
Use lambdas for dispatcher, code cleanup, test updates (#958)
* Using lambdas instead of member function pointers simplifies the command dispatching and reduces the code volume * Removed duplicate error handling * Fix for issue #956 * Unit test updates * Resolved SonarQube issues
This commit is contained in:
@@ -117,8 +117,3 @@ TEST(ScsiHdTest, ModeSelect)
|
||||
buf[20] = 0x02;
|
||||
EXPECT_NO_THROW(hd.ModeSelect(scsi_command::eCmdModeSelect10, cmd, buf, 255)) << "MODE SELECT(10) is supported";
|
||||
}
|
||||
|
||||
TEST(ScsiHdTest, Dispatch)
|
||||
{
|
||||
TestDispatch(SCHD);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user