summaryrefslogtreecommitdiff
path: root/platform/darwin/test/MGLStyleValueTests.swift
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2016-12-09 16:09:10 -0800
committerGitHub <noreply@github.com>2016-12-09 16:09:10 -0800
commit7f75eb5d6ae014391f3baf066a9873c5fb1c1ded (patch)
tree0451999a6d5397a806dc3214bc5e0b8eb9b51daa /platform/darwin/test/MGLStyleValueTests.swift
parentce1d9ff5eee2df57ec4c2d1f39b967ecfef4b9bc (diff)
downloadqtlocation-mapboxgl-7f75eb5d6ae014391f3baf066a9873c5fb1c1ded.tar.gz
[ios, macos] Rename MGLGeoJSONSource to MGLShapeSource (#7334)
Diffstat (limited to 'platform/darwin/test/MGLStyleValueTests.swift')
-rw-r--r--platform/darwin/test/MGLStyleValueTests.swift6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/test/MGLStyleValueTests.swift b/platform/darwin/test/MGLStyleValueTests.swift
index 7a266a495f..2d2792fdc0 100644
--- a/platform/darwin/test/MGLStyleValueTests.swift
+++ b/platform/darwin/test/MGLStyleValueTests.swift
@@ -5,8 +5,8 @@ import Mapbox
extension MGLStyleValueTests {
func testConstantValues() {
- let geoJSONSource = MGLGeoJSONSource(identifier: "test", shape: nil, options: nil)
- let symbolStyleLayer = MGLSymbolStyleLayer(identifier: "test", source: geoJSONSource)
+ let shapeSource = MGLShapeSource(identifier: "test", shape: nil, options: nil)
+ let symbolStyleLayer = MGLSymbolStyleLayer(identifier: "test", source: shapeSource)
// Boolean
symbolStyleLayer.iconAllowOverlap = MGLStyleConstantValue(rawValue: true)
@@ -22,7 +22,7 @@ extension MGLStyleValueTests {
}
func testFunctions() {
- let geoJSONSource = MGLGeoJSONSource(identifier: "test", shape: nil, options: nil)
+ let geoJSONSource = MGLShapeSource(identifier: "test", shape: nil, options: nil)
let symbolStyleLayer = MGLSymbolStyleLayer(identifier: "test", source: geoJSONSource)
// Boolean