public abstract class AbstractVjdbcTest extends HybrisJUnit4Test
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONDITION |
protected static Logger |
LOG |
protected static int |
PRODUCT_COUNT |
protected static String |
PRODUCT_PREFIX |
protected List<Product> |
productList |
protected static String |
QUERY_FIND_PRODUCTS |
protected UserGroup |
testROGroup |
protected User |
testROUser |
protected UserGroup |
testRWGroup |
protected User |
testRWUser |
defaultLanguage, jaloSession| Constructor and Description |
|---|
AbstractVjdbcTest() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
assureUserCreatedCorrectlyRemotePlatform(Properties userCreatedCredentials) |
protected void |
checkIntegrationTest() |
protected Connection |
getHttpFlexConnection(Properties props) |
protected Connection |
getHttpSqlConnection(Properties props) |
protected User |
getUser(boolean readWrite) |
protected UserGroup |
getUserGroup(boolean readWrite) |
protected Properties |
getUserPrincipals() |
protected Properties |
getUserPrincipals(boolean readWrite) |
protected void |
setUpProducts() |
void |
setUpTestData() |
void |
tearDown() |
protected void |
verifyUnderlyingConnection(Connection vjdbcCon) |
finish, getOrCreateCurrency, getOrCreateLanguage, init, intenseChecksActivatedprotected static final Logger LOG
protected static final String PRODUCT_PREFIX
protected static final String QUERY_FIND_PRODUCTS
protected static final String CONDITION
protected static final int PRODUCT_COUNT
protected User testRWUser
protected User testROUser
protected UserGroup testRWGroup
protected UserGroup testROGroup
public void setUpTestData()
throws ConsistencyCheckException
ConsistencyCheckExceptionprotected void checkIntegrationTest()
protected boolean assureUserCreatedCorrectlyRemotePlatform(Properties userCreatedCredentials)
public void tearDown()
protected User getUser(boolean readWrite)
protected UserGroup getUserGroup(boolean readWrite)
protected Properties getUserPrincipals()
protected Properties getUserPrincipals(boolean readWrite)
protected void setUpProducts()
protected Connection getHttpSqlConnection(Properties props) throws Exception
Exceptionprotected Connection getHttpFlexConnection(Properties props) throws Exception
Exceptionprotected void verifyUnderlyingConnection(Connection vjdbcCon) throws SQLException
SQLExceptionCopyright © 2017 SAP SE. All Rights Reserved.