org.ourgrid.common.security
Class MGSecureSocketFactoryTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ourgrid.common.security.MGSecureSocketFactoryTest
All Implemented Interfaces:
junit.framework.Test, PreCommitTest, SecurityTest, SelectiveTest, StressTest

public class MGSecureSocketFactoryTest
extends junit.framework.TestCase
implements SecurityTest

Tests the MGSecureClientSocketFactory and the MGSecureServerSocketFactory.


Constructor Summary
MGSecureSocketFactoryTest()
           
 
Method Summary
 void setUp()
          Sets up the environment to the test.
 void testSocketFactory()
          Tests the SecureSocketFactories.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 
Methods inherited from interface junit.framework.Test
countTestCases, run
 

Constructor Detail

MGSecureSocketFactoryTest

public MGSecureSocketFactoryTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Sets up the environment to the test.

Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

testSocketFactory

public void testSocketFactory()
                       throws java.lang.Exception
Tests the SecureSocketFactories.

Throws:
java.lang.Exception