net.sourceforge.jtds.jdbc
Class EncodingTest

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

public class EncodingTest
extends TestBase

Version:
1.0

Field Summary
 
Fields inherited from class net.sourceforge.jtds.jdbc.TestBase
con, props
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
EncodingTest(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void testBytesToVarchar()
          Test for bug [101956] updateBytes converted to hex in varchar

NB Test assumes server using iso_1 character set.

 void testSybaseISO_1()
          Test for bug [1293415] Charset iso_1 is broken for Sybase.
 
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, setUp, tearDown
 
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
 

Constructor Detail

EncodingTest

public EncodingTest(java.lang.String name)
Method Detail

testBytesToVarchar

public void testBytesToVarchar()
                        throws java.lang.Exception
Test for bug [101956] updateBytes converted to hex in varchar

NB Test assumes server using iso_1 character set.

Throws:
java.lang.Exception

testSybaseISO_1

public void testSybaseISO_1()
                     throws java.lang.Exception
Test for bug [1293415] Charset iso_1 is broken for Sybase.

NB Test assumes server using iso_1 character set.

Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)


Generated on October 27 2012