|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase net.sourceforge.jtds.jdbc.TestBase net.sourceforge.jtds.jdbc.NtlmAuthTest
Unit test for NTLM challenge/response calculation
Field Summary |
Fields inherited from class net.sourceforge.jtds.jdbc.TestBase |
con, props |
Fields inherited from class junit.framework.TestCase |
|
Constructor Summary | |
NtlmAuthTest(java.lang.String name)
|
Method Summary | |
static byte[] |
hexToBytes(java.lang.String hex)
|
void |
testChallengeResponse()
Tests the NT challenge/response against a known-good value. |
void |
testLMv2()
|
void |
testLMv2CapturedData()
|
void |
testNTLMv2()
|
void |
testNTLMv2CapturedData()
|
void |
testTimestampConversion()
|
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 |
public NtlmAuthTest(java.lang.String name)
Method Detail |
public static byte[] hexToBytes(java.lang.String hex)
public void testChallengeResponse() throws java.lang.Exception
java.lang.Exception
public void testLMv2() throws java.lang.Exception
java.lang.Exception
public void testNTLMv2() throws java.lang.Exception
java.lang.Exception
public void testTimestampConversion() throws java.lang.Exception
java.lang.Exception
public void testLMv2CapturedData() throws java.lang.Exception
java.lang.Exception
public void testNTLMv2CapturedData() throws java.lang.Exception
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |