Java Doc for CompatibilitySuite.java in  » Database-DBMS » db-derby-10.2 » org » apache » derbyTesting » functionTests » tests » junitTests » compatibility » 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 DBMS » db derby 10.2 » org.apache.derbyTesting.functionTests.tests.junitTests.compatibility 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.derbyTesting.functionTests.util.DerbyJUnitTest
   org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.CompatibilitySuite

All known Subclasses:   org.apache.derbyTesting.functionTests.tests.junitTests.compatibility.JDBCDriverTest,
CompatibilitySuite
public class CompatibilitySuite extends DerbyJUnitTest (Code)

Inner Class :final public static class Creator
Inner Class :final public static class Version implements Comparable

Field Summary
final public static  VersionDRB_10_0
    
final public static  VersionDRB_10_1
    
final public static  VersionDRB_10_2
    
final public static  VersionIBM_2_4
    
final public static  StringSERVER_VERSION_FUNCTION
    
final public static  VersionVM_1_3
    
final public static  VersionVM_1_4
    
final public static  VersionVM_1_5
    


Method Summary
public  VersiongetClientVMVersion()
    

Get the vm level of the client.

public  VersiongetDriverVersion()
    

Get the version of the client.

public static  VersiongetServerVMVersion()
    

Get the vm level of the server.

public  VersiongetServerVersion()
    

Get the version of the server.

public static  StringgetVMVersion()
    

Get the vm level of the server.

public static  voidmain(String args)
    

Run JDBC compatibility tests using either the specified client or the client that is visible on the classpath.

public static  Testsuite()
    

JUnit boilerplate which adds as test cases all public methods whose names start with the string "test" in the named classes.


Field Detail
DRB_10_0
final public static Version DRB_10_0(Code)



DRB_10_1
final public static Version DRB_10_1(Code)



DRB_10_2
final public static Version DRB_10_2(Code)



IBM_2_4
final public static Version IBM_2_4(Code)



SERVER_VERSION_FUNCTION
final public static String SERVER_VERSION_FUNCTION(Code)



VM_1_3
final public static Version VM_1_3(Code)



VM_1_4
final public static Version VM_1_4(Code)



VM_1_5
final public static Version VM_1_5(Code)





Method Detail
getClientVMVersion
public Version getClientVMVersion()(Code)

Get the vm level of the client.




getDriverVersion
public Version getDriverVersion()(Code)

Get the version of the client.




getServerVMVersion
public static Version getServerVMVersion()(Code)

Get the vm level of the server.




getServerVersion
public Version getServerVersion()(Code)

Get the version of the server.




getVMVersion
public static String getVMVersion()(Code)

Get the vm level of the server.




main
public static void main(String args) throws Exception(Code)

Run JDBC compatibility tests using either the specified client or the client that is visible on the classpath. If there is more than one client on the classpath, exits with an error.

  • arg[ 0 ] = required name of database to connect to
  • arg[ 1 ] = optional driver to use. if not specified, we'll look for a client on the classpath



suite
public static Test suite()(Code)

JUnit boilerplate which adds as test cases all public methods whose names start with the string "test" in the named classes. When you want to add a new class of tests, just wire it into this suite.




Fields inherited from org.apache.derbyTesting.functionTests.util.DerbyJUnitTest
final public static int DATABASE_URL(Code)(Java Doc)
final public static String DEBUG_FLAG(Code)(Java Doc)
final public static String DEFAULT_DATABASE_NAME(Code)(Java Doc)
final public static String DEFAULT_PASSWORD(Code)(Java Doc)
final public static String DEFAULT_USER_NAME(Code)(Java Doc)
final public static int DRIVER_NAME(Code)(Java Doc)
final public static int FAILURE_EXIT(Code)(Java Doc)
final public static int FRAMEWORK_NAME(Code)(Java Doc)
final protected static int JDBC_BOOLEAN(Code)(Java Doc)
final public static String[][] LEGAL_CLIENTS(Code)(Java Doc)
final public static int SUCCESS_EXIT(Code)(Java Doc)

Methods inherited from org.apache.derbyTesting.functionTests.util.DerbyJUnitTest
public static void alarm(String text)(Code)(Java Doc)
public void assertColumnEquals(ResultSet rs, int columnNumber, Object[] expectedValues) throws Exception(Code)(Java Doc)
public void assertColumnEquals(String message, ResultSet rs, int columnNumber, Object expectedValue) throws Exception(Code)(Java Doc)
public void assertRow(ResultSet rs, Object[] expectedRow) throws Exception(Code)(Java Doc)
public void assertScalar(Connection conn, String queryText, Object expectedResult) throws Exception(Code)(Java Doc)
protected static void close(ResultSet rs)(Code)(Java Doc)
protected static void close(Statement statement)(Code)(Java Doc)
protected static void close(Connection conn)(Code)(Java Doc)
public void compareBytes(String message, Object left, Object right) throws Exception(Code)(Java Doc)
public void compareDates(String message, Object left, Object right) throws Exception(Code)(Java Doc)
public void compareObjects(String message, Object left, Object right) throws Exception(Code)(Java Doc)
protected void createDB(String databaseName) throws Exception(Code)(Java Doc)
protected static void dropFunction(Connection conn, String name)(Code)(Java Doc)
protected static void dropProcedure(Connection conn, String name)(Code)(Java Doc)
protected static void dropSchemaObject(Connection conn, String genus, String objectName)(Code)(Java Doc)
protected static void dropTable(Connection conn, String name)(Code)(Java Doc)
protected static void execute(Connection conn, String text) throws SQLException(Code)(Java Doc)
protected static void executeDDL(Connection conn, String text) throws SQLException(Code)(Java Doc)
public void exit(int exitStatus)(Code)(Java Doc)
protected static boolean faultInDriver(String[] clientSettings)(Code)(Java Doc)
public static void findClientFromProperties() throws Exception(Code)(Java Doc)
public static String[] getClientSettings()(Code)(Java Doc)
protected Object getColumn(ResultSet rs, String columnName, int jdbcType) throws Exception(Code)(Java Doc)
protected Object getColumn(ResultSet rs, int param, Object value) throws Exception(Code)(Java Doc)
protected static Connection getConnection() throws Exception(Code)(Java Doc)
protected static Connection getConnection(String[] clientSettings, String databaseName, Properties properties) throws Exception(Code)(Java Doc)
protected Object getOutArg(CallableStatement cs, int arg, int jdbcType) throws Exception(Code)(Java Doc)
public static void initializeForOldHarness(String[] args) throws Exception(Code)(Java Doc)
public static boolean parseDebug()(Code)(Java Doc)
protected static PreparedStatement prepare(Connection conn, String text) throws SQLException(Code)(Java Doc)
protected static CallableStatement prepareCall(Connection conn, String text) throws SQLException(Code)(Java Doc)
public static void printStackTrace(Throwable t)(Code)(Java Doc)
public static void println(String text)(Code)(Java Doc)
public static void runUnderOldHarness(String[] args, Test suite) throws Exception(Code)(Java Doc)
public static void setClient(String[] client)(Code)(Java Doc)
public static void setDatabaseName(String databaseName)(Code)(Java Doc)
public static void setDebug(boolean value)(Code)(Java Doc)
protected void setParameter(PreparedStatement ps, int param, int jdbcType, Object value) throws Exception(Code)(Java Doc)
protected void setParameter(PreparedStatement ps, int param, Object value) throws Exception(Code)(Java Doc)
protected String singleQuote(String text)(Code)(Java Doc)
protected static void truncateTable(Connection conn, String name) throws SQLException(Code)(Java Doc)
public boolean usingDB2Client()(Code)(Java Doc)
public boolean usingDerbyClient()(Code)(Java Doc)
public boolean usingEmbeddedClient()(Code)(Java Doc)

ww__w___.__j_a_v__a2_s__.___c_o__m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.