summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2019-09-18 13:22:42 -0400
committerJoel Fischer <joeljfischer@gmail.com>2019-09-18 13:22:42 -0400
commitadf879e51048f4720ca3a1d117355a9c80eed90b (patch)
tree08e96f9e0cd084cee79efebbab083fa64a54f370
parent1c982fd903090f4a89ea03629858302812e1f583 (diff)
downloadsdl_ios-bugfix/issue_1399_travis_fail.tar.gz
Additional test fixesbugfix/issue_1399_travis_fail
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m2
-rw-r--r--SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m4
2 files changed, 2 insertions, 4 deletions
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m
index 8e042f3b7..6b677a0b5 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLMenuManagerSpec.m
@@ -160,7 +160,7 @@ describe(@"menu manager", ^{
SDLRPCResponseNotification *notification = [[SDLRPCResponseNotification alloc] initWithName:SDLDidReceiveSetDisplayLayoutRequest object:self rpcResponse:testSetDisplayLayoutResponse];
[[NSNotificationCenter defaultCenter] postNotification:notification];
- expect(testManager.displayCapabilities).toEventually(equal(testDisplayCapabilities));
+ expect(testManager.displayCapabilities).withTimeout(3).toEventually(equal(testDisplayCapabilities));
});
it(@"should set display capabilities when SDLDidReceiveRegisterAppInterfaceResponse is received", ^{
diff --git a/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m b/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m
index 6d0b7e6cd..f8bbb1aad 100644
--- a/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m
+++ b/SmartDeviceLinkTests/DevAPISpecs/SDLPresentKeyboardOperationSpec.m
@@ -403,12 +403,10 @@ describe(@"present keyboard operation", ^{
[testOp dismissKeyboard];
});
- it(@"should not attempt to send a cancel interaction", ^{
+ it(@"should not finish or send a cancel interaction", ^{
SDLCancelInteraction *lastRequest = testConnectionManager.receivedRequests.lastObject;
expect(lastRequest).toNot(beAnInstanceOf([SDLCancelInteraction class]));
- });
- it(@"should not finish", ^{
expect(hasCalledOperationCompletionHandler).toEventually(beFalse());
expect(testOp.isExecuting).toEventually(beTrue());
expect(testOp.isFinished).toEventually(beFalse());