Java Doc for DefaultPropertiesTestLibrary.java in  » Database-JDBC-Connection-Pool » jTDS » net » sourceforge » jtds » 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 JDBC Connection Pool » jTDS » net.sourceforge.jtds.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


net.sourceforge.jtds.test.DefaultPropertiesTestLibrary

DefaultPropertiesTestLibrary
abstract public class DefaultPropertiesTestLibrary extends TestCase (Code)
Library for testing default properties.

Uses a DefaultPropertiesTester object to test different methods in different classes.

To extend this class, the programmer must implement the following items:

  1. Set the #tester field in a public default constructor that takes no arguments.
  2. A public static Test suite() method that takes one or more arguments. (The DefaultPropertiesTestLibrary.suite() method in this class should not be overridden.)

author:
   David D. Kilzer
version:
   $Id: DefaultPropertiesTestLibrary.java,v 1.26 2007/07/12 20:34:47 bheineman Exp $



Constructor Summary
public  DefaultPropertiesTestLibrary()
     Default constructor.

Method Summary
protected  DefaultPropertiesTestergetTester()
     Getter for DefaultPropertiesTestLibrary.tester .
public  booleanisOnlySqlServerTests()
     Getter for #onlySqlServerTests.
public  booleanisOnlyTds70Tests()
     Getter for #onlyTds70Tests.
protected  voidsetOnlySqlServerTests(boolean onlySqlServerTests)
     Setter for DefaultPropertiesTestLibrary.onlySqlServerTests .
protected  voidsetOnlyTds70Tests(boolean onlyTds70Tests)
     Setter for DefaultPropertiesTestLibrary.onlyTds70Tests .
public  voidsetTester(DefaultPropertiesTester tester)
     Setter for #tester.
final public static  Testsuite()
     Provides a null test suite so that JUnit will not try to instantiate this class directly.
public  voidtest_appName()
     Test the appName property.
public  voidtest_batchSize()
     Test the batchSize property.
public  voidtest_bindAddress()
     Test the bindAddress property.
public  voidtest_bufferDir()
     Test the bufferDir property.
public  voidtest_bufferMaxMemory()
     Test the bufferMaxMemory property.
public  voidtest_bufferMinPackets()
     Test the bufferMinPackets property.
public  voidtest_cacheMetaData()
     Test the cacheMetaData property.
public  voidtest_databaseName()
     Test the databaseName property.
public  voidtest_lastUpdateCount()
     Test the lastUpdateCount property.
public  voidtest_lobBuffer()
     Test the lobBuffer property.
public  voidtest_loginTimeout()
     Test the loginTimeout property.
public  voidtest_macAddress()
     Test the macAddress property.
public  voidtest_namedPipe()
     Test the namedPipe property.
public  voidtest_packetSize()
     Test the packetSize property.
public  voidtest_portNumber()
     Test the portNumber property.
public  voidtest_prepareSql()
     Test the prepareSql property.
public  voidtest_progName()
     Test the progName property.
public  voidtest_sendStringParametersAsUnicode()
     Test the sendStringParametersAsUnicode property.
public  voidtest_serverType()
     Test the serverType property.
public  voidtest_socketTimeout()
     Test the socketTimeout property.
public  voidtest_tcpNoDelay()
     Test the tcpNoDelay property.
public  voidtest_tds()
     Test the tds (version) property.
public  voidtest_useCursors()
     Test the useCursors property.
public  voidtest_useJCIFS()
     Test the useJCIFS property.
public  voidtest_useLOBs()
     Test the useLOBs property.
public  voidtest_wsid()
     Test the wsid property.


Constructor Detail
DefaultPropertiesTestLibrary
public DefaultPropertiesTestLibrary()(Code)
Default constructor.

The extender of this class is required to set the #tester field in a public default constructor.





Method Detail
getTester
protected DefaultPropertiesTester getTester()(Code)
Getter for DefaultPropertiesTestLibrary.tester . Value of DefaultPropertiesTestLibrary.tester.



isOnlySqlServerTests
public boolean isOnlySqlServerTests()(Code)
Getter for #onlySqlServerTests. Value of #onlySqlServerTests.



isOnlyTds70Tests
public boolean isOnlyTds70Tests()(Code)
Getter for #onlyTds70Tests. Value of #onlyTds70Tests.



setOnlySqlServerTests
protected void setOnlySqlServerTests(boolean onlySqlServerTests)(Code)
Setter for DefaultPropertiesTestLibrary.onlySqlServerTests .
Parameters:
  onlySqlServerTests - The value to set DefaultPropertiesTestLibrary.onlySqlServerTests to.



setOnlyTds70Tests
protected void setOnlyTds70Tests(boolean onlyTds70Tests)(Code)
Setter for DefaultPropertiesTestLibrary.onlyTds70Tests .
Parameters:
  onlyTds70Tests - The value to set DefaultPropertiesTestLibrary.onlyTds70Tests to.



setTester
public void setTester(DefaultPropertiesTester tester)(Code)
Setter for #tester.
Parameters:
  tester - The value to set #tester to.



suite
final public static Test suite()(Code)
Provides a null test suite so that JUnit will not try to instantiate this class directly. The test suite (always null).



test_appName
public void test_appName()(Code)
Test the appName property.



test_batchSize
public void test_batchSize()(Code)
Test the batchSize property.



test_bindAddress
public void test_bindAddress()(Code)
Test the bindAddress property.



test_bufferDir
public void test_bufferDir()(Code)
Test the bufferDir property.



test_bufferMaxMemory
public void test_bufferMaxMemory()(Code)
Test the bufferMaxMemory property.



test_bufferMinPackets
public void test_bufferMinPackets()(Code)
Test the bufferMinPackets property.



test_cacheMetaData
public void test_cacheMetaData()(Code)
Test the cacheMetaData property.



test_databaseName
public void test_databaseName()(Code)
Test the databaseName property.



test_lastUpdateCount
public void test_lastUpdateCount()(Code)
Test the lastUpdateCount property.



test_lobBuffer
public void test_lobBuffer()(Code)
Test the lobBuffer property.



test_loginTimeout
public void test_loginTimeout()(Code)
Test the loginTimeout property.



test_macAddress
public void test_macAddress()(Code)
Test the macAddress property.



test_namedPipe
public void test_namedPipe()(Code)
Test the namedPipe property.



test_packetSize
public void test_packetSize()(Code)
Test the packetSize property.



test_portNumber
public void test_portNumber()(Code)
Test the portNumber property.

Different values are set depending on whether SQL Server or Sybase is used.




test_prepareSql
public void test_prepareSql()(Code)
Test the prepareSql property.



test_progName
public void test_progName()(Code)
Test the progName property.



test_sendStringParametersAsUnicode
public void test_sendStringParametersAsUnicode()(Code)
Test the sendStringParametersAsUnicode property.



test_serverType
public void test_serverType()(Code)
Test the serverType property.

Different values are set depending on whether SQL Server or Sybase is used.




test_socketTimeout
public void test_socketTimeout()(Code)
Test the socketTimeout property.



test_tcpNoDelay
public void test_tcpNoDelay()(Code)
Test the tcpNoDelay property.



test_tds
public void test_tds()(Code)
Test the tds (version) property.



test_useCursors
public void test_useCursors()(Code)
Test the useCursors property.



test_useJCIFS
public void test_useJCIFS()(Code)
Test the useJCIFS property.



test_useLOBs
public void test_useLOBs()(Code)
Test the useLOBs property.



test_wsid
public void test_wsid()(Code)
Test the wsid property.



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