@IntegrationTest public class CustomersControllerIntegrationTest extends AbstractControllerIntegrationIntegrationTest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CUSTOMER_LIST_PARAM |
static java.lang.String |
CUSTOMER_SEARCH_URI |
static java.lang.String |
DUMMY_USER_UID |
static java.lang.String[] |
DUMMY_USERS |
static java.lang.String |
NOT_AGENT |
static java.lang.String |
TEMP_CUSTOMER_LIST_ID |
BASE_SITE_ID, BASE_SITE_PARAM, CURRENT_PAGE, OAUTH_CLIENT_ID, OAUTH_CLIENT_PASS, OAUTH_PASSWORD, OAUTH_USERNAME, PAGE_SIZE, SORTimportServicejaloSession| Constructor and Description |
|---|
CustomersControllerIntegrationTest() |
getWsSecuredRequestBuilder, setUpcreateCoreData, createDefaultCatalog, createDefaultUsers, createHardwareCatalog, getApplicationContext, importCsv, importData, importData, importData, importStream, importStream, isPrefetchModeNoneautowireProperties, getBeanName, prepareApplicationContextAndSessionestablishJaloSession, finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivated, takeJaloSessionpublic static final java.lang.String CUSTOMER_SEARCH_URI
public static final java.lang.String CUSTOMER_LIST_PARAM
public static final java.lang.String DUMMY_USER_UID
public static final java.lang.String TEMP_CUSTOMER_LIST_ID
public static final java.lang.String[] DUMMY_USERS
public static final java.lang.String NOT_AGENT
public void getCustomersByUid()
public void getFirstTwoCustomersInDescendingOrderSortedByName()
public void getCustomerFromThirdPageSortedByUidInAscendingOrder()
public void getCustomersByNotExistingUid()
public void shouldGetAllCustomerByEmptyCriteria()
public void shouldGetCustomerWithOrder()
public void shouldNotGetCustomerWithWrongOrder()
public void getCustomersByEmptyQuery()
public void shouldNotGetCustomersByUnknownCustomerListId()
public void shouldGetCustomersByCustomerListId()
public void shouldGetCustomersByCustomerListIdWithPaging()
public void shouldGetCustomersByCustomerListIdWithPagingAndSort()
public void getCustomersByNotAsAgent()
protected Response performGetCustomersWithDifferentQueries(java.util.Map<java.lang.String,java.lang.String> params)
protected Response performGetCustomersCall(java.lang.String searchCritera,
java.lang.String sort,
java.lang.String pageSize,
java.lang.String currentPage)
protected java.util.List<java.lang.String> getCustomerNamesFromResponse(Response response)
Copyright © 2018 SAP SE. All Rights Reserved.