mirror of https://github.com/akuker/RASCSI.git
21 lines
519 B
C++
21 lines
519 B
C++
//---------------------------------------------------------------------------
|
|
//
|
|
// SCSI Target Emulator RaSCSI Reloaded
|
|
// for Raspberry Pi
|
|
//
|
|
// Copyright (C) 2022 Uwe Seimet
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#include "mocks.h"
|
|
#include "rascsi_exceptions.h"
|
|
#include "devices/scsihd.h"
|
|
|
|
TEST(ScsiHdTest, FinalizeSetup)
|
|
{
|
|
MockSCSIHD_NEC disk(0);
|
|
Filepath filepath;
|
|
|
|
EXPECT_THROW(disk.FinalizeSetup(filepath, 2LL * 1024 * 1024 * 1024 * 1024 + 1, 0), io_exception);
|
|
}
|