|
Class Summary |
| _Suite |
Suite to run all JUnit tests in this package:
org.apache.derbyTesting.functionTests.tests.derbynet |
| BadConnectionTest |
This tests some bad attempts at a client connection:
- non-existant database
- lack of user / password attributes
- bad values for valid connection attributes |
| ByteArrayCombinerStreamTest |
Test functionality of ByteArrayCombinerStream. |
| CheckSecurityManager |
This tests to see if the security manager is running. |
| ClientSideSystemPropertiesTest |
The test of the jvm properties for enabling client side tracing(DERBY-1275) |
| dblook_test_net |
|
| dblook_test_net_territory |
|
| DerbyNetAutoStart |
Test the network server derby.drda.startNetworkServer property. |
| DerbyNetNewServer |
Test NetworkServerControl.start(PrintWriter) writes to the print Writer
test:
start( printWriter)
start( (PrintWriter) null)
|
| DRDAProtocolTest |
Tests of the properties of the DRDA network protocol implementation. |
| executeUpdate |
This test tests the JDBC Statement executeUpdate method. |
| GetCurrentPropertiesTest |
This tests getCurrentProperties |
| LOBLocatorReleaseTest |
Tests of accessing large objects (LOBs) with locators. |
| NetHarnessJavaTest |
NetHarnessJavaTest includes .java tests in the derbynet directory that
have not been converted to junit and do not have multiple masters. |
| NetIjTest |
NetScripts runs ij scripts (.sql files) in the derbynet package
and compares the output to a canon file in the standard master package. |
| NetworkServerControlApiTest |
|
| NetworkServerControlClientCommandTest |
|
| NSinSameJVMTest |
|
| NSSecurityMechanismTest |
This class tests the security mechanisms supported by Network Server
Network server supports SECMEC_EUSRIDPWD, SECMEC_USRIDPWD, SECMEC_USRIDONL
and SECMEC_USRSSBPWD.
-----------------------------------------------------------------
Security Mechanism | secmec | User friendly name
| codepoint value |
-----------------------------------------------------------------
USRIDONL | 0x04 | USER_ONLY_SECURITY
USRIDPWD | 0x03 | CLEAR_TEXT_PASSWORD_SECURITY
EUSRIDPWD | 0x09 | ENCRYPTED_USER_AND_PASSWORD_SECURITY
USRSSBPWD | 0x08 | STRONG_PASSWORD_SUBSTITUTE_SECURITY
-----------------------------------------------------------------
Key points:
#1) Server and client support encrypted userid/password (EUSRIDPWD) via the
use of Diffie Helman key-agreement protocol - but current Open Group DRDA
specifications imposes small prime and base generator values (256 bits) that
prevents other JCE's to be used as java cryptography providers - typical
minimum security requirements is usually of 1024 bits (512-bit absolute
minimum) when using DH key-agreement protocol to generate a session key. |
| OutBufferedStreamTest |
This program tests streaming a blob with derby.drda.streamOutBufferSize
configuration. |
| PrepareStatementTest |
This Junit test class tests the JDBC PreparedStatement. |
| RuntimeInfoTest |
This tests the runtimeinfo command |
| SecureServerTest |
This Junit test class tests whether the server comes up under a security
manager as expected. |
| SecureServerTest.Outcome |
Possible outcomes for the experiment of bringing up the server. |
| ServerPropertiesTest |
This test tests the derby.properties, system properties and command line
parameters to make sure the pick up settings in the correct order. |
| ShutDownDBWhenNSShutsDownTest |
Derby-1274 - Network Server should shutdown the databases it has booted when
started from the command line. |
| SqlExceptionTest |
This is used for testing the SqlException class. |
| SSLTest |
Tests connects to an SSL server |
| SuicideOfStreamingTest |
Test that an exception is raised if the flow of data from the server to the
client is aborted. |
| SwitchablePrintStream |
|
| SysinfoTest |
This tests the sysinfo command |
| TestEnc |
This test is part of the encodingTests suite and has regression testcases that
have caused problems because of usage of non-portable methods, constructors like
String(byte[]) etc. |
| testProtocol |
This tests protocol errors and protocol not used by JCC or derbyclient |