org.hackystat.sensor.xmldata.option
Class TestFileOption

java.lang.Object
  extended by org.hackystat.sensor.xmldata.option.TestFileOption

public class TestFileOption
extends java.lang.Object

Tests if the FileOption operates as intended.

Author:
aito

Constructor Summary
TestFileOption()
           
 
Method Summary
 void testMultipleFileArguments()
          Tests if isValid returns true if more than one file is specified.
 void testNoFileArguments()
          Tests if isValid returns false when no arguments are specified.
 void testNonExistantFile()
          Tests if isValid returns false if a non-existant file is specified.
 void testOneFileArgument()
          Tests if isValid returns true if one file is specified.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestFileOption

public TestFileOption()
Method Detail

testNoFileArguments

public void testNoFileArguments()
Tests if isValid returns false when no arguments are specified.


testOneFileArgument

public void testOneFileArgument()
Tests if isValid returns true if one file is specified.


testMultipleFileArguments

public void testMultipleFileArguments()
Tests if isValid returns true if more than one file is specified.


testNonExistantFile

public void testNonExistantFile()
Tests if isValid returns false if a non-existant file is specified.