| net.sourceforge.jtds.test.UnitTestBase net.sourceforge.jtds.test.NamedPipeUnitTest
NamedPipeUnitTest | public class NamedPipeUnitTest extends UnitTestBase (Code) | | Unit tests for the
SharedNamedPipe class.
author: David D. Kilzer version: $Id: NamedPipeUnitTest.java,v 1.9 2007/07/08 18:08:54 bheineman Exp $ |
Method Summary | |
public void | testCalculateBufferSize_TDS42() Test that Support.calculateNamedPipeBufferSize(int, int)
sets the buffer size appropriately for TDS 4.2 when the packet
size is set to 0. | public void | testCalculateBufferSize_TDS50() Test that Support.calculateNamedPipeBufferSize(int, int)
sets the buffer size appropriately for TDS 5.0 when the packet
size is set to 0. | public void | testCalculateBufferSize_TDS70() Test that Support.calculateNamedPipeBufferSize(int, int)
sets the buffer size appropriately for TDS 7.0 when the packet
size is set to 0. | public void | testCalculateBufferSize_TDS80() Test that Support.calculateNamedPipeBufferSize(int, int)
sets the buffer size appropriately for TDS 8.0 when the packet
size is set to 0. |
NamedPipeUnitTest | public NamedPipeUnitTest(String name)(Code) | | Constructor.
Parameters: name - The name of the test. |
testCalculateBufferSize_TDS42 | public void testCalculateBufferSize_TDS42()(Code) | | Test that Support.calculateNamedPipeBufferSize(int, int)
sets the buffer size appropriately for TDS 4.2 when the packet
size is set to 0.
|
testCalculateBufferSize_TDS50 | public void testCalculateBufferSize_TDS50()(Code) | | Test that Support.calculateNamedPipeBufferSize(int, int)
sets the buffer size appropriately for TDS 5.0 when the packet
size is set to 0.
|
testCalculateBufferSize_TDS70 | public void testCalculateBufferSize_TDS70()(Code) | | Test that Support.calculateNamedPipeBufferSize(int, int)
sets the buffer size appropriately for TDS 7.0 when the packet
size is set to 0.
|
testCalculateBufferSize_TDS80 | public void testCalculateBufferSize_TDS80()(Code) | | Test that Support.calculateNamedPipeBufferSize(int, int)
sets the buffer size appropriately for TDS 8.0 when the packet
size is set to 0.
|
Methods inherited from net.sourceforge.jtds.test.UnitTestBase | protected void assertEquals(String message, Object[] expected, Object[] actual)(Code)(Java Doc) public static Object invokeConstructor(Class klass, Class[] classes, Object[] objects)(Code)(Java Doc) public static Object invokeGetInstanceField(Object instance, String fieldName)(Code)(Java Doc) public static Object invokeInstanceMethod(Object instance, String methodName, Class[] classes, Object[] objects)(Code)(Java Doc) public static void invokeSetInstanceField(Object instance, String fieldName, Object fieldValue)(Code)(Java Doc) public static Object invokeStaticMethod(Class klass, String methodName, Class[] classes, Object[] objects)(Code)(Java Doc) protected static String ucFirst(String s)(Code)(Java Doc)
|
|
|