com.ricebridge.xmlman.in.test
Class TestUtil
java.lang.Object
com.ricebridge.xmlman.in.test.TestUtil
- public class TestUtil
- extends Object
Test utilities.
The Source Code of this Java class
is available under a BSD-style license.
|
Method Summary |
static String |
dataToString(List pData)
|
static String |
dataToString(List pData,
boolean pTrim)
|
static File |
findFile(String pName)
|
static String |
formatPathList(List pPaths)
|
static ExprWalker |
makeExprWalker()
|
static NameInfo |
makeNameInfo()
|
static NameInfo |
makeNameInfo(String pLocalName)
|
static NameInfo |
makeNameInfo(String pLocalName,
String pNamespaceURI)
|
static String |
makeURI(File pFile)
|
static void |
print(String pMsg)
For print debugging - disabled for release. |
static void |
testRecords(String pRelativeXmlFilePath,
ArrayList pXmlSpecList,
ArrayList pRecordSpecList,
ArrayList pRecordDataList,
junit.framework.TestCase pTestCase)
|
static void |
testRecords(String pRelativeXmlFilePath,
ArrayList pRecordSpecList,
ArrayList pRecordDataList,
junit.framework.TestCase pTestCase)
|
static void |
testRecords(String pRelativeXmlFilePath,
XmlSpec pXmlSpec,
ArrayList pRecordSpecList,
ArrayList pRecordDataList,
junit.framework.TestCase pTestCase)
|
static void |
testRecordSpec(RecordSpec pRecordSpec)
|
static String |
toString(List pTargetPathList)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestUtil
public TestUtil()
print
public static final void print(String pMsg)
- For print debugging - disabled for release.
dataToString
public static String dataToString(List pData)
dataToString
public static String dataToString(List pData,
boolean pTrim)
formatPathList
public static String formatPathList(List pPaths)
testRecords
public static void testRecords(String pRelativeXmlFilePath,
ArrayList pRecordSpecList,
ArrayList pRecordDataList,
junit.framework.TestCase pTestCase)
throws Exception
- Throws:
Exception
testRecords
public static void testRecords(String pRelativeXmlFilePath,
XmlSpec pXmlSpec,
ArrayList pRecordSpecList,
ArrayList pRecordDataList,
junit.framework.TestCase pTestCase)
throws Exception
- Throws:
Exception
testRecords
public static void testRecords(String pRelativeXmlFilePath,
ArrayList pXmlSpecList,
ArrayList pRecordSpecList,
ArrayList pRecordDataList,
junit.framework.TestCase pTestCase)
throws Exception
- Throws:
Exception
testRecordSpec
public static void testRecordSpec(RecordSpec pRecordSpec)
toString
public static String toString(List pTargetPathList)
makeURI
public static String makeURI(File pFile)
makeExprWalker
public static ExprWalker makeExprWalker()
makeNameInfo
public static NameInfo makeNameInfo()
makeNameInfo
public static NameInfo makeNameInfo(String pLocalName)
makeNameInfo
public static NameInfo makeNameInfo(String pLocalName,
String pNamespaceURI)
findFile
public static File findFile(String pName)
throws Exception
- Throws:
Exception
Copyright © 2004-2005 Ricebridge