mirror of
https://github.com/apache/olingo-odata4.git
synced 2025-03-06 16:49:09 +00:00
[OLINGO-603] Action import with no return type test
This commit is contained in:
parent
63cacd7ce2
commit
23691a5a43
@ -48,6 +48,15 @@ import org.junit.Test;
|
||||
|
||||
public class ActionImportITCase extends AbstractBaseTestITCase {
|
||||
|
||||
@Test
|
||||
public void noReturnTypeAction() throws Exception {
|
||||
URI actionURI =
|
||||
getClient().newURIBuilder(TecSvcConst.BASE_URI).appendActionCallSegment("AIRT").build();
|
||||
ODataInvokeResponse<ClientProperty> response =
|
||||
getClient().getInvokeRequestFactory().getActionInvokeRequest(actionURI, ClientProperty.class).execute();
|
||||
assertEquals(204, response.getStatusCode());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void primitveAction() throws Exception {
|
||||
URI actionURI =
|
||||
|
@ -236,7 +236,6 @@ public class BindingITCase extends AbstractBaseTestITCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unused")
|
||||
public void testMissingEntity() {
|
||||
// Update an existing entity, use a URI to a not existing entity
|
||||
// Perform the request to a single navigation property and a collection navigation property as well.
|
||||
|
@ -472,7 +472,6 @@ public class FilterSystemQueryITCase extends AbstractBaseTestITCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unused")
|
||||
public void testSubstringDouble() {
|
||||
try {
|
||||
sendRequest(ES_ALL_PRIM, "substring(PropertyString, length('First')"
|
||||
|
@ -264,7 +264,6 @@ public class SystemQueryOptionITCase extends AbstractBaseTestITCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unused")
|
||||
public void testNegativeSkip() {
|
||||
ODataClient client = getClient();
|
||||
URI uri = client.newURIBuilder(SERVICE_URI)
|
||||
@ -283,7 +282,6 @@ public class SystemQueryOptionITCase extends AbstractBaseTestITCase {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unused")
|
||||
public void testNegativeTop() {
|
||||
ODataClient client = getClient();
|
||||
URI uri = client.newURIBuilder(SERVICE_URI)
|
||||
|
@ -154,7 +154,7 @@ public interface CsdlEdmProvider {
|
||||
/**
|
||||
* This method should return a collection of all {@link CsdlSchema}
|
||||
*
|
||||
* @return List<{@link Schema}>
|
||||
* @return List<{@link CsdlSchema}>
|
||||
* @throws ODataException
|
||||
*/
|
||||
public List<CsdlSchema> getSchemas() throws ODataException;
|
||||
|
Loading…
x
Reference in New Issue
Block a user