net.sourceforge.jtds.jdbc
Class SupportUnitTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bynet.sourceforge.jtds.jdbc.TestBase
              extended bynet.sourceforge.jtds.jdbc.DatabaseTestCase
                  extended bynet.sourceforge.jtds.jdbc.UnitTestBase
                      extended bynet.sourceforge.jtds.jdbc.SupportUnitTest
All Implemented Interfaces:
junit.framework.Test

public class SupportUnitTest
extends UnitTestBase

Unit tests for the Support class.

Version:
$Id: SupportUnitTest.java,v 1.1 2005-09-06 23:03:21 ddkilzer Exp $
Author:
David D. Kilzer

Field Summary
private  java.lang.String osName
           
private static java.lang.String SYSTEM_PROPRETY_OS_NAME
           
 
Fields inherited from class net.sourceforge.jtds.jdbc.DatabaseTestCase
 
Fields inherited from class net.sourceforge.jtds.jdbc.TestBase
con, props
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
SupportUnitTest(java.lang.String name)
          Constructor.
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testIsWindowsOS_Linux()
           
 void testIsWindowsOS_MacOSX()
           
 void testIsWindowsOS_Windows_XP()
           
 void testIsWindowsOS_windows()
           
 void testIsWindowsOS_Windows()
           
 
Methods inherited from class net.sourceforge.jtds.jdbc.UnitTestBase
assertEquals, invokeConstructor, invokeGetInstanceField, invokeInstanceMethod, invokeSetInstanceField, invokeStaticMethod, ucFirst
 
Methods inherited from class net.sourceforge.jtds.jdbc.DatabaseTestCase
compareBytes, getLongString, getLongString, getType, getTypemap
 
Methods inherited from class net.sourceforge.jtds.jdbc.TestBase
compareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SYSTEM_PROPRETY_OS_NAME

private static final java.lang.String SYSTEM_PROPRETY_OS_NAME
See Also:
Constant Field Values

osName

private java.lang.String osName
Constructor Detail

SupportUnitTest

public SupportUnitTest(java.lang.String name)
Constructor.

Parameters:
name - The name of the test.
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Overrides:
setUp in class TestBase
Throws:
java.lang.Exception

tearDown

public void tearDown()
              throws java.lang.Exception
Overrides:
tearDown in class TestBase
Throws:
java.lang.Exception

testIsWindowsOS_Linux

public void testIsWindowsOS_Linux()

testIsWindowsOS_MacOSX

public void testIsWindowsOS_MacOSX()

testIsWindowsOS_windows

public void testIsWindowsOS_windows()

testIsWindowsOS_Windows

public void testIsWindowsOS_Windows()

testIsWindowsOS_Windows_XP

public void testIsWindowsOS_Windows_XP()


Generated on October 27 2012