Sha256: 3763a0ae194adc8911a0d4488f4a76c3277d7fee35099566a7d483dafaaedc15

Contents?: true

Size: 1.99 KB

Versions: 3

Compression:

Stored size: 1.99 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>dotest (Reap::Test)</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 lib/reap/task/test.rb, line 107</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dotest</span>( <span class="ruby-identifier">test_file</span> )
    <span class="ruby-keyword kw">if</span> <span class="ruby-operator">!</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>( <span class="ruby-identifier">test_file</span> )
      <span class="ruby-identifier">r</span> = <span class="ruby-keyword kw">nil</span>
    <span class="ruby-keyword kw">else</span>
      <span class="ruby-identifier">r</span> = <span class="ruby-identifier">fork_test</span>( <span class="ruby-identifier">test_file</span> )
    <span class="ruby-keyword kw">end</span>
    <span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">passed?</span>
      <span class="ruby-ivar">@errors</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-value str">'@errors'</span>)
      <span class="ruby-ivar">@failures</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">r</span>.<span class="ruby-identifier">instance_variable_get</span>(<span class="ruby-value str">'@failures'</span>)
    <span class="ruby-keyword kw">end</span>
    <span class="ruby-ivar">@results</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">r</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reap-4.0.0 web/rdoc/classes/Reap/Test.src/M000063.html
reap-4.0 web/rdoc/classes/Reap/Test.src/M000065.html
reap-5.10.10 web/rdoc/classes/Reap/Test.src/M000065.html