<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Class: DeltacloudUnitTest::UrlForTest</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> <script type="text/javascript"> // <![CDATA[ function popupCode( url ) { window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400") } function toggleCode( id ) { if ( document.getElementById ) elem = document.getElementById( id ); else if ( document.all ) elem = eval( "document.all." + id ); else return false; elemStyle = elem.style; if ( elemStyle.display != "block" ) { elemStyle.display = "block" } else { elemStyle.display = "none" } return true; } // Make codeblocks hidden by default document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" ) // ]]> </script> </head> <body> <div id="classHeader"> <table class="header-table"> <tr class="top-aligned-row"> <td><strong>Class</strong></td> <td class="class-name-in-header">DeltacloudUnitTest::UrlForTest</td> </tr> <tr class="top-aligned-row"> <td><strong>In:</strong></td> <td> <a href="../../files/tests/drivers/mock/url_for_test_rb.html"> tests/drivers/mock/url_for_test.rb </a> <br /> </td> </tr> <tr class="top-aligned-row"> <td><strong>Parent:</strong></td> <td> Test::Unit::TestCase </td> </tr> </table> </div> <!-- banner header --> <div id="bodyContent"> <div id="contextContent"> </div> <div id="method-list"> <h3 class="section-bar">Methods</h3> <div class="name-list"> <a href="#M000713">app</a> <a href="#M000720">create_test_url_content</a> <a href="#M000714">test_it_works_for_root</a> <a href="#M000715">test_it_works_for_root_absolute</a> <a href="#M000717">test_it_works_when_given_absolute</a> <a href="#M000718">test_it_works_when_not_at_root_context</a> <a href="#M000716">test_it_works_with_spaces</a> <a href="#M000719">verify_url_for</a> </div> </div> </div> <!-- if includes --> <div id="includes"> <h3 class="section-bar">Included Modules</h3> <div id="includes-list"> <span class="include-name">Rack::Test::Methods</span> </div> </div> <div id="section"> <!-- if method_list --> <div id="methods"> <h3 class="section-bar">Public Class methods</h3> <div id="method-M000720" class="method-detail"> <a name="M000720"></a> <div class="method-heading"> <a href="UrlForTest.src/M000720.html" target="Code" class="method-signature" onclick="popupCode('UrlForTest.src/M000720.html');return false;"> <span class="method-name">create_test_url_content</span><span class="method-args">(test_url, url_content, mode)</span> </a> </div> <div class="method-description"> </div> </div> <h3 class="section-bar">Public Instance methods</h3> <div id="method-M000713" class="method-detail"> <a name="M000713"></a> <div class="method-heading"> <a href="UrlForTest.src/M000713.html" target="Code" class="method-signature" onclick="popupCode('UrlForTest.src/M000713.html');return false;"> <span class="method-name">app</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000714" class="method-detail"> <a name="M000714"></a> <div class="method-heading"> <a href="UrlForTest.src/M000714.html" target="Code" class="method-signature" onclick="popupCode('UrlForTest.src/M000714.html');return false;"> <span class="method-name">test_it_works_for_root</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000715" class="method-detail"> <a name="M000715"></a> <div class="method-heading"> <a href="UrlForTest.src/M000715.html" target="Code" class="method-signature" onclick="popupCode('UrlForTest.src/M000715.html');return false;"> <span class="method-name">test_it_works_for_root_absolute</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000717" class="method-detail"> <a name="M000717"></a> <div class="method-heading"> <a href="UrlForTest.src/M000717.html" target="Code" class="method-signature" onclick="popupCode('UrlForTest.src/M000717.html');return false;"> <span class="method-name">test_it_works_when_given_absolute</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000718" class="method-detail"> <a name="M000718"></a> <div class="method-heading"> <a href="UrlForTest.src/M000718.html" target="Code" class="method-signature" onclick="popupCode('UrlForTest.src/M000718.html');return false;"> <span class="method-name">test_it_works_when_not_at_root_context</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000716" class="method-detail"> <a name="M000716"></a> <div class="method-heading"> <a href="UrlForTest.src/M000716.html" target="Code" class="method-signature" onclick="popupCode('UrlForTest.src/M000716.html');return false;"> <span class="method-name">test_it_works_with_spaces</span><span class="method-args">()</span> </a> </div> <div class="method-description"> </div> </div> <div id="method-M000719" class="method-detail"> <a name="M000719"></a> <div class="method-heading"> <a href="UrlForTest.src/M000719.html" target="Code" class="method-signature" onclick="popupCode('UrlForTest.src/M000719.html');return false;"> <span class="method-name">verify_url_for</span><span class="method-args">(url, expected_url, mode=:path_only, params={}, rack_env={})</span> </a> </div> <div class="method-description"> </div> </div> </div> </div> <div id="validator-badges"> <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p> </div> </body> </html>