update hyper-v driver_mock.go

pull/8714/head
William Brooks 6 years ago
parent 31622b50ac
commit 9891e75f75

@ -229,12 +229,13 @@ type DriverMock struct {
MountDvdDrive_ControllerLocation uint MountDvdDrive_ControllerLocation uint
MountDvdDrive_Err error MountDvdDrive_Err error
SetBootDvdDrive_Called bool SetBootDvdDrive_Called bool
SetBootDvdDrive_VmName string SetBootDvdDrive_VmName string
SetBootDvdDrive_ControllerNumber uint SetBootDvdDrive_ControllerNumber uint
SetBootDvdDrive_ControllerLocation uint SetBootDvdDrive_ControllerLocation uint
SetBootDvdDrive_Generation uint SetBootDvdDrive_Generation uint
SetBootDvdDrive_Err error SetBootDvdDrive_LegacyGen1BootOrder bool
SetBootDvdDrive_Err error
UnmountDvdDrive_Called bool UnmountDvdDrive_Called bool
UnmountDvdDrive_VmName string UnmountDvdDrive_VmName string
@ -566,12 +567,13 @@ func (d *DriverMock) MountDvdDrive(vmName string, path string, controllerNumber
} }
func (d *DriverMock) SetBootDvdDrive(vmName string, controllerNumber uint, controllerLocation uint, func (d *DriverMock) SetBootDvdDrive(vmName string, controllerNumber uint, controllerLocation uint,
generation uint) error { generation uint, legacyGen1BootOrder bool) error {
d.SetBootDvdDrive_Called = true d.SetBootDvdDrive_Called = true
d.SetBootDvdDrive_VmName = vmName d.SetBootDvdDrive_VmName = vmName
d.SetBootDvdDrive_ControllerNumber = controllerNumber d.SetBootDvdDrive_ControllerNumber = controllerNumber
d.SetBootDvdDrive_ControllerLocation = controllerLocation d.SetBootDvdDrive_ControllerLocation = controllerLocation
d.SetBootDvdDrive_Generation = generation d.SetBootDvdDrive_Generation = generation
d.SetBootDvdDrive_LegacyGen1BootOrder = legacyGen1BootOrder
return d.SetBootDvdDrive_Err return d.SetBootDvdDrive_Err
} }

Loading…
Cancel
Save