diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2020-11-12 14:03:15 -0500 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2020-11-12 14:03:15 -0500 |
commit | 6a0e461c145377994e3aab0edaf921b8cd72a473 (patch) | |
tree | fc9855f23a74b645a94e44c2c69f44ac3a07ef34 | |
parent | 4d07273e135597f04118237466a4746a21477588 (diff) | |
download | sdl_ios-6a0e461c145377994e3aab0edaf921b8cd72a473.tar.gz |
Add additional test
-rw-r--r-- | SmartDeviceLinkTests/DevAPISpecs/SDLVoiceCommandManagerSpec.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLVoiceCommandManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLVoiceCommandManagerSpec.m index e000ee5cd..c35f9d5f9 100644 --- a/SmartDeviceLinkTests/DevAPISpecs/SDLVoiceCommandManagerSpec.m +++ b/SmartDeviceLinkTests/DevAPISpecs/SDLVoiceCommandManagerSpec.m @@ -12,6 +12,7 @@ #import "SDLRPCNotificationNotification.h" #import "SDLVoiceCommand.h" #import "SDLVoiceCommandManager.h" +#import "SDLVoiceCommandUpdateOperation.h" #import "TestConnectionManager.h" @interface SDLVoiceCommand() @@ -101,6 +102,7 @@ describe(@"voice command manager", ^{ it(@"should properly update a command", ^{ testManager.voiceCommands = @[testVoiceCommand]; + expect(testManager.voiceCommands.firstObject.commandId).to(equal(VoiceCommandIdMin)); expect(testManager.transactionQueue.isSuspended).to(beFalse()); expect(testManager.transactionQueue.operationCount).to(equal(1)); }); |