Project

General

Profile

Revision 9fc0e990

ID9fc0e9907980f129772f72b7fc93eb638c70115a
Parent f3755e6f
Child a333126e

Added by Patrick Plitzner over 4 years ago

ref #4260 Added test for 0 parameter query

View differences:

cdmlib-ext/src/test/java/eu/etaxonomy/cdm/ext/occurrence/gbif/GbifQueryServiceWrapperTest.java
143 143

  
144 144
    }
145 145

  
146
    @Test
147
    public void testGbifWebServiceNoParameters() {
148
    	OccurenceQuery query = new OccurenceQuery(null, null, null, null, null, null, null, null, null);
149
    	GbifQueryServiceWrapper service = new GbifQueryServiceWrapper();
150
    	try {
151
    		Collection<GbifResponse> gbifResponse = service.query(query);
152
    	} catch (ClientProtocolException e) {
153
    		Assert.fail(e.getMessage());
154
    	} catch (IOException e) {
155
    		Assert.fail(e.getMessage());
156
    	} catch (URISyntaxException e) {
157
    		Assert.fail(e.getMessage());
158
    	}
159
    	
160
    }
161

  
146 162
}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)