Class TimedCacheTests

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jmock.example.timedcache.TimedCacheTests
All Implemented Interfaces:
junit.framework.Test

public class TimedCacheTests extends junit.framework.TestCase
  • Field Details

  • Constructor Details

    • TimedCacheTests

      public TimedCacheTests()
  • Method Details

    • testLoadsObjectThatIsNotCached

      public void testLoadsObjectThatIsNotCached()
    • testReturnsCachedObjectWithinTimeout

      public void testReturnsCachedObjectWithinTimeout()
    • testReloadsCachedObjectAfterTimeout

      public void testReloadsCachedObjectAfterTimeout()
    • time

      private Date time(int i)