test.filecontroller
Class ReadPGMImageFileTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by test.filecontroller.ReadPGMImageFileTest
All Implemented Interfaces:
junit.framework.Test

public class ReadPGMImageFileTest
extends junit.framework.TestCase

Test cases for ReadPGMImageFile -class.

Version:
1
Author:
Potkuri-group

Field Summary
private  general.Parameters parameters
          Instance of parameters -class.
private  filecontroller.ReadPGMImageFile readPGMImageFile
          Instance of readImageFile -class.
 
Constructor Summary
ReadPGMImageFileTest()
           
 
Method Summary
 void testGetErrorMessage()
          Test getErrorMessage.
 void testGetMap()
          Test getMap -method.
 void testGetMapMatrix()
          Test getMapMatrix -method.
 void testPGMFilesNotFound()
          Tests for case PGM -images doesn't exists.
 void testreadPGMImageFile()
          Test constructor .
 void testUpdate()
          Test update method.
 void testUpdateUntilNoMoreWeatherData()
          Test "No more weather data" -situation.
 void testWeathersetFileNotFound()
          Tests for case WeatherSet -file not found.
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parameters

private general.Parameters parameters
Instance of parameters -class.


readPGMImageFile

private filecontroller.ReadPGMImageFile readPGMImageFile
Instance of readImageFile -class.

Constructor Detail

ReadPGMImageFileTest

public ReadPGMImageFileTest()
Method Detail

testGetErrorMessage

public void testGetErrorMessage()
Test getErrorMessage.


testGetMap

public void testGetMap()
Test getMap -method.


testGetMapMatrix

public void testGetMapMatrix()
Test getMapMatrix -method.


testPGMFilesNotFound

public void testPGMFilesNotFound()
Tests for case PGM -images doesn't exists.


testreadPGMImageFile

public void testreadPGMImageFile()
Test constructor .


testUpdate

public void testUpdate()
Test update method.


testUpdateUntilNoMoreWeatherData

public void testUpdateUntilNoMoreWeatherData()
Test "No more weather data" -situation.


testWeathersetFileNotFound

public void testWeathersetFileNotFound()
Tests for case WeatherSet -file not found.