Java Doc for TestUtil.java in  » Database-Client » squirrel-sql-2.6.5a » net » sourceforge » squirrel_sql » test » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database Client » squirrel sql 2.6.5a » net.sourceforge.squirrel_sql.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.squirrel_sql.test.TestUtil

TestUtil
public class TestUtil (Code)
A utility class for building test objects.
author:
   manningr




Method Summary
public static  voidexpectActionCollectionGet(String actionName, Class<? extends Action> actionClass, ActionCollection col)
    
public static  StringfindAncestorSquirrelSqlDistDirBase(String dirToFind)
    
public static  TableColumnInfogetBigintColumnInfo(ISQLDatabaseMetaData md, boolean nullable)
    
public static  TableColumnInfogetBinaryColumnInfo(ISQLDatabaseMetaData md, boolean nullable)
    
public static  TableColumnInfogetBlobColumnInfo(ISQLDatabaseMetaData md, boolean nullable)
    
public static  TableColumnInfogetClobColumnInfo(ISQLDatabaseMetaData md, boolean nullable)
    
public static  TableColumnInfogetDateColumnInfo(ISQLDatabaseMetaData md, boolean nullable)
    
public static  ActionCollectiongetEasyMockActionCollection()
    
public static  IApplicationgetEasyMockApplication(boolean nice)
    
public static  IApplicationgetEasyMockApplication()
    
public static  DBCopyPreferenceBeangetEasyMockDBCopyPreferenceBean()
    
public static  IDatabaseObjectInfogetEasyMockDatabaseObjectInfo(String catalog, String schema, String simpleName, String qualName, DatabaseObjectType type)
    
public static  ForeignKeyInfo[]getEasyMockForeignKeyInfos(String fkName, String ctab, String ccol, String ptab, String pcol)
    
public static  ISQLDatabaseMetaDatagetEasyMockH2SQLMetaData()
    
public static  IIdentifiergetEasyMockIdentifier()
    
public static  List<IndexInfo>getEasyMockIndexInfos(String tableName, String columnName)
    
public static  IMessageHandlergetEasyMockMessageHandler()
    
public static  PrimaryKeyInfogetEasyMockPrimaryKeyInfo(String catalog, String schemaName, String tableName, String columnName, short keySequence, String pkName, boolean replay)
    
public static  PrimaryKeyInfogetEasyMockPrimaryKeyInfo(String catalog, String schemaName, String tableName, String columnName, short keySequence, String pkName)
     Calls replay by default.
public static  IQueryTokenizergetEasyMockQueryTokenizer()
    
public static  IQueryTokenizergetEasyMockQueryTokenizer(String sep, String solComment, boolean removeMultiLineComment, int queryCount)
    
public static  SQLAliasgetEasyMockSQLAlias(IIdentifier SqlAliasId, IIdentifier SqlDriverId)
    
public static  SQLConnectiongetEasyMockSQLConnection()
    
public static  ISQLConnectiongetEasyMockSQLConnection(ResultSet rs)
    
public static  ISQLDatabaseMetaDatagetEasyMockSQLMetaData(String dbName, String dbURL, DatabaseMetaData md)
    
public static  ISQLDatabaseMetaDatagetEasyMockSQLMetaData(String dbName, String dbURL, boolean nice, boolean replay)
    
public static  ISQLDatabaseMetaDatagetEasyMockSQLMetaData(String dbName, String dbURL)
     Calls replay by default.
public static  ISQLDatabaseMetaDatagetEasyMockSQLMetaData(String dbName, String dbURL, boolean nice)
     Calls replay by default.
public static  ISessiongetEasyMockSession(String dbName, boolean replay)
    
public static  ISessiongetEasyMockSession(String dbName)
     Calls replay by default.
public static  ISessiongetEasyMockSession(ISQLDatabaseMetaData md, boolean replay)
    
public static  ISessiongetEasyMockSession(ISQLDatabaseMetaData md, ISQLConnection con, boolean replay)
    
public static  ISessiongetEasyMockSession(ISQLDatabaseMetaData md)
     Calls replay by default.
public static  ISessiongetEasyMockSession(ISQLDatabaseMetaData md, ResultSet rs)
    
public static  SessionPropertiesgetEasyMockSessionProperties(String sep, String solComment, boolean removeMultLineComments)
    
public static  ISQLAliasExtgetEasyMockSqlAliasExt()
    
public static  SquirrelActiongetEasyMockSquirrelAction(String name)
    
public static  SquirrelPreferencesgetEasyMockSquirrelPreferences(SessionProperties props)
    
public static  SquirrelResourcesgetEasyMockSquirrelResources()
    
public static  TableColumnInfogetEasyMockTableColumn(String catalogName, String schemaName, String tableName, String columnName, int dataType)
    
public static  TableColumnInfogetEasyMockTableColumnInfo(String catalogName, String schemaName, String tableName, String columnName, int dataType, int columnSize, String defaultValue, String remarks, int decimalDigits, int octetLength, int radix, boolean nullable)
    
public static  TableColumnInfo[]getEasyMockTableColumns(String catalogName, String schemaName, String tableName, List<String> columnNames, List<Integer> dataTypes)
    
public static  ITableInfogetEasyMockTableInfo(String catalog, String schema, String simpleName, String qualName)
    
public static  TaskThreadPoolgetEasyMockTaskThreadPool()
    
public static  TableColumnInfogetIntegerColumnInfo(ISQLDatabaseMetaData md, boolean nullable)
    
public static  TableColumnInfogetLongVarcharColumnInfo(ISQLDatabaseMetaData md, boolean nullable, int length)
    
public static  TableColumnInfogetTableColumnInfo(ISQLDatabaseMetaData md, int type, int columnSize, int decimalDigits, boolean nullable)
    
public static  TableColumnInfogetTableColumnInfo(ISQLDatabaseMetaData md, String columnName, int type, int columnSize, int decimalDigits, boolean nullable)
    
public static  TaskThreadPoolgetThreadPool()
    
public static  TableColumnInfogetVarcharColumnInfo(ISQLDatabaseMetaData md, boolean nullable, int length)
    
public static  TableColumnInfosetEasyMockTableColumnInfoNullable(TableColumnInfo info, boolean nullable)
     Returns a new TableColumnInfo EasyMock based on values from the one specified, only the column size is the one specified.
public static  TableColumnInfosetEasyMockTableColumnInfoSize(TableColumnInfo info, int newSize)
     Returns a new TableColumnInfo EasyMock based on values from the one specified, only the column size is the one specified.
public static  TableColumnInfosetEasyMockTableColumnInfoType(TableColumnInfo info, int dataType)
     Returns a new TableColumnInfo EasyMock based on values from the one specified, only the column data type is the one specified.



Method Detail
expectActionCollectionGet
public static void expectActionCollectionGet(String actionName, Class<? extends Action> actionClass, ActionCollection col)(Code)



findAncestorSquirrelSqlDistDirBase
public static String findAncestorSquirrelSqlDistDirBase(String dirToFind)(Code)



getBigintColumnInfo
public static TableColumnInfo getBigintColumnInfo(ISQLDatabaseMetaData md, boolean nullable)(Code)



getBinaryColumnInfo
public static TableColumnInfo getBinaryColumnInfo(ISQLDatabaseMetaData md, boolean nullable)(Code)



getBlobColumnInfo
public static TableColumnInfo getBlobColumnInfo(ISQLDatabaseMetaData md, boolean nullable)(Code)



getClobColumnInfo
public static TableColumnInfo getClobColumnInfo(ISQLDatabaseMetaData md, boolean nullable)(Code)



getDateColumnInfo
public static TableColumnInfo getDateColumnInfo(ISQLDatabaseMetaData md, boolean nullable)(Code)



getEasyMockActionCollection
public static ActionCollection getEasyMockActionCollection()(Code)



getEasyMockApplication
public static IApplication getEasyMockApplication(boolean nice)(Code)



getEasyMockApplication
public static IApplication getEasyMockApplication()(Code)



getEasyMockDBCopyPreferenceBean
public static DBCopyPreferenceBean getEasyMockDBCopyPreferenceBean()(Code)



getEasyMockDatabaseObjectInfo
public static IDatabaseObjectInfo getEasyMockDatabaseObjectInfo(String catalog, String schema, String simpleName, String qualName, DatabaseObjectType type)(Code)



getEasyMockForeignKeyInfos
public static ForeignKeyInfo[] getEasyMockForeignKeyInfos(String fkName, String ctab, String ccol, String ptab, String pcol)(Code)



getEasyMockH2SQLMetaData
public static ISQLDatabaseMetaData getEasyMockH2SQLMetaData() throws SQLException(Code)



getEasyMockIdentifier
public static IIdentifier getEasyMockIdentifier()(Code)



getEasyMockIndexInfos
public static List<IndexInfo> getEasyMockIndexInfos(String tableName, String columnName)(Code)



getEasyMockMessageHandler
public static IMessageHandler getEasyMockMessageHandler()(Code)



getEasyMockPrimaryKeyInfo
public static PrimaryKeyInfo getEasyMockPrimaryKeyInfo(String catalog, String schemaName, String tableName, String columnName, short keySequence, String pkName, boolean replay)(Code)



getEasyMockPrimaryKeyInfo
public static PrimaryKeyInfo getEasyMockPrimaryKeyInfo(String catalog, String schemaName, String tableName, String columnName, short keySequence, String pkName)(Code)
Calls replay by default.
Parameters:
  catalog -
Parameters:
  schemaName -
Parameters:
  tableName -
Parameters:
  columnName -
Parameters:
  keySequence -
Parameters:
  pkName -



getEasyMockQueryTokenizer
public static IQueryTokenizer getEasyMockQueryTokenizer()(Code)



getEasyMockQueryTokenizer
public static IQueryTokenizer getEasyMockQueryTokenizer(String sep, String solComment, boolean removeMultiLineComment, int queryCount)(Code)



getEasyMockSQLAlias
public static SQLAlias getEasyMockSQLAlias(IIdentifier SqlAliasId, IIdentifier SqlDriverId)(Code)



getEasyMockSQLConnection
public static SQLConnection getEasyMockSQLConnection() throws SQLException(Code)



getEasyMockSQLConnection
public static ISQLConnection getEasyMockSQLConnection(ResultSet rs) throws SQLException(Code)



getEasyMockSQLMetaData
public static ISQLDatabaseMetaData getEasyMockSQLMetaData(String dbName, String dbURL, DatabaseMetaData md) throws SQLException(Code)



getEasyMockSQLMetaData
public static ISQLDatabaseMetaData getEasyMockSQLMetaData(String dbName, String dbURL, boolean nice, boolean replay) throws SQLException(Code)



getEasyMockSQLMetaData
public static ISQLDatabaseMetaData getEasyMockSQLMetaData(String dbName, String dbURL) throws SQLException(Code)
Calls replay by default. Nice by default.
Parameters:
  dbName -
Parameters:
  dbURL -
throws:
  SQLException -



getEasyMockSQLMetaData
public static ISQLDatabaseMetaData getEasyMockSQLMetaData(String dbName, String dbURL, boolean nice) throws SQLException(Code)
Calls replay by default.
Parameters:
  dbName -
Parameters:
  dbURL -
Parameters:
  nice -
throws:
  SQLException -



getEasyMockSession
public static ISession getEasyMockSession(String dbName, boolean replay) throws SQLException(Code)



getEasyMockSession
public static ISession getEasyMockSession(String dbName) throws SQLException(Code)
Calls replay by default.
Parameters:
  dbName -
throws:
  SQLException -



getEasyMockSession
public static ISession getEasyMockSession(ISQLDatabaseMetaData md, boolean replay)(Code)



getEasyMockSession
public static ISession getEasyMockSession(ISQLDatabaseMetaData md, ISQLConnection con, boolean replay)(Code)



getEasyMockSession
public static ISession getEasyMockSession(ISQLDatabaseMetaData md)(Code)
Calls replay by default.
Parameters:
  md -



getEasyMockSession
public static ISession getEasyMockSession(ISQLDatabaseMetaData md, ResultSet rs) throws SQLException(Code)



getEasyMockSessionProperties
public static SessionProperties getEasyMockSessionProperties(String sep, String solComment, boolean removeMultLineComments)(Code)



getEasyMockSqlAliasExt
public static ISQLAliasExt getEasyMockSqlAliasExt()(Code)



getEasyMockSquirrelAction
public static SquirrelAction getEasyMockSquirrelAction(String name)(Code)



getEasyMockSquirrelPreferences
public static SquirrelPreferences getEasyMockSquirrelPreferences(SessionProperties props)(Code)



getEasyMockSquirrelResources
public static SquirrelResources getEasyMockSquirrelResources()(Code)



getEasyMockTableColumn
public static TableColumnInfo getEasyMockTableColumn(String catalogName, String schemaName, String tableName, String columnName, int dataType)(Code)



getEasyMockTableColumnInfo
public static TableColumnInfo getEasyMockTableColumnInfo(String catalogName, String schemaName, String tableName, String columnName, int dataType, int columnSize, String defaultValue, String remarks, int decimalDigits, int octetLength, int radix, boolean nullable)(Code)



getEasyMockTableColumns
public static TableColumnInfo[] getEasyMockTableColumns(String catalogName, String schemaName, String tableName, List<String> columnNames, List<Integer> dataTypes)(Code)



getEasyMockTableInfo
public static ITableInfo getEasyMockTableInfo(String catalog, String schema, String simpleName, String qualName)(Code)



getEasyMockTaskThreadPool
public static TaskThreadPool getEasyMockTaskThreadPool()(Code)



getIntegerColumnInfo
public static TableColumnInfo getIntegerColumnInfo(ISQLDatabaseMetaData md, boolean nullable)(Code)



getLongVarcharColumnInfo
public static TableColumnInfo getLongVarcharColumnInfo(ISQLDatabaseMetaData md, boolean nullable, int length)(Code)



getTableColumnInfo
public static TableColumnInfo getTableColumnInfo(ISQLDatabaseMetaData md, int type, int columnSize, int decimalDigits, boolean nullable)(Code)



getTableColumnInfo
public static TableColumnInfo getTableColumnInfo(ISQLDatabaseMetaData md, String columnName, int type, int columnSize, int decimalDigits, boolean nullable)(Code)



getThreadPool
public static TaskThreadPool getThreadPool()(Code)



getVarcharColumnInfo
public static TableColumnInfo getVarcharColumnInfo(ISQLDatabaseMetaData md, boolean nullable, int length)(Code)



setEasyMockTableColumnInfoNullable
public static TableColumnInfo setEasyMockTableColumnInfoNullable(TableColumnInfo info, boolean nullable)(Code)
Returns a new TableColumnInfo EasyMock based on values from the one specified, only the column size is the one specified.
Parameters:
  info - the existing TableColumnInfo to replicate
Parameters:
  newSize - the new column size



setEasyMockTableColumnInfoSize
public static TableColumnInfo setEasyMockTableColumnInfoSize(TableColumnInfo info, int newSize)(Code)
Returns a new TableColumnInfo EasyMock based on values from the one specified, only the column size is the one specified.
Parameters:
  info - the existing TableColumnInfo to replicate
Parameters:
  newSize - the new column size



setEasyMockTableColumnInfoType
public static TableColumnInfo setEasyMockTableColumnInfoType(TableColumnInfo info, int dataType)(Code)
Returns a new TableColumnInfo EasyMock based on values from the one specified, only the column data type is the one specified.
Parameters:
  info - the existing TableColumnInfo to replicate
Parameters:
  dataTyoe - the new column data type



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.