diff options
author | Chris Loer <chris.loer@gmail.com> | 2018-06-01 15:23:41 -0700 |
---|---|---|
committer | Chris Loer <chris.loer@mapbox.com> | 2018-06-04 11:32:20 -0700 |
commit | af4efd4fa7106a919f730127bdb8bade81fd8203 (patch) | |
tree | 18b50fa26a036d698d6179133d49766fd55708e7 /platform/ios/Integration Tests/MGLMapViewIntegrationTest.h | |
parent | 552b982a33c087a83534bfc7d4e3829cd0d5af86 (diff) | |
download | qtlocation-mapboxgl-af4efd4fa7106a919f730127bdb8bade81fd8203.tar.gz |
[ios, test] Add MGLMapSnapshotter integration tests.
Diffstat (limited to 'platform/ios/Integration Tests/MGLMapViewIntegrationTest.h')
-rw-r--r-- | platform/ios/Integration Tests/MGLMapViewIntegrationTest.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/ios/Integration Tests/MGLMapViewIntegrationTest.h b/platform/ios/Integration Tests/MGLMapViewIntegrationTest.h index 3ceec8f04a..1b680f2b71 100644 --- a/platform/ios/Integration Tests/MGLMapViewIntegrationTest.h +++ b/platform/ios/Integration Tests/MGLMapViewIntegrationTest.h @@ -10,6 +10,12 @@ #define MGLTestAssertEqualWithAccuracy(myself, expression1, expression2, accuracy, ...) \ _XCTPrimitiveAssertEqualWithAccuracy(myself, expression1, @#expression1, expression2, @#expression2, accuracy, @#accuracy, __VA_ARGS__) +#define MGLTestAssertNil(myself, expression, ...) \ + _XCTPrimitiveAssertNil(myself, expression, @#expression, __VA_ARGS__) + +#define MGLTestAssertNotNil(myself, expression, ...) \ + _XCTPrimitiveAssertNotNil(myself, expression, @#expression, __VA_ARGS__) + @interface MGLMapViewIntegrationTest : XCTestCase <MGLMapViewDelegate> @property (nonatomic) MGLMapView *mapView; |