org.apache.jcs.auxiliary.remote.server
Class RemoteCacheServerAttributesUnitTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.jcs.auxiliary.remote.server.RemoteCacheServerAttributesUnitTest
All Implemented Interfaces:
junit.framework.Test

public class RemoteCacheServerAttributesUnitTest
extends junit.framework.TestCase

Tests for the remote cache server attributes.

Author:
Aaron Smuts

Constructor Summary
RemoteCacheServerAttributesUnitTest()
           
 
Method Summary
 void testSetRemoteTypeName_cluster()
          Verify that the type is set correctly and that the correct name is returned for the type.
 void testSetRemoteTypeName_local()
          Verify that the type is set correctly and that the correct name is returned for the type.
 void testToString()
          Verify that we get a string, even if not attributes are set.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RemoteCacheServerAttributesUnitTest

public RemoteCacheServerAttributesUnitTest()
Method Detail

testToString

public void testToString()
Verify that we get a string, even if not attributes are set.


testSetRemoteTypeName_local

public void testSetRemoteTypeName_local()
Verify that the type is set correctly and that the correct name is returned for the type.


testSetRemoteTypeName_cluster

public void testSetRemoteTypeName_cluster()
Verify that the type is set correctly and that the correct name is returned for the type.



Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.