public class ButorTestUtil extends Object
| Constructor and Description |
|---|
ButorTestUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertObjectEqual(Object expected,
Object actual) |
void |
assertObjectEqual(String message,
Object expected,
Object actual) |
Context |
context(CommonRequestArgs commonRequestArgs,
ResponseHandler<Object> rh) |
void |
executeSQL(org.springframework.jdbc.core.JdbcTemplate jt,
String sqlData,
String dbName,
String jdbcDriverType) |
void |
executeSQL(org.springframework.jdbc.core.JdbcTemplate jt,
URL sqlURL,
String dbName) |
void |
executeSQL(org.springframework.jdbc.core.JdbcTemplate jt,
URL sqlURL,
String dbName,
String jdbcDriverType) |
static CommonRequestArgs |
getCommonRequestArgs(String commonRequestJSON) |
static JsonHelper |
getJsonHelperWithLocalTimeFormatter() |
String |
getStringFromURL(URL url) |
public Context context(CommonRequestArgs commonRequestArgs, ResponseHandler<Object> rh)
public static CommonRequestArgs getCommonRequestArgs(String commonRequestJSON)
public void executeSQL(org.springframework.jdbc.core.JdbcTemplate jt,
URL sqlURL,
String dbName)
throws IOException
IOExceptionpublic void executeSQL(org.springframework.jdbc.core.JdbcTemplate jt,
URL sqlURL,
String dbName,
String jdbcDriverType)
throws IOException
IOExceptionpublic String getStringFromURL(URL url) throws IOException
IOExceptionpublic void executeSQL(org.springframework.jdbc.core.JdbcTemplate jt,
String sqlData,
String dbName,
String jdbcDriverType)
throws IOException
IOExceptionpublic static JsonHelper getJsonHelperWithLocalTimeFormatter()
Copyright © 2018–2019 Butor Inc.. All rights reserved.