Sha256: 8ff92c7b51386d8fa2cd028ee5b774dbfaca4b044b92ca6923292149532466a9
Contents?: true
Size: 1.75 KB
Versions: 9
Compression:
Stored size: 1.75 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
9 entries across 9 versions & 1 rubygems