net.grinder.common
Class TestGrinderProperties

java.lang.Object
  extended by net.grinder.testutility.AbstractJUnit4FileTestCase
      extended by net.grinder.common.TestGrinderProperties

public class TestGrinderProperties
extends net.grinder.testutility.AbstractJUnit4FileTestCase

Unit test case for GrinderProperties.

Author:
Philip Aston

Constructor Summary
TestGrinderProperties()
           
 
Method Summary
 void setUp()
           
 void testDefaultProperties()
           
 void testFileHandingWithBadFiles()
           
 void testGetBoolean()
           
 void testGetDouble()
           
 void testGetDoubleBroken()
           
 void testGetFile()
           
 void testGetInt()
           
 void testGetIntBroken()
           
 void testGetLong()
           
 void testGetLongBroken()
           
 void testGetPropertySubset()
           
 void testGetShort()
           
 void testGetShortBroken()
           
 void testPropertiesFileHanding()
           
 void testResolveRelativeFile()
           
 void testSave()
           
 void testSaveSingleProperty()
           
 void testSerialisation()
           
 void testSetBoolean()
           
 void testSetDouble()
           
 void testSetFile()
           
 void testSetInt()
           
 void testSetLong()
           
 void testSetShort()
           
 
Methods inherited from class net.grinder.testutility.AbstractJUnit4FileTestCase
getDirectory, tearDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestGrinderProperties

public TestGrinderProperties()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

testGetPropertySubset

public void testGetPropertySubset()
                           throws Exception
Throws:
Exception

testGetInt

public void testGetInt()
                throws Exception
Throws:
Exception

testGetIntBroken

public void testGetIntBroken()
                      throws Exception
Throws:
Exception

testGetLong

public void testGetLong()
                 throws Exception
Throws:
Exception

testGetLongBroken

public void testGetLongBroken()
                       throws Exception
Throws:
Exception

testGetShort

public void testGetShort()
                  throws Exception
Throws:
Exception

testGetShortBroken

public void testGetShortBroken()
                        throws Exception
Throws:
Exception

testGetDouble

public void testGetDouble()
                   throws Exception
Throws:
Exception

testGetDoubleBroken

public void testGetDoubleBroken()
                         throws Exception
Throws:
Exception

testGetBoolean

public void testGetBoolean()
                    throws Exception
Throws:
Exception

testGetFile

public void testGetFile()
                 throws Exception
Throws:
Exception

testSetInt

public void testSetInt()
                throws Exception
Throws:
Exception

testSetLong

public void testSetLong()
                 throws Exception
Throws:
Exception

testSetShort

public void testSetShort()
                  throws Exception
Throws:
Exception

testSetDouble

public void testSetDouble()
                   throws Exception
Throws:
Exception

testSetBoolean

public void testSetBoolean()
                    throws Exception
Throws:
Exception

testSetFile

public void testSetFile()
                 throws Exception
Throws:
Exception

testDefaultProperties

public void testDefaultProperties()
                           throws Exception
Throws:
Exception

testPropertiesFileHanding

public void testPropertiesFileHanding()
                               throws Exception
Throws:
Exception

testSave

public void testSave()
              throws Exception
Throws:
Exception

testSaveSingleProperty

public void testSaveSingleProperty()
                            throws Exception
Throws:
Exception

testFileHandingWithBadFiles

public void testFileHandingWithBadFiles()
                                 throws Exception
Throws:
Exception

testSerialisation

public void testSerialisation()
                       throws Exception
Throws:
Exception

testResolveRelativeFile

public void testResolveRelativeFile()
                             throws Exception
Throws:
Exception


Copyright © 2000-2013. All Rights Reserved.