Skip to content

Commit

Permalink
Merge pull request #3 from teufelaudio/Xcode13
Browse files Browse the repository at this point in the history
Fix generated mocks
  • Loading branch information
luizmb authored Sep 27, 2021
2 parents 347f336 + e7613bf commit 4cb10ca
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions Sources/CombineBluetoothMocks/AutoMockable.generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,7 @@ open class BluetoothCharacteristicMock: BluetoothCharacteristic {
set(value) { underlyingId = value }
}
open var underlyingId: CBUUID!
open var service: BluetoothService {
get { return underlyingService }
set(value) { underlyingService = value }
}
open var underlyingService: BluetoothService!
open var service: BluetoothService?
open var properties: CBCharacteristicProperties {
get { return underlyingProperties }
set(value) { underlyingProperties = value }
Expand All @@ -89,11 +85,7 @@ open class BluetoothDescriptorMock: BluetoothDescriptor {
set(value) { underlyingId = value }
}
open var underlyingId: CBUUID!
open var characteristic: BluetoothCharacteristic {
get { return underlyingCharacteristic }
set(value) { underlyingCharacteristic = value }
}
open var underlyingCharacteristic: BluetoothCharacteristic!
open var characteristic: BluetoothCharacteristic?
open var value: Any?
}
open class BluetoothManagerMock: BluetoothManager {
Expand Down Expand Up @@ -335,11 +327,7 @@ open class BluetoothServiceMock: BluetoothService {
set(value) { underlyingId = value }
}
open var underlyingId: CBUUID!
open var peripheral: UUID {
get { return underlyingPeripheral }
set(value) { underlyingPeripheral = value }
}
open var underlyingPeripheral: UUID!
open var peripheral: UUID?
open var isPrimary: Bool {
get { return underlyingIsPrimary }
set(value) { underlyingIsPrimary = value }
Expand Down

0 comments on commit 4cb10ca

Please sign in to comment.