WebLogic Integration


com.bea.adapter.test
Class TestHarness

java.lang.Object
  |
  +--com.bea.adapter.test.TestHarness

public class TestHarness
extends java.lang.Object

Launches a suite of test cases (using the JUnit 3.5) framework; test cases have access to an ILogger and a java.util.Properties object to help in test case configuration.

Author:
Copyright © 2000, 2001 BEA Systems, Inc. All Rights Reserved.

Field Summary
protected static ILogger c_logger
           
protected static java.util.Properties c_testProperties
           
 
Constructor Summary
TestHarness()
           
 
Method Summary
protected static java.lang.String getDefaultTestPropertiesFileName()
           
static ILogger getLogger()
           
static java.util.Properties getTestProperties()
           
static void initialize(java.lang.String strTestPropertiesFile)
           
protected static ILogger initializeLogger(java.util.Properties props)
          Initializes an ILogger instance to be used by this program.
static java.util.Properties loadTestProperties(java.lang.String strTestPropertiesFile)
           
static void main(java.lang.String[] astrArgs)
           
protected static java.util.Properties processCommandLine(java.lang.String[] astrArgs)
           
static junit.framework.Test suite()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

c_testProperties

protected static java.util.Properties c_testProperties

c_logger

protected static ILogger c_logger
Constructor Detail

TestHarness

public TestHarness()
Method Detail

suite

public static junit.framework.Test suite()

main

public static void main(java.lang.String[] astrArgs)

getDefaultTestPropertiesFileName

protected static java.lang.String getDefaultTestPropertiesFileName()

initialize

public static void initialize(java.lang.String strTestPropertiesFile)
                       throws java.lang.Exception

loadTestProperties

public static java.util.Properties loadTestProperties(java.lang.String strTestPropertiesFile)
                                               throws java.lang.Exception

getTestProperties

public static java.util.Properties getTestProperties()

getLogger

public static ILogger getLogger()

initializeLogger

protected static ILogger initializeLogger(java.util.Properties props)
                                   throws java.lang.Exception
Initializes an ILogger instance to be used by this program.

processCommandLine

protected static java.util.Properties processCommandLine(java.lang.String[] astrArgs)

WebLogic Integration

WebLogic Integration (WLI)