public class XmlaTestContext extends Object
Modifier and Type | Field and Description |
---|---|
static CatalogLocator |
CATALOG_LOCATOR |
static String |
CATALOG_NAME |
static String |
DATASOURCE_DESCRIPTION |
static String |
DATASOURCE_INFO |
static String |
DATASOURCE_NAME |
static Map<String,String> |
ENV |
Constructor and Description |
---|
XmlaTestContext() |
Modifier and Type | Method and Description |
---|---|
DataSourcesConfig.DataSources |
dataSources() |
String[][] |
defaultRequests()
Returns a list of sample XML requests.
|
String |
getConnectString() |
String |
getDataSourcesString() |
static String |
xmlFromTemplate(String xmlText,
Map<String,String> env) |
public static final String CATALOG_NAME
public static final String DATASOURCE_NAME
public static final String DATASOURCE_DESCRIPTION
public static final String DATASOURCE_INFO
public static final CatalogLocator CATALOG_LOCATOR
public String getConnectString()
public DataSourcesConfig.DataSources dataSources()
public String getDataSourcesString()
public String[][] defaultRequests()
Each item is a pair of strings: {test name, request}.
NOTE: This method is called from xmlaTest.jsp
. Do not
remove it if you can't find calls from Java.