Search in sources :

Example 1 with CswRequest

use of org.codice.ddf.spatial.ogc.csw.catalog.common.CswRequest in project ddf by codice.

the class TestCswEndpoint method testGetUnknownService.

@Test(expected = CswException.class)
public void testGetUnknownService() throws CswException {
    CswRequest request = new CswRequest();
    csw.unknownService(request);
}
Also used : CswRequest(org.codice.ddf.spatial.ogc.csw.catalog.common.CswRequest) Test(org.junit.Test)

Example 2 with CswRequest

use of org.codice.ddf.spatial.ogc.csw.catalog.common.CswRequest in project ddf by codice.

the class CswEndpointTest method testGetUnknownService.

@Test(expected = CswException.class)
public void testGetUnknownService() throws CswException {
    CswRequest request = new CswRequest();
    csw.unknownService(request);
}
Also used : CswRequest(org.codice.ddf.spatial.ogc.csw.catalog.common.CswRequest) Test(org.junit.Test)

Example 3 with CswRequest

use of org.codice.ddf.spatial.ogc.csw.catalog.common.CswRequest in project ddf by codice.

the class TestCswEndpoint method testGetUnknownOperation.

@Test(expected = CswException.class)
public void testGetUnknownOperation() throws CswException {
    CswRequest request = new CswRequest();
    csw.unknownOperation(request);
}
Also used : CswRequest(org.codice.ddf.spatial.ogc.csw.catalog.common.CswRequest) Test(org.junit.Test)

Example 4 with CswRequest

use of org.codice.ddf.spatial.ogc.csw.catalog.common.CswRequest in project ddf by codice.

the class CswEndpointTest method testGetUnknownOperation.

@Test(expected = CswException.class)
public void testGetUnknownOperation() throws CswException {
    CswRequest request = new CswRequest();
    csw.unknownOperation(request);
}
Also used : CswRequest(org.codice.ddf.spatial.ogc.csw.catalog.common.CswRequest) Test(org.junit.Test)

Aggregations

CswRequest (org.codice.ddf.spatial.ogc.csw.catalog.common.CswRequest)4 Test (org.junit.Test)4