testi
Class TestLausunto

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

public class TestLausunto
extends junit.framework.TestCase

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

Author:
Jouni Tuominen

Field Summary
private  Lausunto lausunto
           
private  java.util.List tiedostot
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestLausunto(java.lang.String name)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testGetAsiantuntija()
          LA-1, getAsiantuntija()
 void testGetPaatos()
          LA-4, getPaatos()
 void testGetTeksti()
          LA-3, getTeksti()
 void testGetTiedostot()
          LA-2, getTiedostot()
 void testSetPaatos()
          LA-5, setPaatos(int paatos) UUSI TESTI
 void testSetTeksti()
          LA-6, setTeksti(String teksti) UUSI TESTI
 void testSetTiedostot()
          LA-7, setTiedostot(List Tiedostot) UUSI TESTI
 
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

tiedostot

private java.util.List tiedostot

lausunto

private Lausunto lausunto
Constructor Detail

TestLausunto

public TestLausunto(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

testGetAsiantuntija

public void testGetAsiantuntija()
LA-1, getAsiantuntija()


testGetTiedostot

public void testGetTiedostot()
LA-2, getTiedostot()


testGetTeksti

public void testGetTeksti()
LA-3, getTeksti()


testGetPaatos

public void testGetPaatos()
LA-4, getPaatos()


testSetPaatos

public void testSetPaatos()
LA-5, setPaatos(int paatos) UUSI TESTI


testSetTeksti

public void testSetTeksti()
LA-6, setTeksti(String teksti) UUSI TESTI


testSetTiedostot

public void testSetTiedostot()
LA-7, setTiedostot(List Tiedostot) UUSI TESTI