edu.sdsc.inca
Class ServerTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byedu.sdsc.inca.ServerTest
All Implemented Interfaces:
junit.framework.Test

public class ServerTest
extends junit.framework.TestCase

None of the tests in this class actually start the server... All the tests that do that are in serverClientTest.

These are to test the individual functions that the server depends on.


Constructor Summary
ServerTest()
           
 
Method Summary
 void testConstructor()
          Test that the constructor finishes correctly and the shutdown hook was set.
 void testOpenResourceStream()
           
 void testSetCertificate()
          Test that a valid key file can be read.
 void testSetKey()
          Test that a valid key file can be read.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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
 

Constructor Detail

ServerTest

public ServerTest()
Method Detail

testConstructor

public void testConstructor()
Test that the constructor finishes correctly and the shutdown hook was set.


testSetCertificate

public void testSetCertificate()
Test that a valid key file can be read.


testSetKey

public void testSetKey()
Test that a valid key file can be read.


testOpenResourceStream

public void testOpenResourceStream()
                            throws java.io.IOException
Throws:
java.io.IOException