@@ -109,13 +109,13 @@ class MockStyleManager: StyleManagerProtocol {
109109 }
110110
111111 typealias GetStyleLayerPropertyParameters = ( layerID: String , property: String )
112- let getStyleLayerPropertyStub = Stub < GetStyleLayerPropertyParameters , StylePropertyValue > (
113- defaultReturnValue: StylePropertyValue ( value: " foo " , kind: . undefined)
112+ let getStyleLayerPropertyStub = Stub < GetStyleLayerPropertyParameters , CoreStylePropertyValue > (
113+ defaultReturnValue: CoreStylePropertyValue ( value: " foo " , kind: . undefined)
114114 )
115115 func getStyleLayerProperty(
116116 forLayerId layerId: String ,
117117 property: String
118- ) -> MapboxCoreMaps . StylePropertyValue {
118+ ) -> CoreStylePropertyValue {
119119
120120 getStyleLayerPropertyStub. call ( with: ( layerID: layerId, property: property) )
121121 }
@@ -126,10 +126,10 @@ class MockStyleManager: StyleManagerProtocol {
126126 let sourceId : String
127127 let property : String
128128 }
129- let getStyleSourcePropertyStub = Stub < GetStyleSourcePropertyParameters , MapboxCoreMaps . StylePropertyValue > (
129+ let getStyleSourcePropertyStub = Stub < GetStyleSourcePropertyParameters , CoreStylePropertyValue > (
130130 defaultReturnValue: . init( value: " stub " , kind: . undefined)
131131 )
132- func getStyleSourceProperty( forSourceId sourceId: String , property: String ) -> MapboxCoreMaps . StylePropertyValue {
132+ func getStyleSourceProperty( forSourceId sourceId: String , property: String ) -> CoreStylePropertyValue {
133133 getStyleSourcePropertyStub. call ( with: GetStyleSourcePropertyParameters ( sourceId: sourceId, property: property) )
134134 }
135135
@@ -143,10 +143,10 @@ class MockStyleManager: StyleManagerProtocol {
143143 getStyleSourcesStub. call ( )
144144 }
145145
146- let getStyleLightPropertyStub = Stub < String , MapboxCoreMaps . StylePropertyValue > (
146+ let getStyleLightPropertyStub = Stub < String , CoreStylePropertyValue > (
147147 defaultReturnValue: . init( value: " stub " , kind: . undefined)
148148 )
149- func getStyleLightProperty( forProperty property: String ) -> MapboxCoreMaps . StylePropertyValue {
149+ func getStyleLightProperty( forProperty property: String ) -> CoreStylePropertyValue {
150150 getStyleLightPropertyStub. call ( with: property)
151151 }
152152
@@ -163,10 +163,10 @@ class MockStyleManager: StyleManagerProtocol {
163163 struct GetStyleLightPropertyForIdParameters {
164164 let id , property : String
165165 }
166- let getStyleLightPropertyForIdStub = Stub < GetStyleLightPropertyForIdParameters , StylePropertyValue > (
166+ let getStyleLightPropertyForIdStub = Stub < GetStyleLightPropertyForIdParameters , CoreStylePropertyValue > (
167167 defaultReturnValue: . init( value: " stub " , kind: . undefined)
168168 )
169- func getStyleLightProperty( forId id: String , property: String ) -> StylePropertyValue {
169+ func getStyleLightProperty( forId id: String , property: String ) -> CoreStylePropertyValue {
170170 getStyleLightPropertyForIdStub. call ( with: . init( id: id, property: property) )
171171 }
172172
@@ -182,18 +182,18 @@ class MockStyleManager: StyleManagerProtocol {
182182 }
183183
184184 // MARK: Terrain
185- let getStyleTerrainPropertyStub = Stub < String , MapboxCoreMaps . StylePropertyValue > (
185+ let getStyleTerrainPropertyStub = Stub < String , CoreStylePropertyValue > (
186186 defaultReturnValue: . init( value: " stub " , kind: . undefined)
187187 )
188- func getStyleTerrainProperty( forProperty property: String ) -> MapboxCoreMaps . StylePropertyValue {
188+ func getStyleTerrainProperty( forProperty property: String ) -> CoreStylePropertyValue {
189189 getStyleTerrainPropertyStub. call ( with: property)
190190 }
191191
192192 // MARK: Projection
193- let getStyleProjectionPropertyStub = Stub < String , MapboxCoreMaps . StylePropertyValue > (
193+ let getStyleProjectionPropertyStub = Stub < String , CoreStylePropertyValue > (
194194 defaultReturnValue: . init( value: " stub " , kind: . undefined)
195195 )
196- func getStyleProjectionProperty( forProperty property: String ) -> MapboxCoreMaps . StylePropertyValue {
196+ func getStyleProjectionProperty( forProperty property: String ) -> CoreStylePropertyValue {
197197 getStyleProjectionPropertyStub. call ( with: property)
198198 }
199199
@@ -204,8 +204,8 @@ class MockStyleManager: StyleManagerProtocol {
204204 setStyleSnowForPropertiesStub. call ( with: properties)
205205 }
206206
207- let getStyleSnowPropertyStub = Stub < String , StylePropertyValue > ( defaultReturnValue: . init( value: " stub " , kind: . undefined) )
208- func getStyleSnowProperty( forProperty: String ) -> StylePropertyValue {
207+ let getStyleSnowPropertyStub = Stub < String , CoreStylePropertyValue > ( defaultReturnValue: . init( value: " stub " , kind: . undefined) )
208+ func getStyleSnowProperty( forProperty: String ) -> CoreStylePropertyValue {
209209 getStyleSnowPropertyStub. call ( with: forProperty)
210210 }
211211
@@ -214,8 +214,8 @@ class MockStyleManager: StyleManagerProtocol {
214214 setStyleRainForPropertiesStub. call ( with: properties)
215215 }
216216
217- let getStyleRainPropertyStub = Stub < String , StylePropertyValue > ( defaultReturnValue: . init( value: " stub " , kind: . undefined) )
218- func getStyleRainProperty( forProperty: String ) -> StylePropertyValue {
217+ let getStyleRainPropertyStub = Stub < String , CoreStylePropertyValue > ( defaultReturnValue: . init( value: " stub " , kind: . undefined) )
218+ func getStyleRainProperty( forProperty: String ) -> CoreStylePropertyValue {
219219 getStyleRainPropertyStub. call ( with: forProperty)
220220 }
221221
@@ -262,7 +262,7 @@ class MockStyleManager: StyleManagerProtocol {
262262 struct GetStyleImportConfigPropertiesParameters {
263263 let importId : String
264264 }
265- let getStyleImportConfigPropertiesStub = Stub < GetStyleImportConfigPropertiesParameters , Expected < NSDictionary , NSString > > ( defaultReturnValue: . init( value: NSDictionary ( dictionary: [ " stub " : StylePropertyValue . init ( value: " stub " , kind: . undefined) ] ) ) )
265+ let getStyleImportConfigPropertiesStub = Stub < GetStyleImportConfigPropertiesParameters , Expected < NSDictionary , NSString > > ( defaultReturnValue: . init( value: NSDictionary ( dictionary: [ " stub " : CoreStylePropertyValue . init ( value: " stub " , kind: . undefined) ] ) ) )
266266 func getStyleImportConfigProperties( forImportId importId: String ) -> Expected < NSDictionary , NSString > {
267267 getStyleImportConfigPropertiesStub. call ( with: GetStyleImportConfigPropertiesParameters ( importId: importId) )
268268 }
@@ -271,8 +271,8 @@ class MockStyleManager: StyleManagerProtocol {
271271 let importId : String
272272 let config : String
273273 }
274- let getStyleImportConfigPropertyStub = Stub < GetStyleImportConfigPropertyParameters , Expected < MapboxCoreMaps . StylePropertyValue , NSString > > ( defaultReturnValue: . init( value: . init( value: " stub " , kind: . undefined) ) )
275- func getStyleImportConfigProperty( forImportId importId: String , config: String ) -> Expected < StylePropertyValue , NSString > {
274+ let getStyleImportConfigPropertyStub = Stub < GetStyleImportConfigPropertyParameters , Expected < CoreStylePropertyValue , NSString > > ( defaultReturnValue: . init( value: . init( value: " stub " , kind: . undefined) ) )
275+ func getStyleImportConfigProperty( forImportId importId: String , config: String ) -> Expected < CoreStylePropertyValue , NSString > {
276276 getStyleImportConfigPropertyStub. call ( with: GetStyleImportConfigPropertyParameters ( importId: importId, config: config) )
277277 }
278278
@@ -736,10 +736,10 @@ class MockStyleManager: StyleManagerProtocol {
736736 hasStyleModelStub. call ( with: HasStyleModelParams ( modelId: modelId) )
737737 }
738738
739- let getStyleAtmospherePropertyStub = Stub < String , MapboxCoreMaps . StylePropertyValue > (
739+ let getStyleAtmospherePropertyStub = Stub < String , CoreStylePropertyValue > (
740740 defaultReturnValue: . init( value: " stub " , kind: . undefined)
741741 )
742- func getStyleAtmosphereProperty( forProperty property: String ) -> StylePropertyValue {
742+ func getStyleAtmosphereProperty( forProperty property: String ) -> CoreStylePropertyValue {
743743 getStyleAtmospherePropertyStub. call ( with: property)
744744 }
745745
0 commit comments