name.angoca.db2sa.tools.configurator
Class ConfigurationReaderTest

Package class diagram package ConfigurationReaderTest
java.lang.Object
  extended by name.angoca.db2sa.tools.configurator.ConfigurationReaderTest

public final class ConfigurationReaderTest
extends Object

Test of the configuration reader.

Control Version

Version:
1.1.0 2009-11-02
Author:
Andres Gomez Casanova (AngocA)

Constructor Summary
ConfigurationReaderTest()
          Default constructor.
 
Method Summary
static void tearDownAfterClass()
          Clears the configuration file name property at the end of the test.
 void testInvalidFile()
          Test the thrown of an exception after reading a file with an invalid structure.
 void testNotFoundFile()
          Test the thrown of an exception after reading a file with an invalid structure.
 void testReadNull()
          Tests that the file to read cannot be null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationReaderTest

public ConfigurationReaderTest()
Default constructor.

Method Detail

tearDownAfterClass

public static void tearDownAfterClass()
Clears the configuration file name property at the end of the test.


testInvalidFile

public void testInvalidFile()
                     throws AbstractConfiguratorException
Test the thrown of an exception after reading a file with an invalid structure.

Throws:
AbstractConfiguratorException - Never.

testNotFoundFile

public void testNotFoundFile()
                      throws AbstractConfiguratorException
Test the thrown of an exception after reading a file with an invalid structure.

Throws:
AbstractConfiguratorException - Never.

testReadNull

public void testReadNull()
                  throws AbstractConfiguratorException
Tests that the file to read cannot be null.

Throws:
AbstractConfiguratorException - Never.


Andres Gomez Casanova (AngocA) 2009-2010 Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 Unported License.