Rails-portlet test bench

These are isolated test cases of the Rails-portlet, for manual testing in the browser. The <%= link_to_exit_portlet 'source code', 'http://rails-portlet.rubyforge.org/svn/trunk/caterpillar/portlet_test_bench/' -%> can be used as a reference for using the same features in other Rails apps.

HTTP
<%= link_to 'URL parameter passing', :controller => 'Caterpillar::HttpMethods', :action => :parameter -%>
<%= link_to 'HTTP POST form', :controller => 'Caterpillar::HttpMethods', :action => :post -%>
<%= link_to 'HTTP POST and GET redirect', :controller => 'Caterpillar::HttpMethods', :action => :post_and_redirect -%>
<%= link_to 'HTTP referer (back)', :controller => 'Caterpillar::HttpMethods', :action => :back -%>
<%= link_to 'HTTP redirect', :controller => 'Caterpillar::HttpMethods', :action => :redirect -%>
JavaScripts
<%= link_to 'Simple JavaScript', :controller => 'Caterpillar::Js', :action => :simple -%>
<%= link_to 'Prototype JavaScript', :controller => 'Caterpillar::Js', :action => :prototype -%>
<%= link_to 'Script.aculo.us JavaScript', :controller => 'Caterpillar::Js', :action => :scriptaculous -%>
<%= link_to 'jQuery JavaScript', :controller => 'Caterpillar::Js', :action => :jquery -%>
<%= link_to 'Drag and drop', :controller => 'Caterpillar::Js', :action => :dragndrop -%>
<%= link_to 'link_to :method => :post', :controller => 'Caterpillar::Js', :action => :link_to_post -%>
CSS
<%= link_to 'Simple CSS', :controller => 'Caterpillar::Css', :action => :simple -%>
<%= link_to 'CSS background image', :controller => 'Caterpillar::Css', :action => :background -%>
XHR
<%= link_to 'Get time (Prototype)', :controller => 'Caterpillar::Xhr', :action => :prototype -%>
<%= link_to 'Get time (jQuery)', :controller => 'Caterpillar::Xhr', :action => :jquery -%>
Misc
<%= link_to 'Image resources', :controller => 'Caterpillar::Resource', :action => :images -%>
<%= link_to 'Inline text', :controller => 'Caterpillar::Resource', :action => :inline -%>
<%= link_to 'Link outside the portlet', :controller => 'Caterpillar::Resource', :action => :exit_portlet -%>
<%= link_to 'Liferay session variables', url_for( :controller => 'Caterpillar::Liferay', :action => :session_variables )+'/uid/%UID%/gid/%GID%' -%>
<%= link_to 'Flash message', :controller => 'Caterpillar::Session', :action => :flash_msg -%>
JUnit
The JUnit tests are used for automatic testing and they output XML.
<%= link_to 'Session cookie', :controller => 'Caterpillar::Junit', :action => :session_cookie -%>
<%= link_to 'Redirect', :controller => 'Caterpillar::Junit', :action => :redirect -%>
<%= link_to 'Session cookies & redirect', :controller => 'Caterpillar::Junit', :action => :cookies_with_redirect -%>