|
Oracle Fusion Middleware extensions for XML based Datamodel Framework 11g Release 1 (11.1.1.6) E22566-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
oracle.apps.fnd.applxdf.junitrt.testcases.XDFTest
public abstract class XDFTest
Field Summary | |
---|---|
static java.lang.String |
BASE_CHECK
|
static boolean |
createLogMsg
|
static java.lang.String |
testType
|
static java.lang.String |
UDP_CHECK
|
protected UseCase |
useCase
|
Constructor Summary | |
---|---|
XDFTest(UseCase useCase)
|
Method Summary | |
---|---|
int |
applyXDF(java.lang.String[] args)
Implementation of Xdf Schema Deploy. |
protected abstract void |
checkMoreInDb()
This abstract method needs to be implemented in individual objects. |
void |
createReader()
Creates a reader Object to read the log message file. |
protected abstract void |
doBasicDbCheck()
|
protected void |
runTest()
Override the default runtest mechanism of Junit testcases inorder to create tests @ runtime This enables us to create testXXX() at runtime by passing it as an argument ot the constrcutor of this class. |
protected void |
setUp()
This method does the required setup for running the testcase |
protected void |
tearDown()
Dont leave the database in an uncompromised state |
void |
update(ObservableTextLogger o,
java.lang.Object arg)
This method compares the messages generated by the logger with the messages from the standard log file. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, setName, 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, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected UseCase useCase
public static boolean createLogMsg
public static java.lang.String testType
public static java.lang.String BASE_CHECK
public static java.lang.String UDP_CHECK
Constructor Detail |
---|
public XDFTest(UseCase useCase)
Method Detail |
---|
protected abstract void checkMoreInDb() throws java.lang.Exception
java.lang.Exception
protected abstract void doBasicDbCheck() throws java.lang.Exception
java.lang.Exception
public final int applyXDF(java.lang.String[] args) throws java.lang.Exception
args
-
java.lang.Exception
public void update(ObservableTextLogger o, java.lang.Object arg)
update
in interface ILoggingObserver
public final void createReader() throws java.io.FileNotFoundException, java.io.IOException
java.io.FileNotFoundException
java.io.IOException
protected void setUp()
setUp
in class junit.framework.TestCase
protected void runTest()
runTest
in class junit.framework.TestCase
java.lang.Throwable
protected void tearDown()
tearDown
in class junit.framework.TestCase
java.lang.Exception
|
Oracle Fusion Middleware extensions for XML based Datamodel Framework 11g Release 1 (11.1.1.6) E22566-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |