com.ontimize.util.test
Class EntityTest
java.lang.Object
com.ontimize.util.test.EntityTest
- All Implemented Interfaces:
- java.io.Serializable
- public abstract class EntityTest
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Method Summary |
protected static java.sql.Connection |
connect(java.lang.String propBD)
|
protected static void |
findForms(java.lang.String tfPreForms,
java.io.File dir,
java.util.ArrayList dest)
|
protected static java.io.File |
getDirectoryProperties(java.io.File propDir,
java.lang.String relativaPath)
|
protected static java.lang.String |
getPath(java.lang.String path,
java.lang.String directory)
|
static void |
main(java.lang.String[] args)
|
protected static EntityTest.TableData |
meta(java.sql.Connection con,
java.lang.String table)
|
static void |
runTest(java.lang.String pDir,
java.lang.String fDir)
|
protected static EntityTest.Result |
test(java.io.File f,
java.sql.Connection c)
|
static EntityTest.EntityTestResults |
test(java.lang.String directory,
java.lang.String propBD)
|
protected static EntityTest.Result |
testForm(java.awt.Frame f,
java.io.File form,
java.io.File propDir,
java.io.File formDir)
|
static EntityTest.FormTestResults |
testForms(java.awt.Frame frame,
java.lang.String preForms,
EntityTest.ProgressDialog d,
java.lang.String dirForms,
java.lang.String directory)
|
static EntityTest.FormTestResults |
testForms(java.lang.String preForms,
java.lang.String formDirectory,
java.lang.String entityDirectory)
|
static java.util.List |
tokenize(java.lang.String s,
java.lang.String separator)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
constructor
protected static XMLFormBuilder constructor
uriEt
public static java.lang.String uriEt
EntityTest
public EntityTest()
testForms
public static EntityTest.FormTestResults testForms(java.lang.String preForms,
java.lang.String formDirectory,
java.lang.String entityDirectory)
throws java.lang.Exception
- Throws:
java.lang.Exception
testForms
public static EntityTest.FormTestResults testForms(java.awt.Frame frame,
java.lang.String preForms,
EntityTest.ProgressDialog d,
java.lang.String dirForms,
java.lang.String directory)
throws java.lang.Exception
- Throws:
java.lang.Exception
findForms
protected static void findForms(java.lang.String tfPreForms,
java.io.File dir,
java.util.ArrayList dest)
getDirectoryProperties
protected static java.io.File getDirectoryProperties(java.io.File propDir,
java.lang.String relativaPath)
getPath
protected static java.lang.String getPath(java.lang.String path,
java.lang.String directory)
testForm
protected static EntityTest.Result testForm(java.awt.Frame f,
java.io.File form,
java.io.File propDir,
java.io.File formDir)
throws java.lang.Exception
- Throws:
java.lang.Exception
test
public static EntityTest.EntityTestResults test(java.lang.String directory,
java.lang.String propBD)
throws java.lang.Exception
- Throws:
java.lang.Exception
connect
protected static java.sql.Connection connect(java.lang.String propBD)
throws java.lang.Exception
- Throws:
java.lang.Exception
test
protected static EntityTest.Result test(java.io.File f,
java.sql.Connection c)
throws java.lang.Exception
- Throws:
java.lang.Exception
tokenize
public static java.util.List tokenize(java.lang.String s,
java.lang.String separator)
meta
protected static EntityTest.TableData meta(java.sql.Connection con,
java.lang.String table)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
runTest
public static void runTest(java.lang.String pDir,
java.lang.String fDir)
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception