|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
test.filecontroller.FileControllerTest
public class FileControllerTest
Tests for FileController -class. Because FileController is a maintain class, most of the tests are temperamentally integration tests. Methods we use are defined in fileInterface -class.
Field Summary | |
---|---|
private filecontroller.FileController |
fileController
FileController instance. |
private general.Parameters |
parameters
Parameters instance. |
Constructor Summary | |
---|---|
FileControllerTest()
|
Method Summary | |
---|---|
void |
setUp()
Prepare. |
void |
tearDown()
Free resources and memory. |
void |
testPGMUpdate()
Test update -method when imagetype is "PGM". |
void |
testRadarFileController()
This method test constructor. |
void |
testRadarGetErrorMessage()
Test getErrorMessage() method. |
void |
testRadarGetWeatherMap()
Test getWeathermap -method when imageType is "radar". |
void |
testRadarUpdate()
Test update -method when imagetype is "radar". |
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private filecontroller.FileController fileController
private general.Parameters parameters
Constructor Detail |
---|
public FileControllerTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
- epublic void tearDown()
tearDown
in class junit.framework.TestCase
public void testPGMUpdate()
public void testRadarFileController()
public void testRadarGetErrorMessage()
public void testRadarGetWeatherMap()
public void testRadarUpdate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |