org.apache.jcs.auxiliary.remote.http.server
Class RemoteCacheServiceAdaptorUnitTest

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

public class RemoteCacheServiceAdaptorUnitTest
extends junit.framework.TestCase

Unit tests for the adaptor.


Constructor Summary
RemoteCacheServiceAdaptorUnitTest()
           
 
Method Summary
 void testProcessRequest_Get()
          Verify that the service is called.
 void testProcessRequest_GetMatching()
          Verify that the service is called.
 void testProcessRequest_GetMultiple()
          Verify that the service is called.
 void testProcessRequest_null()
          Verify that we balk and return an error.
 void testProcessRequest_Remove()
          Verify that the service is called.
 void testProcessRequest_RemoveAll()
          Verify that the service is called.
 void testProcessRequest_Update()
          Verify that the service is called.
 
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

RemoteCacheServiceAdaptorUnitTest

public RemoteCacheServiceAdaptorUnitTest()
Method Detail

testProcessRequest_null

public void testProcessRequest_null()
Verify that we balk and return an error.


testProcessRequest_Get

public void testProcessRequest_Get()
Verify that the service is called.


testProcessRequest_GetMatching

public void testProcessRequest_GetMatching()
Verify that the service is called.


testProcessRequest_GetMultiple

public void testProcessRequest_GetMultiple()
Verify that the service is called.


testProcessRequest_Update

public void testProcessRequest_Update()
Verify that the service is called.


testProcessRequest_Remove

public void testProcessRequest_Remove()
Verify that the service is called.


testProcessRequest_RemoveAll

public void testProcessRequest_RemoveAll()
Verify that the service is called.



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