net.sf.sasl.distributed.lock.hazelcast
Class HazelcastInstanceFactoryBeanTest

java.lang.Object
  extended by net.sf.sasl.distributed.lock.hazelcast.HazelcastInstanceFactoryBeanTest

public class HazelcastInstanceFactoryBeanTest
extends Object

Test cases for the HazelcastInstanceFactoryBean class.

Author:
Philipp Förmer

Constructor Summary
HazelcastInstanceFactoryBeanTest()
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testAfterPropertiesSetNoPropertiesSet()
          Test case for the afterPropertiesSet() method in the case that no properties have been set (use defaults).
 void testAfterPropertiesSetWithPropertiesSet()
          Test case for the afterPropertiesSet() method in the case that properties have been set (do not use defaults).
 void testGetObjectType()
          Test case for the getObjectType() method.
 void testGetSetGroupConfig()
          Test cases for the getter and setter method of the group config.
 void testGetSetXmlConfigurationFile()
          Test case for the getter and setter method of the xml configuration file.
 void testIsSingleton()
          Test case for the isSingleton() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HazelcastInstanceFactoryBeanTest

public HazelcastInstanceFactoryBeanTest()
Method Detail

setUp

public void setUp()

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testGetSetXmlConfigurationFile

public void testGetSetXmlConfigurationFile()
                                    throws Exception
Test case for the getter and setter method of the xml configuration file.

Throws:
Exception

testGetSetGroupConfig

public void testGetSetGroupConfig()
                           throws Exception
Test cases for the getter and setter method of the group config.

Throws:
Exception

testGetObjectType

public void testGetObjectType()
                       throws Exception
Test case for the getObjectType() method.

Throws:
Exception

testIsSingleton

public void testIsSingleton()
                     throws Exception
Test case for the isSingleton() method.

Throws:
Exception

testAfterPropertiesSetNoPropertiesSet

public void testAfterPropertiesSetNoPropertiesSet()
                                           throws Exception
Test case for the afterPropertiesSet() method in the case that no properties have been set (use defaults).

Throws:
Exception

testAfterPropertiesSetWithPropertiesSet

public void testAfterPropertiesSetWithPropertiesSet()
                                             throws Exception
Test case for the afterPropertiesSet() method in the case that properties have been set (do not use defaults).

Throws:
Exception


Copyright © 2010. All Rights Reserved.