diff options
author | Andrew Kitchen <andrew.kitchen@mapbox.com> | 2018-01-03 17:16:30 -0800 |
---|---|---|
committer | Andrew Kitchen <akitchen@gmail.com> | 2018-01-19 20:28:57 -0500 |
commit | 2c48871c065c6efec42c5660c9560ecdfaa8d359 (patch) | |
tree | 4a04691c5de64c101146c68c47a429eaddc24e44 /platform/darwin/src/MGLStyle_Private.h | |
parent | 40a0b2deb78ac3b03dc4966797edb8e0dc8a415e (diff) | |
download | qtlocation-mapboxgl-2c48871c065c6efec42c5660c9560ecdfaa8d359.tar.gz |
Adds an integration test harness to the iOS project
This will allow us to write lightweight integration tests between MGLMapView and the core renderer.
Also includes a test for the recent custom layer memory fix, reverting the fix in order to demonstrate the failing test.
Diffstat (limited to 'platform/darwin/src/MGLStyle_Private.h')
-rw-r--r-- | platform/darwin/src/MGLStyle_Private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLStyle_Private.h b/platform/darwin/src/MGLStyle_Private.h index 4cbe953a44..16035241f8 100644 --- a/platform/darwin/src/MGLStyle_Private.h +++ b/platform/darwin/src/MGLStyle_Private.h @@ -26,6 +26,9 @@ namespace mbgl { - (nullable NS_ARRAY_OF(MGLAttributionInfo *) *)attributionInfosWithFontSize:(CGFloat)fontSize linkColor:(nullable MGLColor *)linkColor; +//TODO: AK: remove once failing test established +@property (nonatomic, readonly, strong) NS_MUTABLE_DICTIONARY_OF(NSString *, MGLOpenGLStyleLayer *) *openGLLayers; + - (void)setStyleClasses:(NS_ARRAY_OF(NSString *) *)appliedClasses transitionDuration:(NSTimeInterval)transitionDuration; @end |