|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--testi.TestLausunto
Luokan avulla testataan luokka Lausunto. TESTATTU 25.4.2004, OK -JT
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 |
private java.util.List tiedostot
private Lausunto lausunto
Constructor Detail |
public TestLausunto(java.lang.String name)
Method Detail |
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testGetAsiantuntija()
public void testGetTiedostot()
public void testGetTeksti()
public void testGetPaatos()
public void testSetPaatos()
public void testSetTeksti()
public void testSetTiedostot()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |