Groovy Documentation

[Groovy] Class LayoutsSpec

java.lang.Object
  grails.plugin.springcache.web.AbstractContentCachingSpec
      LayoutsSpec

class LayoutsSpec
extends AbstractContentCachingSpec

Functional tests to ensure that layouts are rendered correctly when a view is cached, regardless of whether the layout is specified explicitly or applied by convention.


Property Summary
java.lang.Object layoutsCache

 
Constructor Summary
LayoutsSpec()

 
Method Summary
java.lang.Object Layout by action name renders correctly with cached view()

java.lang.Object Layout by config renders correctly with cached view()

java.lang.Object Layout by controller name renders correctly with cached view()

java.lang.Object Layout by static property renders correctly with cached view()

 

Property Detail

layoutsCache

@Shared
java.lang.Object layoutsCache


 
Constructor Detail

LayoutsSpec

LayoutsSpec()


 
Method Detail

Layout by action name renders correctly with cached view

java.lang.Object Layout by action name renders correctly with cached view()


Layout by config renders correctly with cached view

java.lang.Object Layout by config renders correctly with cached view()


Layout by controller name renders correctly with cached view

java.lang.Object Layout by controller name renders correctly with cached view()


Layout by static property renders correctly with cached view

java.lang.Object Layout by static property renders correctly with cached view()


 

Groovy Documentation