summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2017-07-31 10:55:34 -0400
committerJoel Fischer <joeljfischer@gmail.com>2017-07-31 10:55:34 -0400
commitbda8e3d7639510e9e25a5141412cf8fb08e7c318 (patch)
tree214b6af38f6b66c33089b2d2908f19f249c65729
parent3672dc23da56b9ed4cd268511347652e58d8d1a0 (diff)
downloadsdl_ios-feature/issue_605_sdl_0049_gesture_cancellation_v5.0.0.tar.gz
Add updates for SDLTouchType enum with cancelfeature/issue_605_sdl_0049_gesture_cancellation_v5.0.0
-rw-r--r--SmartDeviceLink/SDLTouchType.h1
-rw-r--r--SmartDeviceLink/SDLTouchType.m1
-rw-r--r--SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLTouchTypeSpec.m1
3 files changed, 3 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLTouchType.h b/SmartDeviceLink/SDLTouchType.h
index 3a08e9646..e045294fd 100644
--- a/SmartDeviceLink/SDLTouchType.h
+++ b/SmartDeviceLink/SDLTouchType.h
@@ -9,3 +9,4 @@ typedef SDLEnum SDLTouchType SDL_SWIFT_ENUM;
extern SDLTouchType const SDLTouchTypeBegin;
extern SDLTouchType const SDLTouchTypeMove;
extern SDLTouchType const SDLTouchTypeEnd;
+extern SDLTouchType const SDLTouchTypeCancel;
diff --git a/SmartDeviceLink/SDLTouchType.m b/SmartDeviceLink/SDLTouchType.m
index d048636e6..4637625bd 100644
--- a/SmartDeviceLink/SDLTouchType.m
+++ b/SmartDeviceLink/SDLTouchType.m
@@ -7,3 +7,4 @@
SDLTouchType const SDLTouchTypeBegin = @"BEGIN";
SDLTouchType const SDLTouchTypeMove = @"MOVE";
SDLTouchType const SDLTouchTypeEnd = @"END";
+SDLTouchType const SDLTouchTypeCancel = @"CANCEL";
diff --git a/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLTouchTypeSpec.m b/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLTouchTypeSpec.m
index 88646b972..1b803e52f 100644
--- a/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLTouchTypeSpec.m
+++ b/SmartDeviceLinkTests/RPCSpecs/EnumSpecs/SDLTouchTypeSpec.m
@@ -17,6 +17,7 @@ describe(@"Individual Enum Value Tests", ^ {
expect(SDLTouchTypeBegin).to(equal(@"BEGIN"));
expect(SDLTouchTypeMove).to(equal(@"MOVE"));
expect(SDLTouchTypeEnd).to(equal(@"END"));
+ expect(SDLTouchTypeCancel).to(equal(@"CANCEL"));
});
});