Ontimize 5.2072EN

com.ontimize.util.test
Class EntityTest

java.lang.Object
  extended bycom.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

Nested Class Summary
static class EntityTest.EntityTestResults
           
static class EntityTest.FormTestResults
           
protected static class EntityTest.ProgressDialog
           
static class EntityTest.Result
           
static class EntityTest.TableData
           
 
Field Summary
protected static XMLFormBuilder constructor
           
static java.lang.String uriEt
           
 
Constructor Summary
EntityTest()
           
 
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
 

Field Detail

constructor

protected static XMLFormBuilder constructor

uriEt

public static java.lang.String uriEt
Constructor Detail

EntityTest

public EntityTest()
Method Detail

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

Ontimize