summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2021-02-11 11:32:44 +0200
committerleonid lokhmatov, Luxoft <zaqqqqqqqq@gmail.com>2021-02-11 11:32:44 +0200
commite846d1da01b5b6dbb92ddfb73c140c921f6a6755 (patch)
treea120e5413944a543f637aaa6a2ce859ef4e648bd
parent176ec12c02b8ab9c1aa3bffa7a60819eac876c6b (diff)
downloadsdl_ios-e846d1da01b5b6dbb92ddfb73c140c921f6a6755.tar.gz
[0296] 'upd video stream cap': fix broken unit test in SDLStreamingVideoLifecycleManagerSpec
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m
index 76c4aa76c..d2cc5c9c0 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLStreamingVideoLifecycleManagerSpec.m
@@ -1252,7 +1252,7 @@ describe(@"after sending GetSystemCapabilities", ^{
expect(streamingLifecycleManager.preferredFormats).notTo(beNil());
expect(streamingLifecycleManager.preferredResolutions).notTo(beNil());
if (!streamingLifecycleManager.preferredFormats || !streamingLifecycleManager.preferredResolutions) {
- return;
+ failWithMessage(@"absent preferredFormats or preferredResolutions");
}
const int expectedFormatCount = 3;