de.hs_rm.cs.lecturenotes.server.core.persistence
Class DatabaseSecureUtilTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by de.hs_rm.cs.lecturenotes.server.core.persistence.DatabaseSecureUtilTest
All Implemented Interfaces:
junit.framework.Test

public final class DatabaseSecureUtilTest
extends junit.framework.TestCase

Tests DatabaseSecureUtil.

Version:
$LastChangedRevision: 299 $
Author:
Enrico Homann

Field Summary
static java.lang.String TESTCASE1_EXPRESULT
          Expected result for Test Case 1.
static java.lang.String TESTCASE1_INPUT
          Input for Test Case 1.
 
Constructor Summary
DatabaseSecureUtilTest()
           
 
Method Summary
 void testGetHashSha256()
          TestCase for Method: getHashSha256.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TESTCASE1_INPUT

public static final java.lang.String TESTCASE1_INPUT
Input for Test Case 1.

See Also:
Constant Field Values

TESTCASE1_EXPRESULT

public static final java.lang.String TESTCASE1_EXPRESULT
Expected result for Test Case 1.

See Also:
Constant Field Values
Constructor Detail

DatabaseSecureUtilTest

public DatabaseSecureUtilTest()
Method Detail

testGetHashSha256

public void testGetHashSha256()
TestCase for Method: getHashSha256. Scenario: Simple text hash