Semantic MediaWiki and related extensions
Public Member Functions | Public Attributes | List of all members
Maps\Test\NominatimGeocoderTest Class Reference
Collaboration diagram for Maps\Test\NominatimGeocoderTest:
Collaboration graph
[legend]

Public Member Functions

 testHappyPath ()
 
 testWhenFetcherThrowsException_nullIsReturned ()
 
 testWhenFetcherReturnsInvalidResponse_nullIsReturned ($invalidResponse)
 
 invalidResponseProvider ()
 

Public Attributes

const NEW_YORK_FETCH_URL = 'https://nominatim.openstreetmap.org/search?format=jsonv2&limit=1&q=New+York'
 

Detailed Description

Maps

GNU GPL v2+

Author
Peter Grassberger < peter.nosp@m.theo.nosp@m.ne@gm.nosp@m.ail..nosp@m.com >
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

Maps\Test\NominatimGeocoderTest::invalidResponseProvider ( )
Maps\Test\NominatimGeocoderTest::testHappyPath ( )
Maps\Test\NominatimGeocoderTest::testWhenFetcherReturnsInvalidResponse_nullIsReturned (   $invalidResponse)

invalidResponseProvider

Maps\Test\NominatimGeocoderTest::testWhenFetcherThrowsException_nullIsReturned ( )

Member Data Documentation

const Maps\Test\NominatimGeocoderTest::NEW_YORK_FETCH_URL = 'https://nominatim.openstreetmap.org/search?format=jsonv2&limit=1&q=New+York'

The documentation for this class was generated from the following file: