org.hackystat.dailyprojectdata.resource.cache
Class TestCacheRestApi

java.lang.Object
  extended by org.hackystat.dailyprojectdata.test.DailyProjectDataTestHelper
      extended by org.hackystat.dailyprojectdata.resource.cache.TestCacheRestApi

public class TestCacheRestApi
extends DailyProjectDataTestHelper

Tests the Cache clear.

Author:
Philip Johnson

Constructor Summary
TestCacheRestApi()
           
 
Method Summary
 void deleteCacheServerSide()
          Test that DELETE {host}/cache/{user} and {user}/{project} can be invoked successfully.
 void testCacheClientSide()
          Tests that client-side cache clearing operations work as expected.
 
Methods inherited from class org.hackystat.dailyprojectdata.test.DailyProjectDataTestHelper
getDailyProjectDataHostName, getDpdServer, getSensorBaseHostName, setupServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCacheRestApi

public TestCacheRestApi()
Method Detail

deleteCacheServerSide

public void deleteCacheServerSide()
                           throws java.lang.Exception
Test that DELETE {host}/cache/{user} and {user}/{project} can be invoked successfully.

Throws:
java.lang.Exception - If problems occur.

testCacheClientSide

public void testCacheClientSide()
                         throws java.lang.Exception
Tests that client-side cache clearing operations work as expected.

Throws:
java.lang.Exception - if problems occur.