Sha256: 877be22c807dfff702234037a5983658376e6a2b3c518e98d2192f2358ca4d5c
Contents?: true
Size: 1.73 KB
Versions: 22
Compression:
Stored size: 1.73 KB
Contents
<?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> <head> <title>test_random_filecache (CacheAndCollections)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File test/tc_cache_and_collections.rb, line 24</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">test_random_filecache</span> <span class="ruby-identifier">file_cache</span>.<span class="ruby-identifier">make_file_system_image_list</span> <span class="ruby-identifier">assert_not_nil</span>(<span class="ruby-identifier">file_cache</span>.<span class="ruby-identifier">file_system_image_urls_in_cache</span>) <span class="ruby-identifier">assert_not_nil</span>(<span class="ruby-identifier">file_cache</span>.<span class="ruby-identifier">random_file_system_image</span>) <span class="ruby-identifier">assert_not_equal</span>(<span class="ruby-value">0</span>,<span class="ruby-identifier">file_cache</span>.<span class="ruby-identifier">random_file_system_image</span>(<span class="ruby-identifier">:pictures</span>).<span class="ruby-identifier">pictures</span>) <span class="ruby-identifier">assert_not_equal</span>(<span class="ruby-value">0</span>,<span class="ruby-identifier">file_cache</span>.<span class="ruby-identifier">random_file_system_image</span>(<span class="ruby-identifier">:texts</span>).<span class="ruby-identifier">texts</span>) <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
22 entries across 9 versions & 1 rubygems