Groovy Documentation

[Groovy] Class PaginatedContentSpec

java.lang.Object
  grails.plugin.geb.GebSpec
      PaginatedContentSpec

@Stepwise
class PaginatedContentSpec
extends GebSpec

Property Summary
net.sf.ehcache.Ehcache albumControllerCache

SpringcacheService springcacheService

 
Constructor Summary
PaginatedContentSpec()

 
Method Summary
java.lang.Object cleanupSpec()

private long getCacheHits()

private long getCacheMisses()

private long getCacheSize()

java.lang.Object loading the first list page primes the cache()

java.lang.Object navigating to the second page does not display cached content()

java.lang.Object returning to the first page misses the cache as query string parameters are present()

java.lang.Object returning to the second page serves content from the cache()

java.lang.Object setupSpec()

 

Property Detail

albumControllerCache

@Shared
net.sf.ehcache.Ehcache albumControllerCache


springcacheService

@Shared
SpringcacheService springcacheService


 
Constructor Detail

PaginatedContentSpec

PaginatedContentSpec()


 
Method Detail

cleanupSpec

java.lang.Object cleanupSpec()


getCacheHits

private long getCacheHits()


getCacheMisses

private long getCacheMisses()


getCacheSize

private long getCacheSize()


loading the first list page primes the cache

java.lang.Object loading the first list page primes the cache()


navigating to the second page does not display cached content

java.lang.Object navigating to the second page does not display cached content()


returning to the first page misses the cache as query string parameters are present

java.lang.Object returning to the first page misses the cache as query string parameters are present()


returning to the second page serves content from the cache

java.lang.Object returning to the second page serves content from the cache()


setupSpec

java.lang.Object setupSpec()


 

Groovy Documentation