mondrian.xmla.test
Class XmlaTestContext
java.lang.Object
mondrian.xmla.test.XmlaTestContext
public class XmlaTestContext
- extends Object
Common utilities for XML/A testing, used in test suite and
example XML/A web pages. Refactored from XmlaTest.
- Author:
- Sherman Wood
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CATALOG_NAME
public static final String CATALOG_NAME
- See Also:
- Constant Field Values
DATASOURCE_NAME
public static final String DATASOURCE_NAME
- See Also:
- Constant Field Values
DATASOURCE_DESCRIPTION
public static final String DATASOURCE_DESCRIPTION
- See Also:
- Constant Field Values
DATASOURCE_INFO
public static final String DATASOURCE_INFO
- See Also:
- Constant Field Values
ENV
public static final Map<String,String> ENV
CATALOG_LOCATOR
public static final CatalogLocator CATALOG_LOCATOR
XmlaTestContext
public XmlaTestContext()
getConnectString
public String getConnectString()
dataSources
public DataSourcesConfig.DataSources dataSources()
getDataSourcesString
public String getDataSourcesString()
xmlFromTemplate
public static String xmlFromTemplate(String xmlText,
Map<String,String> env)
defaultRequests
public String[][] defaultRequests()
- Returns a list of sample XML requests.
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.
- Returns:
- List of sample XML requests