// // SDLControlFramePayloadConstantsSpec.m // SmartDeviceLinkTests // // Created by Nicole on 2/27/19. // Copyright © 2019 smartdevicelink. All rights reserved. // #import #import #import "SDLControlFramePayloadConstants.h" QuickSpecBegin(SDLControlFramePayloadConstantsSpec) describe(@"Individual Enum Value Tests", ^ { it(@"Should match internal values", ^ { expect(SDLControlFrameInt32NotFound).to(equal(-1)); expect(SDLControlFrameInt64NotFound).to(equal(-1)); expect(SDLControlFrameProtocolVersionKey).to(equal(@"protocolVersion")); expect(SDLControlFrameHashIdKey).to(equal(@"hashId")); expect(SDLControlFrameMTUKey).to(equal(@"mtu")); expect(SDLControlFrameSecondaryTransportsKey).to(equal(@"secondaryTransports")); expect(SDLControlFrameAudioServiceTransportsKey).to(equal(@"audioServiceTransports")); expect(SDLControlFrameVideoServiceTransportsKey).to(equal(@"videoServiceTransports")); expect(SDLControlFrameAuthTokenKey).to(equal(@"authToken")); expect(SDLControlFrameRejectedParams).to(equal(@"rejectedParams")); expect(SDLControlFrameReasonKey).to(equal(@"reason")); expect(SDLControlFrameVideoProtocolKey).to(equal(@"videoProtocol")); expect(SDLControlFrameVideoCodecKey).to(equal(@"videoCodec")); expect(SDLControlFrameHeightKey).to(equal(@"height")); expect(SDLControlFrameWidthKey).to(equal(@"width")); expect(SDLControlFrameTCPIPAddressKey).to(equal(@"tcpIpAddress")); expect(SDLControlFrameTCPPortKey).to(equal(@"tcpPort")); }); }); QuickSpecEnd