diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-06-02 00:44:32 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-06-02 00:44:32 -0700 |
commit | bfa3f5ba3930fb3919d94e97929a2b962d104e10 (patch) | |
tree | 6444a12d4b644427c644317d578519a381e0509a /html/050scenario.cc.html | |
parent | 71190ea5df7a77364e1efdbbf02d3d99afe813e3 (diff) | |
download | mu-bfa3f5ba3930fb3919d94e97929a2b962d104e10.tar.gz |
3900
Diffstat (limited to 'html/050scenario.cc.html')
-rw-r--r-- | html/050scenario.cc.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/050scenario.cc.html b/html/050scenario.cc.html index a692ab6b..db055536 100644 --- a/html/050scenario.cc.html +++ b/html/050scenario.cc.html @@ -454,7 +454,7 @@ if ('onhashchange' in window) { <span id="L387" class="LineNr">387 </span><span class="Delimiter">:(before "End Primitive Recipe Implementations")</span> <span id="L388" class="LineNr">388 </span><span class="Normal">case</span> MEMORY_SHOULD_CONTAIN: <span class="Delimiter">{</span> <span id="L389" class="LineNr">389 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>!Passed<span class="Delimiter">)</span> <span class="Identifier">break</span><span class="Delimiter">;</span> -<span id="L390" class="LineNr">390 </span> check_memory<span class="Delimiter">(</span>current_instruction<span class="Delimiter">().</span>ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">).</span>name<span class="Delimiter">);</span> +<span id="L390" class="LineNr">390 </span> check_memory<span class="Delimiter">(</span><a href='026call.cc.html#L85'>current_instruction</a><span class="Delimiter">().</span>ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">).</span>name<span class="Delimiter">);</span> <span id="L391" class="LineNr">391 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L392" class="LineNr">392 </span><span class="Delimiter">}</span> <span id="L393" class="LineNr">393 </span> @@ -662,7 +662,7 @@ if ('onhashchange' in window) { <span id="L595" class="LineNr">595 </span><span class="Delimiter">:(before "End Primitive Recipe Implementations")</span> <span id="L596" class="LineNr">596 </span><span class="Normal">case</span> TRACE_SHOULD_CONTAIN: <span class="Delimiter">{</span> <span id="L597" class="LineNr">597 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>!Passed<span class="Delimiter">)</span> <span class="Identifier">break</span><span class="Delimiter">;</span> -<span id="L598" class="LineNr">598 </span> check_trace<span class="Delimiter">(</span>current_instruction<span class="Delimiter">().</span>ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">).</span>name<span class="Delimiter">);</span> +<span id="L598" class="LineNr">598 </span> check_trace<span class="Delimiter">(</span><a href='026call.cc.html#L85'>current_instruction</a><span class="Delimiter">().</span>ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">).</span>name<span class="Delimiter">);</span> <span id="L599" class="LineNr">599 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L600" class="LineNr">600 </span><span class="Delimiter">}</span> <span id="L601" class="LineNr">601 </span> @@ -764,7 +764,7 @@ if ('onhashchange' in window) { <span id="L697" class="LineNr">697 </span><span class="Delimiter">:(before "End Primitive Recipe Implementations")</span> <span id="L698" class="LineNr">698 </span><span class="Normal">case</span> TRACE_SHOULD_NOT_CONTAIN: <span class="Delimiter">{</span> <span id="L699" class="LineNr">699 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>!Passed<span class="Delimiter">)</span> <span class="Identifier">break</span><span class="Delimiter">;</span> -<span id="L700" class="LineNr">700 </span> check_trace_missing<span class="Delimiter">(</span>current_instruction<span class="Delimiter">().</span>ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">).</span>name<span class="Delimiter">);</span> +<span id="L700" class="LineNr">700 </span> check_trace_missing<span class="Delimiter">(</span><a href='026call.cc.html#L85'>current_instruction</a><span class="Delimiter">().</span>ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">).</span>name<span class="Delimiter">);</span> <span id="L701" class="LineNr">701 </span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L702" class="LineNr">702 </span><span class="Delimiter">}</span> <span id="L703" class="LineNr">703 </span> @@ -841,17 +841,17 @@ if ('onhashchange' in window) { <span id="L774" class="LineNr">774 </span><span class="Normal">case</span> CHECK_TRACE_COUNT_FOR_LABEL: <span class="Delimiter">{</span> <span id="L775" class="LineNr">775 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>!Passed<span class="Delimiter">)</span> <span class="Identifier">break</span><span class="Delimiter">;</span> <span id="L776" class="LineNr">776 </span> <span class="Normal">int</span> expected_count = ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">).</span>at<span class="Delimiter">(</span><span class="Constant">0</span><span class="Delimiter">);</span> -<span id="L777" class="LineNr">777 </span> string label = current_instruction<span class="Delimiter">().</span>ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">1</span><span class="Delimiter">).</span>name<span class="Delimiter">;</span> +<span id="L777" class="LineNr">777 </span> string label = <a href='026call.cc.html#L85'>current_instruction</a><span class="Delimiter">().</span>ingredients<span class="Delimiter">.</span>at<span class="Delimiter">(</span><span class="Constant">1</span><span class="Delimiter">).</span>name<span class="Delimiter">;</span> <span id="L778" class="LineNr">778 </span> <span class="Normal">int</span> count = trace_count<span class="Delimiter">(</span>label<span class="Delimiter">);</span> <span id="L779" class="LineNr">779 </span> <span class="Normal">if</span> <span class="Delimiter">(</span>count != expected_count<span class="Delimiter">)</span> <span class="Delimiter">{</span> <span id="L780" class="LineNr">780 </span> <span class="Conceal">¦</span> <span class="Normal">if</span> <span class="Delimiter">(</span>Current_scenario && !Scenario_testing_scenario<span class="Delimiter">)</span> <span class="Delimiter">{</span> <span id="L781" class="LineNr">781 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Comment">// genuine test in a .mu file</span> -<span id="L782" class="LineNr">782 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L168'>raise</a> << <span class="Constant">"</span><span class="cSpecial">\n</span><span class="Constant">F - "</span> << Current_scenario<span class="Delimiter">-></span>name << <span class="Constant">": "</span> << <a href='013update_operation.cc.html#L25'>maybe</a><span class="Delimiter">(</span>current_recipe_name<span class="Delimiter">())</span> << <span class="Constant">"expected "</span> << expected_count << <span class="Constant">" lines in <a href='003trace.cc.html#L161'>trace</a> with label '"</span> << label << <span class="Constant">"' in <a href='003trace.cc.html#L161'>trace</a>: "</span> << <a href='003trace.cc.html#L185'>end</a><span class="Delimiter">();</span> +<span id="L782" class="LineNr">782 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L168'>raise</a> << <span class="Constant">"</span><span class="cSpecial">\n</span><span class="Constant">F - "</span> << Current_scenario<span class="Delimiter">-></span>name << <span class="Constant">": "</span> << <a href='013update_operation.cc.html#L25'>maybe</a><span class="Delimiter">(</span><a href='026call.cc.html#L83'>current_recipe_name</a><span class="Delimiter">())</span> << <span class="Constant">"expected "</span> << expected_count << <span class="Constant">" lines in <a href='003trace.cc.html#L161'>trace</a> with label '"</span> << label << <span class="Constant">"' in <a href='003trace.cc.html#L161'>trace</a>: "</span> << <a href='003trace.cc.html#L185'>end</a><span class="Delimiter">();</span> <span id="L783" class="LineNr">783 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L165'>DUMP</a><span class="Delimiter">(</span>label<span class="Delimiter">);</span> <span id="L784" class="LineNr">784 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L785" class="LineNr">785 </span> <span class="Conceal">¦</span> <span class="Normal">else</span> <span class="Delimiter">{</span> <span id="L786" class="LineNr">786 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <span class="Comment">// just testing scenario support</span> -<span id="L787" class="LineNr">787 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L168'>raise</a> << <a href='013update_operation.cc.html#L25'>maybe</a><span class="Delimiter">(</span>current_recipe_name<span class="Delimiter">())</span> << <span class="Constant">"expected "</span> << expected_count << <span class="Constant">" lines in <a href='003trace.cc.html#L161'>trace</a> with label '"</span> << label << <span class="Constant">"' in <a href='003trace.cc.html#L161'>trace</a></span><span class="cSpecial">\n</span><span class="Constant">"</span> << <a href='003trace.cc.html#L185'>end</a><span class="Delimiter">();</span> +<span id="L787" class="LineNr">787 </span> <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L168'>raise</a> << <a href='013update_operation.cc.html#L25'>maybe</a><span class="Delimiter">(</span><a href='026call.cc.html#L83'>current_recipe_name</a><span class="Delimiter">())</span> << <span class="Constant">"expected "</span> << expected_count << <span class="Constant">" lines in <a href='003trace.cc.html#L161'>trace</a> with label '"</span> << label << <span class="Constant">"' in <a href='003trace.cc.html#L161'>trace</a></span><span class="cSpecial">\n</span><span class="Constant">"</span> << <a href='003trace.cc.html#L185'>end</a><span class="Delimiter">();</span> <span id="L788" class="LineNr">788 </span> <span class="Conceal">¦</span> <span class="Delimiter">}</span> <span id="L789" class="LineNr">789 </span> <span class="Conceal">¦</span> <span class="Normal">if</span> <span class="Delimiter">(</span>!Scenario_testing_scenario<span class="Delimiter">)</span> Passed = <span class="Constant">false</span><span class="Delimiter">;</span> <span id="L790" class="LineNr">790 </span> <span class="Delimiter">}</span> |