Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
shopify_iossdk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cemarose
shopify_iossdk
Commits
39dcac73
Commit
39dcac73
authored
Jun 02, 2016
by
Dima Bart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Attempt to solve CI test failures with empty handler blocks.
parent
fafcaea8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
21 deletions
+21
-21
BUYClientTest_Customer.m
Mobile Buy SDK/Mobile Buy SDK Tests/BUYClientTest_Customer.m
+9
-9
BUYClientTest_Storefront.m
...e Buy SDK/Mobile Buy SDK Tests/BUYClientTest_Storefront.m
+1
-1
BUYIntegrationTest.m
Mobile Buy SDK/Mobile Buy SDK Tests/BUYIntegrationTest.m
+1
-1
BUYRequestOperationTests.m
...e Buy SDK/Mobile Buy SDK Tests/BUYRequestOperationTests.m
+10
-10
No files found.
Mobile Buy SDK/Mobile Buy SDK Tests/BUYClientTest_Customer.m
View file @
39dcac73
...
...
@@ -161,7 +161,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
^
(
NSError
*
error
)
{}
];
}
#pragma mark - Orders -
...
...
@@ -182,7 +182,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
testCustomerOrderWithID
...
...
@@ -198,7 +198,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
#pragma mark - Update -
...
...
@@ -221,7 +221,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
^
(
NSError
*
error
)
{}
];
}
#pragma mark - Address -
...
...
@@ -245,7 +245,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
testAddressCRUD
...
...
@@ -291,7 +291,7 @@
}];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
getAddress
...
...
@@ -312,7 +312,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
updateAddress
...
...
@@ -345,7 +345,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
deleteAddress
...
...
@@ -365,7 +365,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
^
(
NSError
*
error
)
{}
];
}
#pragma mark - Address -
...
...
Mobile Buy SDK/Mobile Buy SDK Tests/BUYClientTest_Storefront.m
View file @
39dcac73
...
...
@@ -113,7 +113,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
testGetProductById
...
...
Mobile Buy SDK/Mobile Buy SDK Tests/BUYIntegrationTest.m
View file @
39dcac73
...
...
@@ -165,7 +165,7 @@
[
expectation
fulfill
];
}];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
updateCheckout
...
...
Mobile Buy SDK/Mobile Buy SDK Tests/BUYRequestOperationTests.m
View file @
39dcac73
...
...
@@ -74,7 +74,7 @@
[
operation
start
];
[
self
waitForExpectationsWithTimeout
:
3
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
3
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
#pragma mark - Data Tests -
...
...
@@ -108,7 +108,7 @@
}];
[
self
.
queue
addOperation
:
operation
];
[
self
waitForExpectationsWithTimeout
:
3
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
3
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
testFailedRequest
...
...
@@ -141,7 +141,7 @@
}];
[
self
.
queue
addOperation
:
operation
];
[
self
waitForExpectationsWithTimeout
:
3
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
3
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
#pragma mark - Dependency Tests -
...
...
@@ -166,7 +166,7 @@
[
self
.
queue
addOperation
:
operation2
];
[
self
.
queue
addOperation
:
operation1
];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
^
(
NSError
*
error
)
{}
];
XCTAssertEqualObjects
(
container
,
@"12"
);
}
...
...
@@ -205,7 +205,7 @@
[
self
.
queue
addOperation
:
operation2
];
[
self
.
queue
addOperation
:
operation1
];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
10
.
0
handler
:
^
(
NSError
*
error
)
{}
];
XCTAssertEqualObjects
(
container
,
@"1134"
);
}
...
...
@@ -244,7 +244,7 @@
};
[
self
.
queue
addOperation
:
operation
];
[
self
waitForExpectationsWithTimeout
:
5
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
5
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
testCancellationBeforeExecution
...
...
@@ -260,7 +260,7 @@
[
self
.
queue
addOperation
:
operation
];
[
operation
cancel
];
[
self
waitForExpectationsWithTimeout
:
3
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
3
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
testCancellationDuringExecution
...
...
@@ -277,7 +277,7 @@
[
operation
cancel
];
}];
[
self
waitForExpectationsWithTimeout
:
4
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
4
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
testCancellationWithoutQueue
...
...
@@ -292,7 +292,7 @@
[
operation
cancel
];
[
self
createExpectationDelay
];
[
self
waitForExpectationsWithTimeout
:
4
.
0
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
4
.
0
handler
:
^
(
NSError
*
error
)
{}
];
}
-
(
void
)
testCancellationDuringPolling
...
...
@@ -351,7 +351,7 @@
}];
if
(
block
)
{
[
self
waitForExpectationsWithTimeout
:
delay
+
0
.
1
handler
:
nil
];
[
self
waitForExpectationsWithTimeout
:
delay
+
0
.
1
handler
:
^
(
NSError
*
error
)
{}
];
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment