|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
ossj.common.tck.JVTTestBase
public class JVTTestBase
JVTTestBase Class A Base Class for TTAPIJVTTests This class is both a TT JVT Proxy and a Test Case. The TTAPIJVTTests extends and use the services of this class. The value class implementations used in this class are the one retrieved by calling the make methods on the provider JVT Session Bean
Field Summary | |
---|---|
static boolean |
debug
|
boolean |
done
|
static int |
EVENT_TIMEOUT
|
int |
howmany_key
|
int |
howmany_value
|
static String |
JMS_FACTORY
|
static String |
JNDI_FACT_CLASS_NAME
|
static String |
JNDI_URL
|
static ArrayList |
jvtSessionList
|
static String |
LOG_FILE
|
static InitialContext |
namingContext
|
static int |
QUOTECHAR
|
junit.framework.TestResult |
result
|
boolean |
return_failed_only
|
static boolean |
runonce
|
static String |
TESTFILES_HOME
|
static String |
TOPIC_NAME
|
static Util |
util
|
Constructor Summary | |
---|---|
JVTTestBase(String name)
|
Method Summary | |
---|---|
static void |
assertTrue(String type,
boolean c)
overload to make life easier |
static void |
assertTrue(String attr,
String type,
boolean c)
overload to make life easier |
static void |
assertTrueMsg(String msg,
boolean c)
overload to make life easier |
static void |
fail(String type)
overload to make life easier |
static void |
fail(String attr,
String type)
overload to make life easier |
void |
getEnvironment()
Set up the environment |
javax.oss.JVTSession |
getInstanceOf(String myClass)
DOCUMENT ME! |
void |
init()
Init the env, to be call by all inheritence |
void |
log(String s)
Print the string to the log file |
void |
log(Throwable e)
print the exception to the log file |
junit.framework.TestResult |
run()
Start the test |
void |
run(junit.framework.TestResult result)
Start the test |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static boolean runonce
public static boolean debug
public static InitialContext namingContext
public static String JNDI_FACT_CLASS_NAME
public static String JNDI_URL
public static int EVENT_TIMEOUT
public static String TESTFILES_HOME
public static String LOG_FILE
public static String JMS_FACTORY
public static String TOPIC_NAME
public static ArrayList jvtSessionList
public static Util util
public static int QUOTECHAR
public boolean done
public int howmany_key
public int howmany_value
public boolean return_failed_only
public junit.framework.TestResult result
Constructor Detail |
---|
public JVTTestBase(String name)
Method Detail |
---|
public junit.framework.TestResult run()
run
in class junit.framework.TestCase
public void run(junit.framework.TestResult result)
run
in interface junit.framework.Test
run
in class junit.framework.TestCase
result
- where to put test resultpublic void log(String s)
s
- text to addpublic void log(Throwable e)
e
- exception to tracepublic void getEnvironment()
public void init()
public javax.oss.JVTSession getInstanceOf(String myClass) throws TCKException
myClass
- DOCUMENT ME!
TCKException
- DOCUMENT ME!public static void assertTrue(String attr, String type, boolean c)
public static void assertTrue(String type, boolean c)
public static void assertTrueMsg(String msg, boolean c)
public static void fail(String attr, String type)
public static void fail(String type)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |