testi
Class TestSahkoposti

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--testi.TestSahkoposti
All Implemented Interfaces:
junit.framework.Test

public class TestSahkoposti
extends junit.framework.TestCase

Luokan avulla testataan luokka Sahkoposti. TESTATTU 25.4.2004, OK -JT

Author:
Jere Salonen

Field Summary
private  Sahkoposti sahkoposti
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestSahkoposti(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testGetLahettaja()
          SA-1, getLahettaja()
 void testGetOtsikko()
          SA-2, getOtsikko()
 void testGetTeksti()
          SA-4, getTeksti()
 void testGetVastaanottaja()
          SA-3, getVastaanottaja()
 
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
 

Field Detail

sahkoposti

private Sahkoposti sahkoposti
Constructor Detail

TestSahkoposti

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

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
java.lang.Exception

testGetLahettaja

public void testGetLahettaja()
SA-1, getLahettaja()


testGetOtsikko

public void testGetOtsikko()
SA-2, getOtsikko()


testGetTeksti

public void testGetTeksti()
SA-4, getTeksti()


testGetVastaanottaja

public void testGetVastaanottaja()
SA-3, getVastaanottaja()