Conversation
* Adds empty credentials file so tests compile * Creates EmptyTests target The empty tests are now run on the iOS scheme. Let's keep it like this until we have mocked objects for the tests. The purpose of doing this is to make sure our CI passes the builds.
Updates eu_vehicle and motorized_charge_port, both of these properties are now optional.
| } else { | ||
| XCTFail() | ||
| } | ||
| case .failure(_): |
There was a problem hiding this comment.
Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
| XCTFail() | ||
| } | ||
| case .failure(_): | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| if result == true { | ||
| waitExpectation.fulfill() | ||
| } else { | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| } else { | ||
| XCTFail() | ||
| } | ||
| case .failure(_): |
There was a problem hiding this comment.
Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
| } else { | ||
| XCTFail() | ||
| } | ||
| case .failure(_): |
There was a problem hiding this comment.
Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
| case .success(_): | ||
| waitExpectation.fulfill() | ||
| case .failure(_): | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
|
|
||
| public struct HVACRequest: RequestProtocol { | ||
| public enum HVACState { | ||
| case on |
There was a problem hiding this comment.
Identifier Name Violation: Enum element name should be between 3 and 40 characters long: 'on' (identifier_name)
| } | ||
| return | ||
| } | ||
| let responseDict = response as! [String: [String: Any]] |
There was a problem hiding this comment.
Force Cast Violation: Force casts should be avoided. (force_cast)
| passengerTempSetting = dict["passenger_temp_setting"] as! Double | ||
| isAutoConditioningOn = dict["is_auto_conditioning_on"] as! Bool | ||
| isFrontDefrosterOn = dict["is_front_defroster_on"] as! Bool | ||
| isRearDefrosterOn = dict["is_rear_defroster_on"] as! Bool |
There was a problem hiding this comment.
Force Cast Violation: Force casts should be avoided. (force_cast)
| driverTempSetting = dict["driver_temp_setting"] as! Double | ||
| passengerTempSetting = dict["passenger_temp_setting"] as! Double | ||
| isAutoConditioningOn = dict["is_auto_conditioning_on"] as! Bool | ||
| isFrontDefrosterOn = dict["is_front_defroster_on"] as! Bool |
There was a problem hiding this comment.
Force Cast Violation: Force casts should be avoided. (force_cast)
| } else { | ||
| XCTFail() | ||
| } | ||
| case .failure(_): |
There was a problem hiding this comment.
Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
| XCTFail() | ||
| } | ||
| case .failure(_): | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| if result { | ||
| waitExpectation.fulfill() | ||
| } else { | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| } else { | ||
| XCTFail() | ||
| } | ||
| case .failure(_): |
There was a problem hiding this comment.
Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
| XCTFail() | ||
| } | ||
| case .failure(_): | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| if result { | ||
| waitExpectation.fulfill() | ||
| } else { | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| } else { | ||
| XCTFail() | ||
| } | ||
| case .failure(_): |
There was a problem hiding this comment.
Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
| XCTFail() | ||
| } | ||
| case .failure(_): | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| if result { | ||
| waitExpectation.fulfill() | ||
| } else { | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| } else { | ||
| XCTFail() | ||
| } | ||
| case .failure(_): |
There was a problem hiding this comment.
Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
| XCTFail() | ||
| } | ||
| case .failure(_): | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| if result { | ||
| waitExpectation.fulfill() | ||
| } else { | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| } else { | ||
| XCTFail() | ||
| } | ||
| case .failure(_): |
There was a problem hiding this comment.
Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
| XCTFail() | ||
| } | ||
| case .failure(_): | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| if result { | ||
| waitExpectation.fulfill() | ||
| } else { | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| } else { | ||
| XCTFail() | ||
| } | ||
| case .failure(_): |
There was a problem hiding this comment.
Empty Enum Arguments Violation: Arguments can be omitted when matching enums with associated types if they are not used. (empty_enum_arguments)
| XCTFail() | ||
| } | ||
| case .failure(_): | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
| if result { | ||
| waitExpectation.fulfill() | ||
| } else { | ||
| XCTFail() |
There was a problem hiding this comment.
XCTFail Message Violation: An XCTFail call should include a description of the assertion. (xctfail_message)
I need these for a feature I'm workin on for Volante.