test_results.html in jldrill-0.5.1.7 vs test_results.html in jldrill-0.6.0.1

- old
+ new

@@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE html +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>RSpec results</title> @@ -16,31 +16,85 @@ font-size: 80%; } </style> <script type="text/javascript"> // <![CDATA[ + +function addClass(element_id, classname) { + document.getElementById(element_id).className += (" " + classname); +} + +function removeClass(element_id, classname) { + var elem = document.getElementById(element_id); + var classlist = elem.className.replace(classname,''); + elem.className = classlist; +} + function moveProgressBar(percentDone) { document.getElementById("rspec-header").style.width = percentDone +"%"; } + function makeRed(element_id) { - document.getElementById(element_id).style.background = '#C40D0D'; - document.getElementById(element_id).style.color = '#FFFFFF'; + removeClass(element_id, 'passed'); + removeClass(element_id, 'not_implemented'); + addClass(element_id,'failed'); } function makeYellow(element_id) { - if (element_id == "rspec-header" && document.getElementById(element_id).style.background != '#C40D0D') - { - document.getElementById(element_id).style.background = '#FAF834'; - document.getElementById(element_id).style.color = '#000000'; + var elem = document.getElementById(element_id); + if (elem.className.indexOf("failed") == -1) { // class doesn't includes failed + if (elem.className.indexOf("not_implemented") == -1) { // class doesn't include not_implemented + removeClass(element_id, 'passed'); + addClass(element_id,'not_implemented'); + } } - else - { - document.getElementById(element_id).style.background = '#FAF834'; - document.getElementById(element_id).style.color = '#000000'; +} + +function apply_filters() { + var passed_filter = document.getElementById('passed_checkbox').checked; + var failed_filter = document.getElementById('failed_checkbox').checked; + var pending_filter = document.getElementById('pending_checkbox').checked; + + assign_display_style("example passed", passed_filter); + assign_display_style("example failed", failed_filter); + assign_display_style("example not_implemented", pending_filter); + + assign_display_style_for_group("example_group passed", passed_filter); + assign_display_style_for_group("example_group not_implemented", pending_filter, pending_filter || passed_filter); + assign_display_style_for_group("example_group failed", failed_filter, failed_filter || pending_filter || passed_filter); +} + +function get_display_style(display_flag) { + var style_mode = 'none'; + if (display_flag == true) { + style_mode = 'block'; } + return style_mode; } +function assign_display_style(classname, display_flag) { + var style_mode = get_display_style(display_flag); + var elems = document.getElementsByClassName(classname) + for (var i=0; i<elems.length;i++) { + elems[i].style.display = style_mode; + } +} + +function assign_display_style_for_group(classname, display_flag, subgroup_flag) { + var display_style_mode = get_display_style(display_flag); + var subgroup_style_mode = get_display_style(subgroup_flag); + var elems = document.getElementsByClassName(classname) + for (var i=0; i<elems.length;i++) { + var style_mode = display_style_mode; + if ((display_flag != subgroup_flag) && (elems[i].getElementsByTagName('dt')[0].innerHTML.indexOf(", ") != -1)) { + elems[i].style.display = subgroup_style_mode; + } else { + elems[i].style.display = display_style_mode; + } + } +} + // ]]> </script> <style type="text/css"> #rspec-header { background: #65C400; color: #fff; height: 4em; @@ -52,17 +106,25 @@ font-family: "Lucida Grande", Helvetica, sans-serif; font-size: 1.8em; position: absolute; } +#label { + float:left; +} + +#display-filters { + float:left; + padding: 28px 0 0 40%; + font-family: "Lucida Grande", Helvetica, sans-serif; +} + #summary { - margin: 0; padding: 5px 10px; + float:right; + padding: 5px 10px; font-family: "Lucida Grande", Helvetica, sans-serif; text-align: right; - top: 0px; - right: 0px; - float:right; } #summary p { margin: 0 0 0 2px; } @@ -91,34 +153,68 @@ dd { margin: 5px 0 5px 5px; padding: 3px 3px 3px 18px; } -dd.spec.passed { +dd .duration { + padding-left: 5px; + text-align: right; + right: 0px; + float:right; +} + +dd.example.passed { border-left: 5px solid #65C400; border-bottom: 1px solid #65C400; background: #DBFFB4; color: #3D7700; } -dd.spec.failed { - border-left: 5px solid #C20000; - border-bottom: 1px solid #C20000; - color: #C20000; background: #FFFBD3; -} - -dd.spec.not_implemented { +dd.example.not_implemented { border-left: 5px solid #FAF834; border-bottom: 1px solid #FAF834; background: #FCFB98; color: #131313; } -dd.spec.pending_fixed { +dd.example.pending_fixed { border-left: 5px solid #0000C2; border-bottom: 1px solid #0000C2; color: #0000C2; background: #D3FBFF; } +dd.example.failed { + border-left: 5px solid #C20000; + border-bottom: 1px solid #C20000; + color: #C20000; background: #FFFBD3; +} + + +dt.not_implemented { + color: #000000; background: #FAF834; +} + +dt.pending_fixed { + color: #FFFFFF; background: #C40D0D; +} + +dt.failed { + color: #FFFFFF; background: #C40D0D; +} + + +#rspec-header.not_implemented { + color: #000000; background: #FAF834; +} + +#rspec-header.pending_fixed { + color: #FFFFFF; background: #C40D0D; +} + +#rspec-header.failed { + color: #FFFFFF; background: #C40D0D; +} + + .backtrace { color: #000; font-size: 12px; } @@ -170,1179 +266,1236 @@ <div id="rspec-header"> <div id="label"> <h1>RSpec Code Examples</h1> </div> + <div id="display-filters"> + <input id="passed_checkbox" name="passed_checkbox" type="checkbox" checked onchange="apply_filters()" value="1"> <label for="passed_checkbox">Passed</label> + <input id="failed_checkbox" name="failed_checkbox" type="checkbox" checked onchange="apply_filters()" value="2"> <label for="failed_checkbox">Failed</label> + <input id="pending_checkbox" name="pending_checkbox" type="checkbox" checked onchange="apply_filters()" value="3"> <label for="pending_checkbox">Pending</label> + </div> + <div id="summary"> <p id="totals">&nbsp;</p> <p id="duration">&nbsp;</p> </div> </div> + <div class="results"> -<div class="example_group"> - <dl> - <dt id="example_group_1">Context::View</dt> +<div id="div_group_1" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_1" class="passed">Context::View</dt> <script type="text/javascript">moveProgressBar('0.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should set the context on creation</span></dd> + <dd class="example passed"><span class="passed_spec_name">should set the context on creation</span><span class='duration'>0.00140s</span></dd> <script type="text/javascript">moveProgressBar('0.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should use the widgets to add a view</span></dd> + <dd class="example passed"><span class="passed_spec_name">should use the widgets to add a view</span><span class='duration'>0.00171s</span></dd> <script type="text/javascript">moveProgressBar('0.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should use the widgets to remove a view</span></dd> + <dd class="example passed"><span class="passed_spec_name">should use the widgets to remove a view</span><span class='duration'>0.00165s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_2">Context::PageView</dt> - <script type="text/javascript">moveProgressBar('1.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should close the context when the view is closed</span></dd> +<div id="div_group_2" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_2" class="passed">Context::PageView</dt> + <script type="text/javascript">moveProgressBar('1.0');</script> + <dd class="example passed"><span class="passed_spec_name">should close the context when the view is closed</span><span class='duration'>0.00054s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_3">Context::Gtk::PageView</dt> - <script type="text/javascript">moveProgressBar('1.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a widget when initialized</span></dd> - <script type="text/javascript">moveProgressBar('1.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should add widgets from another view when added</span></dd> - <script type="text/javascript">moveProgressBar('2.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should remove widgets from another view when removed</span></dd> - <script type="text/javascript">moveProgressBar('2.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should react to destroy signals</span></dd> +<div id="div_group_3" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_3" class="passed">Context::Gtk::PageView</dt> + <script type="text/javascript">moveProgressBar('1.3');</script> + <dd class="example passed"><span class="passed_spec_name">should have a widget when initialized</span><span class='duration'>0.00112s</span></dd> + <script type="text/javascript">moveProgressBar('1.6');</script> + <dd class="example passed"><span class="passed_spec_name">should add widgets from another view when added</span><span class='duration'>0.00171s</span></dd> + <script type="text/javascript">moveProgressBar('1.9');</script> + <dd class="example passed"><span class="passed_spec_name">should remove widgets from another view when removed</span><span class='duration'>0.00132s</span></dd> + <script type="text/javascript">moveProgressBar('2.1');</script> + <dd class="example passed"><span class="passed_spec_name">should react to destroy signals</span><span class='duration'>0.00093s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_4">Context::Bridge</dt> - <script type="text/javascript">moveProgressBar('2.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should reference classes in the namespace provided</span></dd> +<div id="div_group_4" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_4" class="passed">Context::Bridge</dt> + <script type="text/javascript">moveProgressBar('2.4');</script> + <dd class="example passed"><span class="passed_spec_name">should reference classes in the namespace provided</span><span class='duration'>0.00161s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_5">Context::Publisher</dt> - <script type="text/javascript">moveProgressBar('2.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a source</span></dd> - <script type="text/javascript">moveProgressBar('3.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to subscribe to a publisher</span></dd> - <script type="text/javascript">moveProgressBar('3.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to update streams that aren't subscribed to</span></dd> - <script type="text/javascript">moveProgressBar('3.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to subscribe multiple targets to a publisher</span></dd> - <script type="text/javascript">moveProgressBar('4.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to change the source</span></dd> +<div id="div_group_5" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_5" class="passed">Context::Publisher</dt> + <script type="text/javascript">moveProgressBar('2.7');</script> + <dd class="example passed"><span class="passed_spec_name">should have a source</span><span class='duration'>0.00058s</span></dd> + <script type="text/javascript">moveProgressBar('3.0');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to subscribe to a publisher</span><span class='duration'>0.00066s</span></dd> + <script type="text/javascript">moveProgressBar('3.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to update streams that aren't subscribed to</span><span class='duration'>0.00055s</span></dd> + <script type="text/javascript">moveProgressBar('3.5');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to subscribe multiple targets to a publisher</span><span class='duration'>0.00089s</span></dd> + <script type="text/javascript">moveProgressBar('3.8');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to change the source</span><span class='duration'>0.00062s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_6">Context::Context</dt> - <script type="text/javascript">moveProgressBar('4.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should not have a parent set on creation</span></dd> - <script type="text/javascript">moveProgressBar('4.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should set the parent on entry</span></dd> - <script type="text/javascript">moveProgressBar('4.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should add new views to the main view</span></dd> - <script type="text/javascript">moveProgressBar('5.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should remove views on exit</span></dd> +<div id="div_group_6" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_6" class="passed">Context::Context</dt> + <script type="text/javascript">moveProgressBar('4.1');</script> + <dd class="example passed"><span class="passed_spec_name">should not have a parent set on creation</span><span class='duration'>0.00059s</span></dd> + <script type="text/javascript">moveProgressBar('4.3');</script> + <dd class="example passed"><span class="passed_spec_name">should set the parent on entry</span><span class='duration'>0.00112s</span></dd> + <script type="text/javascript">moveProgressBar('4.6');</script> + <dd class="example passed"><span class="passed_spec_name">should add new views to the main view</span><span class='duration'>0.00060s</span></dd> + <script type="text/javascript">moveProgressBar('4.9');</script> + <dd class="example passed"><span class="passed_spec_name">should remove views on exit</span><span class='duration'>0.00087s</span></dd> + <script type="text/javascript">moveProgressBar('5.2');</script> + <dd class="example passed"><span class="passed_spec_name">should create the views on entry</span><span class='duration'>0.00081s</span></dd> <script type="text/javascript">moveProgressBar('5.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should create the views on entry</span></dd> + <dd class="example passed"><span class="passed_spec_name">should destroy the views on exit</span><span class='duration'>0.00137s</span></dd> <script type="text/javascript">moveProgressBar('5.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should destroy the views on exit</span></dd> - <script type="text/javascript">moveProgressBar('6.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should keep track if the context has been entered or not</span></dd> + <dd class="example passed"><span class="passed_spec_name">should keep track if the context has been entered or not</span><span class='duration'>0.00253s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_7">Kernel</dt> - <script type="text/javascript">moveProgressBar('6.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a unit test for require_all</span></dd> +<div id="div_group_7" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_7" class="passed">Kernel</dt> + <script type="text/javascript">moveProgressBar('6.0');</script> + <dd class="example passed"><span class="passed_spec_name">should have a unit test for require_all</span><span class='duration'>0.04713s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_8">Context::Gtk::App</dt> +<div id="div_group_8" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_8" class="passed">Context::Gtk::App</dt> + <script type="text/javascript">moveProgressBar('6.3');</script> + <dd class="example passed"><span class="passed_spec_name">should start the Gtk main loop when run</span><span class='duration'>0.04399s</span></dd> <script type="text/javascript">moveProgressBar('6.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should start the Gtk main loop when run</span></dd> + <dd class="example passed"><span class="passed_spec_name">should quit the Gtk main loop when quit</span><span class='duration'>0.00095s</span></dd> + </dl> +</div> +<div id="div_group_9" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_9" class="passed">Context::Gtk::Widget</dt> <script type="text/javascript">moveProgressBar('6.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should quit the Gtk main loop when quit</span></dd> + <dd class="example passed"><span class="passed_spec_name">should keep track of the main Window</span><span class='duration'>0.01379s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_9">Context::Gtk::Widget</dt> +<div id="div_group_10" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_10" class="passed">Browse Items - Edit an item from the vocabulary list</dt> <script type="text/javascript">moveProgressBar('7.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should keep track of the main Window</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be display all the vocabulary</span><span class='duration'>0.03002s</span></dd> + <script type="text/javascript">moveProgressBar('7.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to edit one of the items</span><span class='duration'>0.02015s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_10">JLDrill::Gtk::MainWindowView</dt> - <script type="text/javascript">moveProgressBar('7.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a widget when initialized</span></dd> - <script type="text/javascript">moveProgressBar('7.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should react to destroy signals</span></dd> - <script type="text/javascript">moveProgressBar('8.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should have an icon</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_11">JLDrill::Gtk::StatisticsView</dt> +<div id="div_group_11" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_11" class="passed">Time Limit Story - Review Set items have time limits</dt> + <script type="text/javascript">moveProgressBar('7.6');</script> + <dd class="example passed"><span class="passed_spec_name">should start the thinkingTimer when a new problem is created</span><span class='duration'>0.01933s</span></dd> + <script type="text/javascript">moveProgressBar('7.9');</script> + <dd class="example passed"><span class="passed_spec_name">should stop the thinkingTimer when a problem is answered</span><span class='duration'>0.02028s</span></dd> <script type="text/javascript">moveProgressBar('8.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should close the view when the window is destroyed</span></dd> + <dd class="example passed"><span class="passed_spec_name">should not have time limits on New Set Items</span><span class='duration'>0.01942s</span></dd> + <script type="text/javascript">moveProgressBar('8.4');</script> + <dd class="example passed"><span class="passed_spec_name">should not have time limits on Working Set Items</span><span class='duration'>0.01965s</span></dd> + <script type="text/javascript">moveProgressBar('8.7');</script> + <dd class="example passed"><span class="passed_spec_name">should not have time limits on newly promoted Review Set Items</span><span class='duration'>0.02027s</span></dd> + <script type="text/javascript">moveProgressBar('9.0');</script> + <dd class="example passed"><span class="passed_spec_name">should add a time limit after the first review</span><span class='duration'>0.02033s</span></dd> + <script type="text/javascript">moveProgressBar('9.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to round the time limit to 3 decimals</span><span class='duration'>0.01926s</span></dd> + <script type="text/javascript">moveProgressBar('9.5');</script> + <dd class="example passed"><span class="passed_spec_name">should save the time limit to 3 decimals and read it back in</span><span class='duration'>0.02002s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_12">JLDrill::ShowStatisticsContext::StatisticsView</dt> - <script type="text/javascript">moveProgressBar('8.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to update the statistics in the view</span></dd> - <script type="text/javascript">moveProgressBar('8.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should exit the context when the view is closed</span></dd> +<div id="div_group_12" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_12" class="passed">Can Input and Output Vocabularies - Special characters should be entered properly.</dt> + <script type="text/javascript">moveProgressBar('9.8');</script> + <dd class="example passed"><span class="passed_spec_name">should handle quotes</span><span class='duration'>0.00414s</span></dd> + <script type="text/javascript">moveProgressBar('10.1');</script> + <dd class="example passed"><span class="passed_spec_name">should handle definition and marker lists with quotes</span><span class='duration'>0.00490s</span></dd> + <script type="text/javascript">moveProgressBar('10.4');</script> + <dd class="example passed"><span class="passed_spec_name">should handle returns</span><span class='duration'>0.00862s</span></dd> + <script type="text/javascript">moveProgressBar('10.6');</script> + <dd class="example passed"><span class="passed_spec_name">should handle definition and marker lists with returns</span><span class='duration'>0.00332s</span></dd> + <script type="text/javascript">moveProgressBar('10.9');</script> + <dd class="example passed"><span class="passed_spec_name">should handle commas</span><span class='duration'>0.00410s</span></dd> + <script type="text/javascript">moveProgressBar('11.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to handle akeru</span><span class='duration'>0.00267s</span></dd> + <script type="text/javascript">moveProgressBar('11.5');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to handle tojiru</span><span class='duration'>0.00222s</span></dd> + <script type="text/javascript">moveProgressBar('11.7');</script> + <dd class="example passed"><span class="passed_spec_name">should handle slashes</span><span class='duration'>0.00526s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_13">JLDrill::ShowStatisticsContext</dt> - <script type="text/javascript">moveProgressBar('9.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be created by the main context</span></dd> - <script type="text/javascript">moveProgressBar('9.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a view</span></dd> - <script type="text/javascript">moveProgressBar('9.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should not be able to create the context twice at once</span></dd> - <script type="text/javascript">moveProgressBar('10.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should not show statistics if there is no quiz</span></dd> - <script type="text/javascript">moveProgressBar('10.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should update the view with the parent's quiz statistics on entry</span></dd> +<div id="div_group_13" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_13" class="passed">Edit a Problem - Delete the kanji in a KanjiProblem</dt> + <script type="text/javascript">moveProgressBar('12.0');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to generate a kanji problem</span><span class='duration'>0.01851s</span></dd> + <script type="text/javascript">moveProgressBar('12.3');</script> + <dd class="example passed"><span class="passed_spec_name">should redo the the problem if the Kanji is removed</span><span class='duration'>0.02428s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_14">JLDrill::SetOptionsContext</dt> - <script type="text/javascript">moveProgressBar('10.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be created by the main context</span></dd> - <script type="text/javascript">moveProgressBar('10.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should update the view with the parent's quiz options on entry</span></dd> - <script type="text/javascript">moveProgressBar('11.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should update the parent's quiz options with the views options on exit</span></dd> - <script type="text/javascript">moveProgressBar('11.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should not update the parent's quiz options when cancelled</span></dd> - <script type="text/javascript">moveProgressBar('11.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should not run the options dialog if there is no quiz</span></dd> +<div id="div_group_14" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_14" class="passed">Edit a Problem - Edit the problem to create a duplicate.</dt> + <script type="text/javascript">moveProgressBar('12.6');</script> + <dd class="example passed"><span class="passed_spec_name">should not accept a duplicate vocabulary</span><span class='duration'>0.02110s</span></dd> + <script type="text/javascript">moveProgressBar('12.8');</script> + <dd class="example passed"><span class="passed_spec_name">should accept an altered vocabulary</span><span class='duration'>0.01986s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_15">JLDrill::MainContext</dt> - <script type="text/javascript">moveProgressBar('12.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should open the main view when it is entered</span></dd> - <script type="text/javascript">moveProgressBar('12.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should exit the App when it is exited</span></dd> - <script type="text/javascript">moveProgressBar('12.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should enter the loadReferenceContext when loading the reference</span></dd> - <script type="text/javascript">moveProgressBar('12.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should enter the showStatisticsContext when showing statistics</span></dd> +<div id="div_group_15" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_15" class="passed">JLDrill::Gtk::MainWindowView</dt> <script type="text/javascript">moveProgressBar('13.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should not try to open files if it doesn't get a filename</span></dd> + <dd class="example passed"><span class="passed_spec_name">should have a widget when initialized</span><span class='duration'>0.09469s</span></dd> <script type="text/javascript">moveProgressBar('13.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should load drill files as drill files</span></dd> + <dd class="example passed"><span class="passed_spec_name">should react to destroy signals</span><span class='duration'>0.03200s</span></dd> + <script type="text/javascript">moveProgressBar('13.6');</script> + <dd class="example passed"><span class="passed_spec_name">should have an icon</span><span class='duration'>0.03288s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_16">JLDrill::GetFilenameContext</dt> - <script type="text/javascript">moveProgressBar('13.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be created by the main context</span></dd> - <script type="text/javascript">moveProgressBar('14.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should immediately exit the context after entering it</span></dd> - <script type="text/javascript">moveProgressBar('14.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should set the filename and directory from the view</span></dd> +<div id="div_group_16" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_16" class="passed">JLDrill::Gtk::StatisticsView</dt> + <script type="text/javascript">moveProgressBar('13.9');</script> + <dd class="example passed"><span class="passed_spec_name">should close the view when the window is destroyed</span><span class='duration'>0.04980s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_17">JLDrill::Deinflection::Reason</dt> +<div id="div_group_17" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_17" class="passed">JLDrill opens a file. - Gets the filename from the user</dt> + <script type="text/javascript">moveProgressBar('14.2');</script> + <dd class="example passed"><span class="passed_spec_name">should automatically exit the context after entry</span><span class='duration'>0.17881s</span></dd> <script type="text/javascript">moveProgressBar('14.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse an reason from the deinflect file</span></dd> + <dd class="example passed"><span class="passed_spec_name">should destroy the selectorWindow when it closes</span><span class='duration'>0.10549s</span></dd> + <script type="text/javascript">moveProgressBar('14.7');</script> + <dd class="example passed"><span class="passed_spec_name">should set the filename and directory on OK</span><span class='duration'>0.20532s</span></dd> + <script type="text/javascript">moveProgressBar('15.0');</script> + <dd class="example passed"><span class="passed_spec_name">should not set the filename and directory on CANCEL</span><span class='duration'>0.11508s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_18">JLDrill::Deinflection::Reason</dt> - <script type="text/javascript">moveProgressBar('14.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should parse a reason</span></dd> +<div id="div_group_18" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_18" class="passed">Pop up kanji info - The user should see kanji information</dt> + <script type="text/javascript">moveProgressBar('15.3');</script> + <dd class="example passed"><span class="passed_spec_name">should load the kanji info</span><span class='duration'>0.04362s</span></dd> + <script type="text/javascript">moveProgressBar('15.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to find the kanji items</span><span class='duration'>0.03298s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_19">JLDrill::DeinflectionRulesFile</dt> - <script type="text/javascript">moveProgressBar('15.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should load the file properly</span></dd> +<div id="div_group_19" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_19" class="passed">Quiz Status is Displayed - The DisplayQuizStatusContext is entered when the MainContext is entered</dt> + <script type="text/javascript">moveProgressBar('15.8');</script> + <dd class="example passed"><span class="passed_spec_name">should have a DisplayQuizStatusContext</span><span class='duration'>0.00152s</span></dd> + <script type="text/javascript">moveProgressBar('16.1');</script> + <dd class="example passed"><span class="passed_spec_name">should enter the DisplayQuizStatusContext when the MainContext is entered</span><span class='duration'>0.00176s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_20">JLDrill::Vocabulary</dt> - <script type="text/javascript">moveProgressBar('15.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse vocabulary from strings</span></dd> - <script type="text/javascript">moveProgressBar('15.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to tell a valid vocabulary from invalid</span></dd> - <script type="text/javascript">moveProgressBar('16.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should not break the parser to try to parse nonsense</span></dd> - <script type="text/javascript">moveProgressBar('16.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to assign the contents of one Vocabulary to another</span></dd> - <script type="text/javascript">moveProgressBar('16.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set definitions and markers</span></dd> - <script type="text/javascript">moveProgressBar('16.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should set definitions and markers to nil if empty</span></dd> - <script type="text/javascript">moveProgressBar('17.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set kanji, reading and hint</span></dd> - <script type="text/javascript">moveProgressBar('17.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should set kanji, reading and hint to nil if empty</span></dd> - <script type="text/javascript">moveProgressBar('17.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to insert carriage returns</span></dd> +<div id="div_group_20" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_20" class="passed">Quiz Status is Displayed - The DisplayQuizStatusContext is exited when the MainContext is exited</dt> + <script type="text/javascript">moveProgressBar('16.4');</script> + <dd class="example passed"><span class="passed_spec_name">it should exit the DisplayQuizStatus Context when the MainContext is exited</span><span class='duration'>0.00194s</span></dd> + </dl> +</div> +<div id="div_group_21" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_21" class="passed">Quiz Status is Displayed - There is a view that displays the status of the quiz</dt> + <script type="text/javascript">moveProgressBar('16.7');</script> + <dd class="example passed"><span class="passed_spec_name">has a view</span><span class='duration'>0.00230s</span></dd> + <script type="text/javascript">moveProgressBar('16.9');</script> + <dd class="example passed"><span class="passed_spec_name">should add the view to bottom of the Gtk MainWindowView</span><span class='duration'>0.00019s</span></dd> + <script type="text/javascript">moveProgressBar('17.2');</script> + <dd class="example passed"><span class="passed_spec_name">displays the status of the quiz in the Gtk view</span><span class='duration'>0.03317s</span></dd> + </dl> +</div> +<div id="div_group_22" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_22" class="passed">Quiz Status is Displayed - The view is updated whenever the status of the quiz changes</dt> + <script type="text/javascript">moveProgressBar('17.5');</script> + <dd class="example passed"><span class="passed_spec_name">should update the status of the quiz when the context is entered</span><span class='duration'>0.03364s</span></dd> + <script type="text/javascript">moveProgressBar('17.8');</script> + <dd class="example passed"><span class="passed_spec_name">should receive updates when the quiz status changes</span><span class='duration'>0.00180s</span></dd> + </dl> +</div> +<div id="div_group_23" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_23" class="passed">Each Problem Type has a Schedule - File stores the problem types</dt> <script type="text/javascript">moveProgressBar('18.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to insert quotes</span></dd> - <script type="text/javascript">moveProgressBar('18.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to make a clone</span></dd> - <script type="text/javascript">moveProgressBar('18.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should parse commas properly</span></dd> - <script type="text/javascript">moveProgressBar('18.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a hash based on the reading and kanji</span></dd> + <dd class="example passed"><span class="passed_spec_name">The problem types should have names</span><span class='duration'>0.02063s</span></dd> + <script type="text/javascript">moveProgressBar('18.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to clone each of the problems</span><span class='duration'>0.02109s</span></dd> + <script type="text/javascript">moveProgressBar('18.6');</script> + <dd class="example passed"><span class="passed_spec_name">should print the name for to_s</span><span class='duration'>0.02044s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_21">JLDrill::Meaning</dt> +<div id="div_group_24" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_24" class="passed">Can parse CEDict dictionary. - CEDictionary can parse entries</dt> + <script type="text/javascript">moveProgressBar('18.9');</script> + <dd class="example passed"><span class="passed_spec_name">should read CEDict entries</span><span class='duration'>0.00181s</span></dd> + </dl> +</div> +<div id="div_group_25" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_25" class="passed">JLDrill::ItemStatus</dt> <script type="text/javascript">moveProgressBar('19.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should have types and usages when created</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to parse vocabulary from strings</span><span class='duration'>0.00762s</span></dd> <script type="text/javascript">moveProgressBar('19.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a single usage</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to set a lastReviewed time on the object</span><span class='duration'>0.00727s</span></dd> <script type="text/javascript">moveProgressBar('19.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a single usage with types</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to write the last reviewed time to file</span><span class='duration'>0.00663s</span></dd> <script type="text/javascript">moveProgressBar('20.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a specific single usage with types</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to parse the information in the file</span><span class='duration'>0.00850s</span></dd> <script type="text/javascript">moveProgressBar('20.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a meaning with types and a specific single usage without types</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to write consecutive to file</span><span class='duration'>0.00657s</span></dd> <script type="text/javascript">moveProgressBar('20.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a meaning with types and a specific single usage with types</span></dd> + <dd class="example passed"><span class="passed_spec_name">should schedule new items to maximum value by default</span><span class='duration'>0.00761s</span></dd> <script type="text/javascript">moveProgressBar('20.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse multiple usages</span></dd> - <script type="text/javascript">moveProgressBar('21.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to get all types in the meaning</span></dd> - <script type="text/javascript">moveProgressBar('21.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to get all definitions in the meaning</span></dd> - <script type="text/javascript">moveProgressBar('21.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to output the meaning as a string</span></dd> + <dd class="example passed"><span class="passed_spec_name">should schedule old items to based on their elapsed time</span><span class='duration'>0.00805s</span></dd> + <script type="text/javascript">moveProgressBar('21.0');</script> + <dd class="example passed"><span class="passed_spec_name">should set a minimum schedule based on difficulty</span><span class='duration'>0.00774s</span></dd> + <script type="text/javascript">moveProgressBar('21.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to write duration to file</span><span class='duration'>0.00695s</span></dd> + <script type="text/javascript">moveProgressBar('21.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse the schedule information in the file</span><span class='duration'>0.00797s</span></dd> + <script type="text/javascript">moveProgressBar('21.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to clear the schedule</span><span class='duration'>0.00718s</span></dd> + <script type="text/javascript">moveProgressBar('22.1');</script> + <dd class="example passed"><span class="passed_spec_name">should keep track of the number of times incorrect</span><span class='duration'>0.00654s</span></dd> + <script type="text/javascript">moveProgressBar('22.4');</script> + <dd class="example passed"><span class="passed_spec_name">should keep a difficulty level equal to the number of times it was incorrect the last time it was in the working set</span><span class='duration'>0.00641s</span></dd> + <script type="text/javascript">moveProgressBar('22.7');</script> + <dd class="example passed"><span class="passed_spec_name">should choose the longest interval with 0 difficulty</span><span class='duration'>0.00645s</span></dd> + <script type="text/javascript">moveProgressBar('23.0');</script> + <dd class="example passed"><span class="passed_spec_name">should decrement the interval by 20 percent from difficulty 1 to 5, down to 1 day</span><span class='duration'>0.00983s</span></dd> + <script type="text/javascript">moveProgressBar('23.2');</script> + <dd class="example passed"><span class="passed_spec_name">should decrement the interval from 1 day approaching 0 days as difficulty increases from 6</span><span class='duration'>0.18633s</span></dd> + <script type="text/javascript">moveProgressBar('23.5');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to calculate the difficulty based on the interval that has passed.</span><span class='duration'>0.07474s</span></dd> + <script type="text/javascript">moveProgressBar('23.8');</script> + <dd class="example passed"><span class="passed_spec_name">should modify the difficulty when the item is correctly answered</span><span class='duration'>0.00910s</span></dd> + <script type="text/javascript">moveProgressBar('24.1');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to tell if an item has duration in a range</span><span class='duration'>0.00832s</span></dd> + <script type="text/javascript">moveProgressBar('24.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to show the reviewed date</span><span class='duration'>0.00678s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_22">JLDrill::Definition</dt> - <script type="text/javascript">moveProgressBar('22.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a value and types when created</span></dd> - <script type="text/javascript">moveProgressBar('22.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse Edict definitions</span></dd> - <script type="text/javascript">moveProgressBar('22.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse Edict definitions with a type</span></dd> - <script type="text/javascript">moveProgressBar('22.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse Edict definitions with many types</span></dd> - <script type="text/javascript">moveProgressBar('23.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should pick up multiple sets of types</span></dd> - <script type="text/javascript">moveProgressBar('23.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to match equivalence</span></dd> - <script type="text/javascript">moveProgressBar('23.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to handle parenthesis</span></dd> - <script type="text/javascript">moveProgressBar('24.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to handle special language tags</span></dd> +<div id="div_group_26" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_26" class="passed">Can Load Edict in EUC - Edict can parse EUC entries</dt> + <script type="text/javascript">moveProgressBar('24.6');</script> + <dd class="example passed"><span class="passed_spec_name">should convert EUC data to UTF8</span><span class='duration'>0.00235s</span></dd> + <script type="text/javascript">moveProgressBar('24.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse いってき</span><span class='duration'>0.00248s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_23">JLDrill::Usage</dt> - <script type="text/javascript">moveProgressBar('24.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a value and types when created</span></dd> - <script type="text/javascript">moveProgressBar('24.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse Edict usages</span></dd> - <script type="text/javascript">moveProgressBar('24.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to output the edict usage again</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_24">JLDrill::GrammarType</dt> - <script type="text/javascript">moveProgressBar('25.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a list of grammar markings</span></dd> +<div id="div_group_27" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_27" class="passed">JLDrill::Kana</dt> + <script type="text/javascript">moveProgressBar('25.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse an entry from the kana file</span><span class='duration'>0.00400s</span></dd> <script type="text/javascript">moveProgressBar('25.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to look up the types</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to parse entries with multiple romaji</span><span class='duration'>0.00199s</span></dd> <script type="text/javascript">moveProgressBar('25.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to look up the special language tags</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to create a string from the entry</span><span class='duration'>0.00116s</span></dd> <script type="text/javascript">moveProgressBar('26.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a string of types</span></dd> - <script type="text/javascript">moveProgressBar('26.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to reject non-types</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a file in a string</span><span class='duration'>0.00432s</span></dd> + <script type="text/javascript">moveProgressBar('26.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a file on disk</span><span class='duration'>0.01823s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_25">JLDrill::Radical</dt> +<div id="div_group_28" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_28" class="passed">Pop up kanji info - The user should see kana information</dt> <script type="text/javascript">moveProgressBar('26.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse an entry from the radkfile</span></dd> + <dd class="example passed"><span class="passed_spec_name">should load the kana info</span><span class='duration'>0.02977s</span></dd> <script type="text/javascript">moveProgressBar('26.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse an entry with an alternate glyph</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to find the kana items</span><span class='duration'>0.02738s</span></dd> + </dl> +</div> +<div id="div_group_29" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_29" class="passed">User Loads Dictionary - You can load the reference from AddNewVocabulary</dt> <script type="text/javascript">moveProgressBar('27.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse an entry with multiple alternate glyphs</span></dd> + <dd class="example passed"><span class="passed_spec_name">should load the reference when requested</span><span class='duration'>0.00185s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_26">JLDrill::RadicalList</dt> - <script type="text/javascript">moveProgressBar('27.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a file in a string</span></dd> - <script type="text/javascript">moveProgressBar('27.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a file on disk</span></dd> +<div id="div_group_30" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_30" class="passed">User Loads Dictionary - You can load the reference from EditVocabulary</dt> + <script type="text/javascript">moveProgressBar('27.3');</script> + <dd class="example passed"><span class="passed_spec_name">should load the reference when requested</span><span class='duration'>0.01944s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_27">JLDrill::KanaFile</dt> - <script type="text/javascript">moveProgressBar('28.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to read the file in chunks</span></dd> +<div id="div_group_31" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_31" class="passed">User Loads Dictionary - The dictionary to load is in the save file.</dt> + <script type="text/javascript">moveProgressBar('27.6');</script> + <dd class="example passed"><span class="passed_spec_name">should save the dictionary filename in the save file</span><span class='duration'>0.00281s</span></dd> + <script type="text/javascript">moveProgressBar('27.9');</script> + <dd class="example passed"><span class="passed_spec_name">should load the dictionary relative to the install directory</span><span class='duration'>0.01674s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_28">JLDrill::Config</dt> +<div id="div_group_32" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_32" class="passed">Problems are displayed - The DisplayProblemContext is entered when the MainContext is entered</dt> <script type="text/javascript">moveProgressBar('28.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a DATA_DIR</span></dd> - <script type="text/javascript">moveProgressBar('28.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should not be using the Gem DATA_DIR in the tests</span></dd> - <script type="text/javascript">moveProgressBar('28.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should use the Gem::datadir if set</span></dd> + <dd class="example passed"><span class="passed_spec_name">should have a DisplayProblemContext</span><span class='duration'>0.00179s</span></dd> + <script type="text/javascript">moveProgressBar('28.4');</script> + <dd class="example passed"><span class="passed_spec_name">should enter the DisplayProblemContext when the app starts</span><span class='duration'>0.00164s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_29">JLDrill::Kanji</dt> - <script type="text/javascript">moveProgressBar('29.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse an entry from the kanji file</span></dd> +<div id="div_group_33" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_33" class="passed">Problems are displayed - The DisplayProblemContext is exited when the MainContext is exited</dt> + <script type="text/javascript">moveProgressBar('28.7');</script> + <dd class="example passed"><span class="passed_spec_name">should exit the DisplayProblemContext when the MainContext is exited</span><span class='duration'>0.00188s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_30">JLDrill::KanjiList</dt> - <script type="text/javascript">moveProgressBar('29.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a file in a string</span></dd> - <script type="text/javascript">moveProgressBar('29.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a file on disk</span></dd> +<div id="div_group_34" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_34" class="passed">Problems are displayed - There is a view that displays current Problem</dt> + <script type="text/javascript">moveProgressBar('29.0');</script> + <dd class="example passed"><span class="passed_spec_name">The display should be updated when the application starts</span><span class='duration'>0.00168s</span></dd> + <script type="text/javascript">moveProgressBar('29.3');</script> + <dd class="example passed"><span class="passed_spec_name">should display a problem when a file is loaded</span><span class='duration'>0.14916s</span></dd> + <script type="text/javascript">moveProgressBar('29.5');</script> + <dd class="example passed"><span class="passed_spec_name">should refresh the display when the current vocab has been edited</span><span class='duration'>0.02948s</span></dd> + <script type="text/javascript">moveProgressBar('29.8');</script> + <dd class="example passed"><span class="passed_spec_name">should display each of the items in the problem</span><span class='duration'>0.06304s</span></dd> + <script type="text/javascript">moveProgressBar('30.1');</script> + <dd class="example passed"><span class="passed_spec_name">should have the correct text in the display</span><span class='duration'>0.06304s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_31">JLDrill::Item</dt> - <script type="text/javascript">moveProgressBar('30.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to swap the positions of items</span></dd> +<div id="div_group_35" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_35" class="passed">Problems are displayed - Embedded returns and quotes are displayed</dt> + <script type="text/javascript">moveProgressBar('30.4');</script> + <dd class="example passed"><span class="passed_spec_name">has been tested in the Vocabulary spec</span><span class='duration'>0.00019s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_32">JLDrill::Counter</dt> - <script type="text/javascript">moveProgressBar('30.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should create the ranges properly</span></dd> - <script type="text/javascript">moveProgressBar('30.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should count properly</span></dd> +<div id="div_group_36" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_36" class="passed">Problems are displayed - The ProblemView contains ItemHintsView.</dt> + <script type="text/javascript">moveProgressBar('30.6');</script> + <dd class="example passed"><span class="passed_spec_name">notifies the ItemHintsView when there is a new problem</span><span class='duration'>0.02714s</span></dd> + <script type="text/javascript">moveProgressBar('30.9');</script> + <dd class="example passed"><span class="passed_spec_name">should notify the ItemHintsView when the problem is updated</span><span class='duration'>0.02687s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_33">JLDrill::Strategy</dt> - <script type="text/javascript">moveProgressBar('30.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to return the status</span></dd> - <script type="text/javascript">moveProgressBar('31.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should increment the statistics if correct in bin 4</span></dd> - <script type="text/javascript">moveProgressBar('31.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should decrement the statistics if incorrect in bin 4</span></dd> +<div id="div_group_37" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_37" class="passed">Find the closest match - Find the number of common bytes</dt> + <script type="text/javascript">moveProgressBar('31.2');</script> + <dd class="example passed"><span class="passed_spec_name">should return 0 for dissimilar strings</span><span class='duration'>0.00092s</span></dd> + <script type="text/javascript">moveProgressBar('31.5');</script> + <dd class="example passed"><span class="passed_spec_name">should count common characters at the beginning of the string</span><span class='duration'>0.00164s</span></dd> <script type="text/javascript">moveProgressBar('31.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should use the contents from the quiz</span></dd> + <dd class="example passed"><span class="passed_spec_name">should return 0 for empty and nil strings</span><span class='duration'>0.00190s</span></dd> <script type="text/javascript">moveProgressBar('32.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should only pick unseen items</span></dd> - <script type="text/javascript">moveProgressBar('32.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should demote bin 0 items to bin 0 and reset the level to 0</span></dd> - <script type="text/javascript">moveProgressBar('32.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should demote other items to bin 1 and reset the level to 0</span></dd> + <dd class="example passed"><span class="passed_spec_name">should work with UTF-8 characters</span><span class='duration'>0.00197s</span></dd> + </dl> +</div> +<div id="div_group_38" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_38" class="passed">Find the closest match - Find the rank between two vocabs</dt> + <script type="text/javascript">moveProgressBar('32.3');</script> + <dd class="example passed"><span class="passed_spec_name">should return 0 for nil objects</span><span class='duration'>0.00066s</span></dd> + <script type="text/javascript">moveProgressBar('32.6');</script> + <dd class="example passed"><span class="passed_spec_name">should return the number of common bytes in the reading</span><span class='duration'>0.00209s</span></dd> <script type="text/javascript">moveProgressBar('32.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to create problems of the correct level</span></dd> + <dd class="example passed"><span class="passed_spec_name">should use the kanji if it exists</span><span class='duration'>0.00271s</span></dd> <script type="text/javascript">moveProgressBar('33.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to tell if the working set is full</span></dd> + <dd class="example passed"><span class="passed_spec_name">should use the definitions</span><span class='duration'>0.00189s</span></dd> <script type="text/javascript">moveProgressBar('33.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to tell if the review set needs reviewing</span></dd> - <script type="text/javascript">moveProgressBar('33.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should not review if all the items in the review set are seen</span></dd> - <script type="text/javascript">moveProgressBar('34.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should increment the item's difficulty when an item is incorrect</span></dd> + <dd class="example passed"><span class="passed_spec_name">should use the markers</span><span class='duration'>0.00148s</span></dd> + </dl> +</div> +<div id="div_group_39" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_39" class="passed">Vocabulary Is Stored In Items - Items can hold Vocabulary</dt> + <script type="text/javascript">moveProgressBar('33.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to create an Item from a Vocabulary</span><span class='duration'>0.00270s</span></dd> + <script type="text/javascript">moveProgressBar('33.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to see if items are equal</span><span class='duration'>0.00567s</span></dd> + </dl> +</div> +<div id="div_group_40" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_40" class="passed">User Adds Vocab To Quiz - The user enters AddNewVocabularyContext</dt> <script type="text/javascript">moveProgressBar('34.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should not reset the difficulty when the item is demoted from the 4th bin</span></dd> + <dd class="example passed"><span class="passed_spec_name">should have an AddNewVocabularyContext</span><span class='duration'>0.00203s</span></dd> <script type="text/javascript">moveProgressBar('34.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should reset the consecutive counter on an incorrect answer</span></dd> + <dd class="example passed"><span class="passed_spec_name">should enter the AddNewVocabularyContext when instructed</span><span class='duration'>0.00176s</span></dd> + <script type="text/javascript">moveProgressBar('34.7');</script> + <dd class="example passed"><span class="passed_spec_name">should have a view for a Vocabulary when the context is entered</span><span class='duration'>0.00227s</span></dd> + <script type="text/javascript">moveProgressBar('35.0');</script> + <dd class="example passed"><span class="passed_spec_name">should have a GTK view that allows editing of the Vocabulary</span><span class='duration'>0.04366s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_34">JLDrill::Statistics</dt> - <script type="text/javascript">moveProgressBar('34.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should start with an estimate of 0</span></dd> - <script type="text/javascript">moveProgressBar('35.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should have an accuracy of 100 if all are correct</span></dd> - <script type="text/javascript">moveProgressBar('35.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should set the accuracy correctly</span></dd> - <script type="text/javascript">moveProgressBar('35.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should slowly move the estimate towards 100</span></dd> - <script type="text/javascript">moveProgressBar('36.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should keep track of the last ten responses</span></dd> - <script type="text/javascript">moveProgressBar('36.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should keep track of the recent (up to 10 items) accuracy</span></dd> - <script type="text/javascript">moveProgressBar('36.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should calculate the confidence that the probability is &gt; 90</span></dd> +<div id="div_group_41" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_41" class="passed">User Adds Vocab To Quiz - The user chooses to add the entered Vocabulary</dt> + <script type="text/javascript">moveProgressBar('35.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to add the view's Vocabulary to the Quiz</span><span class='duration'>0.00197s</span></dd> + <script type="text/javascript">moveProgressBar('35.6');</script> + <dd class="example passed"><span class="passed_spec_name">should not add invalid Vocabulary</span><span class='duration'>0.00182s</span></dd> + <script type="text/javascript">moveProgressBar('35.8');</script> + <dd class="example passed"><span class="passed_spec_name">should add the vocabulary to the parent context's quiz</span><span class='duration'>0.00382s</span></dd> + <script type="text/javascript">moveProgressBar('36.1');</script> + <dd class="example passed"><span class="passed_spec_name">should have a button on the Gtk window for adding the vocab</span><span class='duration'>0.04085s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_35">JLDrill::Contents</dt> - <script type="text/javascript">moveProgressBar('36.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should indicate if a range of bins has contents</span></dd> - <script type="text/javascript">moveProgressBar('37.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should add items to the last position if the position is set to -1</span></dd> - <script type="text/javascript">moveProgressBar('37.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to print out the status</span></dd> - <script type="text/javascript">moveProgressBar('37.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to count the unseen items in a range</span></dd> - <script type="text/javascript">moveProgressBar('38.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to find the nth unseen item in the contents</span></dd> - <script type="text/javascript">moveProgressBar('38.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to add items to the contents only if they dont already exist</span></dd> - <script type="text/javascript">moveProgressBar('38.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to add the contents from another quiz to this one</span></dd> +<div id="div_group_42" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_42" class="passed">User Adds Vocab To Quiz - The fields in the view are cleared when a Vocabulary is added</dt> + <script type="text/javascript">moveProgressBar('36.4');</script> + <dd class="example passed"><span class="passed_spec_name">should clear the fields in the Gtk window when an item has been added</span><span class='duration'>0.04539s</span></dd> + <script type="text/javascript">moveProgressBar('36.7');</script> + <dd class="example passed"><span class="passed_spec_name">should not clear the fields if the item was invalid</span><span class='duration'>0.04015s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_36">JLDrill::LevelStats</dt> - <script type="text/javascript">moveProgressBar('38.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should count the total number of trials</span></dd> - <script type="text/javascript">moveProgressBar('39.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should keep track of the percentage correct</span></dd> +<div id="div_group_43" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_43" class="passed">User Adds Vocab To Quiz - Doesn't add the same Vocabulary twice</dt> + <script type="text/javascript">moveProgressBar('36.9');</script> + <dd class="example passed"><span class="passed_spec_name">it should refuse to add an item that already exists</span><span class='duration'>0.00446s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_37">JLDrill::Quiz</dt> +<div id="div_group_44" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_44" class="passed">User Adds Vocab To Quiz - The user can search the dictionary</dt> + <script type="text/javascript">moveProgressBar('37.2');</script> + <dd class="example passed"><span class="passed_spec_name">can load the and search the dictionary from this context</span><span class='duration'>0.07774s</span></dd> + <script type="text/javascript">moveProgressBar('37.5');</script> + <dd class="example passed"><span class="passed_spec_name">can load the and search the Chinese dictionary from this context</span><span class='duration'>0.08302s</span></dd> + </dl> +</div> +<div id="div_group_45" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_45" class="passed">User Chooses the Review Problem Types - Options are stored and read</dt> + <script type="text/javascript">moveProgressBar('37.8');</script> + <dd class="example passed"><span class="passed_spec_name">should have the correct defaults</span><span class='duration'>0.02073s</span></dd> + <script type="text/javascript">moveProgressBar('38.0');</script> + <dd class="example passed"><span class="passed_spec_name">should store the default options</span><span class='duration'>0.02210s</span></dd> + <script type="text/javascript">moveProgressBar('38.3');</script> + <dd class="example passed"><span class="passed_spec_name">should store changed options</span><span class='duration'>0.20837s</span></dd> + <script type="text/javascript">moveProgressBar('38.6');</script> + <dd class="example passed"><span class="passed_spec_name">should show that the quiz needs saving if certain options are changed</span><span class='duration'>0.02677s</span></dd> + <script type="text/javascript">moveProgressBar('38.9');</script> + <dd class="example passed"><span class="passed_spec_name">should know if the review options have been set</span><span class='duration'>0.02599s</span></dd> + <script type="text/javascript">moveProgressBar('39.1');</script> + <dd class="example passed"><span class="passed_spec_name">should clear the review defaults when the reviewOptions are set</span><span class='duration'>0.02343s</span></dd> <script type="text/javascript">moveProgressBar('39.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should have the contents</span></dd> + <dd class="example passed"><span class="passed_spec_name">should create a list of allowed levels</span><span class='duration'>0.02499s</span></dd> + </dl> +</div> +<div id="div_group_46" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_46" class="passed">User Chooses the Review Problem Types - Options view can modify options</dt> <script type="text/javascript">moveProgressBar('39.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should load a file from memory</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to set the review reading option</span><span class='duration'>0.06340s</span></dd> <script type="text/javascript">moveProgressBar('40.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should save a file to a string</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to set the review kanji option</span><span class='duration'>0.06229s</span></dd> <script type="text/javascript">moveProgressBar('40.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to load files of the current version</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to set the review meaning option</span><span class='duration'>0.06304s</span></dd> + </dl> +</div> +<div id="div_group_47" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_47" class="passed">User Changes Options Story - Options are stored and read</dt> <script type="text/javascript">moveProgressBar('40.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to get a list of all the items</span></dd> + <dd class="example passed"><span class="passed_spec_name">should have the correct defaults</span><span class='duration'>0.02115s</span></dd> <script type="text/javascript">moveProgressBar('40.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to reset the contents</span></dd> - <script type="text/javascript">moveProgressBar('41.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should renumber the contents when resetting</span></dd> - <script type="text/javascript">moveProgressBar('41.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to move an item from one bin to the other</span></dd> - <script type="text/javascript">moveProgressBar('41.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to create a new Problem</span></dd> - <script type="text/javascript">moveProgressBar('42.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should eventually promote all items to bin 4</span></dd> - <script type="text/javascript">moveProgressBar('42.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should use the promote threshold when promoting</span></dd> - <script type="text/javascript">moveProgressBar('42.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should update the last reviewed status when the answer is made</span></dd> - <script type="text/javascript">moveProgressBar('42.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should update the schedule correctly for bin 4 items</span></dd> - <script type="text/javascript">moveProgressBar('43.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should notify subscribers of updates</span></dd> - <script type="text/javascript">moveProgressBar('43.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should notify subscribers when a new problem has been created</span></dd> - <script type="text/javascript">moveProgressBar('43.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to find paths relative to the save name</span></dd> + <dd class="example passed"><span class="passed_spec_name">should store the default options</span><span class='duration'>0.02219s</span></dd> + <script type="text/javascript">moveProgressBar('41.0');</script> + <dd class="example passed"><span class="passed_spec_name">should store changed options</span><span class='duration'>0.02309s</span></dd> + <script type="text/javascript">moveProgressBar('41.3');</script> + <dd class="example passed"><span class="passed_spec_name">should show that the quiz needs saving if certain options are changed</span><span class='duration'>0.02577s</span></dd> + <script type="text/javascript">moveProgressBar('41.6');</script> + <dd class="example passed"><span class="passed_spec_name">shouldn't need to save if the options are changed to their current value</span><span class='duration'>0.02471s</span></dd> + <script type="text/javascript">moveProgressBar('41.9');</script> + <dd class="example passed"><span class="passed_spec_name">should load a file with different options</span><span class='duration'>0.02979s</span></dd> + <script type="text/javascript">moveProgressBar('42.1');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to assign the options to another options object</span><span class='duration'>0.22330s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_38">JLDrill::Duration</dt> - <script type="text/javascript">moveProgressBar('44.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should create an invalid duration with no argument</span></dd> - <script type="text/javascript">moveProgressBar('44.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should create a duration of the required length</span></dd> - <script type="text/javascript">moveProgressBar('44.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should parse a duration from a string</span></dd> - <script type="text/javascript">moveProgressBar('44.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should output the duration in days</span></dd> - <script type="text/javascript">moveProgressBar('45.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should output the duration as a string</span></dd> +<div id="div_group_48" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_48" class="passed">User Changes Options Story - Options view can modify options</dt> + <script type="text/javascript">moveProgressBar('42.4');</script> + <dd class="example passed"><span class="passed_spec_name">should destroy the options Window when it closes</span><span class='duration'>0.06492s</span></dd> + <script type="text/javascript">moveProgressBar('42.7');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to run twice</span><span class='duration'>0.07440s</span></dd> + <script type="text/javascript">moveProgressBar('43.0');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to set the Random Order option</span><span class='duration'>0.06404s</span></dd> + <script type="text/javascript">moveProgressBar('43.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to set the Promote Threshold option</span><span class='duration'>0.06353s</span></dd> + <script type="text/javascript">moveProgressBar('43.5');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to set the Intro Threshold option</span><span class='duration'>0.06357s</span></dd> + <script type="text/javascript">moveProgressBar('43.8');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to set the language option</span><span class='duration'>0.06414s</span></dd> + </dl> +</div> +<div id="div_group_49" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_49" class="passed">Load Edict Entries on Demand - Can find an entry</dt> + <script type="text/javascript">moveProgressBar('44.1');</script> + <dd class="example passed"><span class="passed_spec_name">should find an entry in a JEDictionary</span><span class='duration'>0.00328s</span></dd> + <script type="text/javascript">moveProgressBar('44.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to find an entry in an EUC edict file</span><span class='duration'>0.00662s</span></dd> + <script type="text/javascript">moveProgressBar('44.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to find an entries in a JEDictionary</span><span class='duration'>0.00752s</span></dd> + </dl> +</div> +<div id="div_group_50" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_50" class="passed">Load Edict Entries on Demand - Extra Edict tests</dt> + <script type="text/javascript">moveProgressBar('44.9');</script> + <dd class="example passed"><span class="passed_spec_name">should return nil from vocab() when index is out of range</span><span class='duration'>0.00206s</span></dd> + <script type="text/javascript">moveProgressBar('45.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to load a Quiz from an Edict file</span><span class='duration'>0.00450s</span></dd> <script type="text/javascript">moveProgressBar('45.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should assign durations properly</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to parse hacked JLPT files</span><span class='duration'>0.00362s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_39">JLDrill::Bin</dt> +<div id="div_group_51" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_51" class="passed">Schedule Items Story - New items are scheduled from now</dt> <script type="text/javascript">moveProgressBar('45.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a name and number when constructed</span></dd> + <dd class="example passed"><span class="passed_spec_name">should schedule difficulty 0 items 5 days from now</span><span class='duration'>0.02259s</span></dd> <script type="text/javascript">moveProgressBar('46.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to push a vocabulary</span></dd> - <script type="text/javascript">moveProgressBar('46.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to iterate through the bin using each()</span></dd> + <dd class="example passed"><span class="passed_spec_name">should schedule new items from now even if there are scheduled items</span><span class='duration'>0.02566s</span></dd> + <script type="text/javascript">moveProgressBar('46.3');</script> + <dd class="example passed"><span class="passed_spec_name">should set a maximum of the duration * 2 + 25%</span><span class='duration'>0.02431s</span></dd> <script type="text/javascript">moveProgressBar('46.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to delete an item</span></dd> + <dd class="example passed"><span class="passed_spec_name">should schedule a minimum of the last duration</span><span class='duration'>0.02312s</span></dd> <script type="text/javascript">moveProgressBar('46.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to sort</span></dd> + <dd class="example passed"><span class="passed_spec_name">should vary the backoff depending on the previous duration</span><span class='duration'>0.02265s</span></dd> <script type="text/javascript">moveProgressBar('47.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should output itself in save format</span></dd> - <script type="text/javascript">moveProgressBar('47.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should indicate if the bin is empty</span></dd> - <script type="text/javascript">moveProgressBar('47.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should indicate if all the items in the bin have been seen</span></dd> - <script type="text/javascript">moveProgressBar('48.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to find the first unseen item</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to sort the review set items according to schedule</span><span class='duration'>0.03248s</span></dd> + </dl> +</div> +<div id="div_group_52" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_52" class="passed">JLDrill::Gtk::MainWindowView</dt> + <script type="text/javascript">moveProgressBar('47.3');</script> + <dd class="example passed"><span class="passed_spec_name">should have a widget when initialized</span><span class='duration'>0.03446s</span></dd> + <script type="text/javascript">moveProgressBar('47.6');</script> + <dd class="example passed"><span class="passed_spec_name">should react to destroy signals</span><span class='duration'>0.03419s</span></dd> + <script type="text/javascript">moveProgressBar('47.9');</script> + <dd class="example passed"><span class="passed_spec_name">should have an icon</span><span class='duration'>0.03419s</span></dd> + </dl> +</div> +<div id="div_group_53" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_53" class="passed">JLDrill::Gtk::StatisticsView</dt> <script type="text/javascript">moveProgressBar('48.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set all the items to unseen</span></dd> - <script type="text/javascript">moveProgressBar('48.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to count the number of unseen items</span></dd> - <script type="text/javascript">moveProgressBar('48.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to find the nth unseen item in the bin</span></dd> - <script type="text/javascript">moveProgressBar('49.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to tell if an item exists in the bin</span></dd> + <dd class="example passed"><span class="passed_spec_name">should close the view when the window is destroyed</span><span class='duration'>0.05195s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_40">JLDrill::Tanaka::Reference</dt> - <script type="text/javascript">moveProgressBar('49.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse an entry from the Reference file</span></dd> - <script type="text/javascript">moveProgressBar('49.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse Words</span></dd> - <script type="text/javascript">moveProgressBar('50.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse the reading</span></dd> - <script type="text/javascript">moveProgressBar('50.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should split sentences into Japanese and English parts</span></dd> - <script type="text/javascript">moveProgressBar('50.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse multiple entries</span></dd> - <script type="text/javascript">moveProgressBar('50.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to read the file from disk</span></dd> - <script type="text/javascript">moveProgressBar('51.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to read the file in chunks</span></dd> +<div id="div_group_54" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_54" class="passed">JLDrill::ShowStatisticsContext::StatisticsView</dt> + <script type="text/javascript">moveProgressBar('48.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to update the statistics in the view</span><span class='duration'>0.00160s</span></dd> + <script type="text/javascript">moveProgressBar('48.7');</script> + <dd class="example passed"><span class="passed_spec_name">should exit the context when the view is closed</span><span class='duration'>0.00114s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_41">JLDrill::JWord</dt> - <script type="text/javascript">moveProgressBar('51.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a kanji/reading key</span></dd> +<div id="div_group_55" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_55" class="passed">JLDrill::ShowStatisticsContext</dt> + <script type="text/javascript">moveProgressBar('49.0');</script> + <dd class="example passed"><span class="passed_spec_name">should be created by the main context</span><span class='duration'>0.00187s</span></dd> + <script type="text/javascript">moveProgressBar('49.3');</script> + <dd class="example passed"><span class="passed_spec_name">should have a view</span><span class='duration'>0.00185s</span></dd> + <script type="text/javascript">moveProgressBar('49.5');</script> + <dd class="example passed"><span class="passed_spec_name">should not be able to create the context twice at once</span><span class='duration'>0.00177s</span></dd> + <script type="text/javascript">moveProgressBar('49.8');</script> + <dd class="example passed"><span class="passed_spec_name">should not show statistics if there is no quiz</span><span class='duration'>0.00174s</span></dd> + <script type="text/javascript">moveProgressBar('50.1');</script> + <dd class="example passed"><span class="passed_spec_name">should update the view with the parent's quiz statistics on entry</span><span class='duration'>0.26309s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_42">JLDrill::JEDictionary</dt> - <script type="text/javascript">moveProgressBar('51.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to load a dictionary using the DataFile interface</span></dd> +<div id="div_group_56" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_56" class="passed">JLDrill::SetOptionsContext</dt> + <script type="text/javascript">moveProgressBar('50.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be created by the main context</span><span class='duration'>0.01763s</span></dd> + <script type="text/javascript">moveProgressBar('50.6');</script> + <dd class="example passed"><span class="passed_spec_name">should update the view with the parent's quiz options on entry</span><span class='duration'>0.00349s</span></dd> + <script type="text/javascript">moveProgressBar('50.9');</script> + <dd class="example passed"><span class="passed_spec_name">should update the parent's quiz options with the views options on exit</span><span class='duration'>0.00326s</span></dd> + <script type="text/javascript">moveProgressBar('51.2');</script> + <dd class="example passed"><span class="passed_spec_name">should not update the parent's quiz options when cancelled</span><span class='duration'>0.00354s</span></dd> + <script type="text/javascript">moveProgressBar('51.5');</script> + <dd class="example passed"><span class="passed_spec_name">should not run the options dialog if there is no quiz</span><span class='duration'>0.00162s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_43">JLDrill::Problem</dt> +<div id="div_group_57" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_57" class="passed">JLDrill::MainContext</dt> + <script type="text/javascript">moveProgressBar('51.7');</script> + <dd class="example passed"><span class="passed_spec_name">should open the main view when it is entered</span><span class='duration'>0.00208s</span></dd> <script type="text/javascript">moveProgressBar('52.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a vocab associated with it</span></dd> - <script type="text/javascript">moveProgressBar('52.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should give a string representation of the Kanji if it's there</span></dd> - <script type="text/javascript">moveProgressBar('52.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should give a string representation of the Hint if it's there</span></dd> + <dd class="example passed"><span class="passed_spec_name">should exit the App when it is exited</span><span class='duration'>0.00241s</span></dd> + <script type="text/javascript">moveProgressBar('52.3');</script> + <dd class="example passed"><span class="passed_spec_name">should enter the loadReferenceContext when loading the reference</span><span class='duration'>0.00161s</span></dd> + <script type="text/javascript">moveProgressBar('52.6');</script> + <dd class="example passed"><span class="passed_spec_name">should enter the showStatisticsContext when showing statistics</span><span class='duration'>0.00158s</span></dd> <script type="text/javascript">moveProgressBar('52.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should give a string representation of the Reading</span></dd> + <dd class="example passed"><span class="passed_spec_name">should not try to open files if it doesn't get a filename</span><span class='duration'>0.00365s</span></dd> <script type="text/javascript">moveProgressBar('53.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should give a string representation of the Definitions</span></dd> + <dd class="example passed"><span class="passed_spec_name">should load drill files as drill files</span><span class='duration'>0.00394s</span></dd> + </dl> +</div> +<div id="div_group_58" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_58" class="passed">JLDrill::GetFilenameContext</dt> <script type="text/javascript">moveProgressBar('53.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should have and empty string if the reading isn't set</span></dd> - <script type="text/javascript">moveProgressBar('53.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should have and empty string if the definitions aren't set</span></dd> - <script type="text/javascript">moveProgressBar('54.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to assign a vocab</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be created by the main context</span><span class='duration'>0.00171s</span></dd> + <script type="text/javascript">moveProgressBar('53.6');</script> + <dd class="example passed"><span class="passed_spec_name">should immediately exit the context after entering it</span><span class='duration'>0.00158s</span></dd> + <script type="text/javascript">moveProgressBar('53.9');</script> + <dd class="example passed"><span class="passed_spec_name">should set the filename and directory from the view</span><span class='duration'>0.00131s</span></dd> + </dl> +</div> +<div id="div_group_59" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_59" class="passed">JLDrill::LoadPath</dt> <script type="text/javascript">moveProgressBar('54.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should create a ReadingProblem for level 0</span></dd> + <dd class="example passed"><span class="passed_spec_name">should not find files if empty</span><span class='duration'>0.00114s</span></dd> <script type="text/javascript">moveProgressBar('54.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should create a KanjiProblem for level 1</span></dd> - <script type="text/javascript">moveProgressBar('54.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should create a MeaningProblem for level 2</span></dd> - <script type="text/javascript">moveProgressBar('55.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should create a MeaningProblem for level 1 if there is no kanji</span></dd> - <script type="text/javascript">moveProgressBar('55.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should create a ReadingProblem for unknown levels</span></dd> - <script type="text/javascript">moveProgressBar('55.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should print the status correctly</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to add a directory to the load path</span><span class='duration'>0.00165s</span></dd> + <script type="text/javascript">moveProgressBar('54.7');</script> + <dd class="example passed"><span class="passed_spec_name">should not find files that don't exist</span><span class='duration'>0.00072s</span></dd> + <script type="text/javascript">moveProgressBar('55.0');</script> + <dd class="example passed"><span class="passed_spec_name">should prioritize directories added first</span><span class='duration'>0.00234s</span></dd> + <script type="text/javascript">moveProgressBar('55.3');</script> + <dd class="example passed"><span class="passed_spec_name">should not add a nil path</span><span class='duration'>0.00108s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_44">JLDrill::ReadingProblem</dt> - <script type="text/javascript">moveProgressBar('56.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a question of kanji, reading and hint and answer of definitions</span></dd> - <script type="text/javascript">moveProgressBar('56.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should publish the correct items</span></dd> - <script type="text/javascript">moveProgressBar('56.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should use the reading as kanji if there is no kanji</span></dd> - <script type="text/javascript">moveProgressBar('56.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should publish the reading as kanji if there is no kanji</span></dd> +<div id="div_group_60" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_60" class="passed">JLDrill::Deinflection::Reason</dt> + <script type="text/javascript">moveProgressBar('55.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse an reason from the deinflect file</span><span class='duration'>0.00194s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_45">JLDrill::KanjiProblem</dt> - <script type="text/javascript">moveProgressBar('57.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a question of kanji and answer of reading, definitions and hint</span></dd> +<div id="div_group_61" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_61" class="passed">JLDrill::Deinflection::Reason</dt> + <script type="text/javascript">moveProgressBar('55.8');</script> + <dd class="example passed"><span class="passed_spec_name">should parse a reason</span><span class='duration'>0.00148s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_46">JLDrill::MeaningProblem</dt> - <script type="text/javascript">moveProgressBar('57.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a question of definitions and answer of kanji, readings and hint</span></dd> +<div id="div_group_62" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_62" class="passed">JLDrill::DeinflectionRulesFile</dt> + <script type="text/javascript">moveProgressBar('56.1');</script> + <dd class="example passed"><span class="passed_spec_name">should load the file properly</span><span class='duration'>0.17118s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_47">JLDrill::ProblemStatus</dt> - <script type="text/javascript">moveProgressBar('57.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should react sanely when empty</span></dd> +<div id="div_group_63" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_63" class="passed">JLDrill::Vocabulary</dt> + <script type="text/javascript">moveProgressBar('56.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse vocabulary from strings</span><span class='duration'>0.00503s</span></dd> + <script type="text/javascript">moveProgressBar('56.7');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to tell a valid vocabulary from invalid</span><span class='duration'>0.00545s</span></dd> + <script type="text/javascript">moveProgressBar('56.9');</script> + <dd class="example passed"><span class="passed_spec_name">should not break the parser to try to parse nonsense</span><span class='duration'>0.00491s</span></dd> + <script type="text/javascript">moveProgressBar('57.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to assign the contents of one Vocabulary to another</span><span class='duration'>0.00661s</span></dd> + <script type="text/javascript">moveProgressBar('57.5');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to set definitions and markers</span><span class='duration'>0.00387s</span></dd> + <script type="text/javascript">moveProgressBar('57.8');</script> + <dd class="example passed"><span class="passed_spec_name">should set definitions and markers to nil if empty</span><span class='duration'>0.00315s</span></dd> <script type="text/javascript">moveProgressBar('58.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should create a meaning problem if is starts parsing a schedule without a problem type</span></dd> - <script type="text/javascript">moveProgressBar('58.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should create schedules for each problem type it recognizes</span></dd> - <script type="text/javascript">moveProgressBar('58.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should output to save file format</span></dd> - <script type="text/javascript">moveProgressBar('58.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to clone</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_48">Browse Items - Edit an item from the vocabulary list</dt> + <dd class="example passed"><span class="passed_spec_name">should be able to set kanji, reading and hint</span><span class='duration'>0.00431s</span></dd> + <script type="text/javascript">moveProgressBar('58.3');</script> + <dd class="example passed"><span class="passed_spec_name">should set kanji, reading and hint to nil if empty</span><span class='duration'>0.00293s</span></dd> + <script type="text/javascript">moveProgressBar('58.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to insert carriage returns</span><span class='duration'>0.00360s</span></dd> + <script type="text/javascript">moveProgressBar('58.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to insert quotes</span><span class='duration'>0.00311s</span></dd> <script type="text/javascript">moveProgressBar('59.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be display all the vocabulary</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to make a clone</span><span class='duration'>0.00357s</span></dd> <script type="text/javascript">moveProgressBar('59.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to edit one of the items</span></dd> + <dd class="example passed"><span class="passed_spec_name">should parse commas properly</span><span class='duration'>0.00543s</span></dd> + <script type="text/javascript">moveProgressBar('59.7');</script> + <dd class="example passed"><span class="passed_spec_name">should have a hash based on the reading and kanji</span><span class='duration'>0.00649s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_49">Time Limit Story - Review Set items have time limits</dt> - <script type="text/javascript">moveProgressBar('59.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should start the thinkingTimer when a new problem is created</span></dd> +<div id="div_group_64" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_64" class="passed">JLDrill::Meaning</dt> <script type="text/javascript">moveProgressBar('60.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should stop the thinkingTimer when a problem is answered</span></dd> + <dd class="example passed"><span class="passed_spec_name">should have types and usages when created</span><span class='duration'>0.00112s</span></dd> <script type="text/javascript">moveProgressBar('60.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should not have time limits on New Set Items</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a single usage</span><span class='duration'>0.00167s</span></dd> <script type="text/javascript">moveProgressBar('60.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should not have time limits on Working Set Items</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a single usage with types</span><span class='duration'>0.00227s</span></dd> <script type="text/javascript">moveProgressBar('60.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should not have time limits on newly promoted Review Set Items</span></dd> - <script type="text/javascript">moveProgressBar('61.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should add a time limit after the first review</span></dd> - <script type="text/javascript">moveProgressBar('61.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to round the time limit to 3 decimals</span></dd> - <script type="text/javascript">moveProgressBar('61.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should save the time limit to 3 decimals and read it back in</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a specific single usage with types</span><span class='duration'>0.00225s</span></dd> + <script type="text/javascript">moveProgressBar('61.0');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a meaning with types and a specific single usage without types</span><span class='duration'>0.00226s</span></dd> + <script type="text/javascript">moveProgressBar('61.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a meaning with types and a specific single usage with types</span><span class='duration'>0.00241s</span></dd> + <script type="text/javascript">moveProgressBar('61.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse multiple usages</span><span class='duration'>0.00331s</span></dd> + <script type="text/javascript">moveProgressBar('61.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to get all types in the meaning</span><span class='duration'>0.00184s</span></dd> + <script type="text/javascript">moveProgressBar('62.1');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to get all definitions in the meaning</span><span class='duration'>0.00234s</span></dd> + <script type="text/javascript">moveProgressBar('62.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to output the meaning as a string</span><span class='duration'>0.00055s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_50">Can Input and Output Vocabularies - Special characters should be entered properly.</dt> - <script type="text/javascript">moveProgressBar('62.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should handle quotes</span></dd> - <script type="text/javascript">moveProgressBar('62.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should handle definition and marker lists with quotes</span></dd> - <script type="text/javascript">moveProgressBar('62.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should handle returns</span></dd> - <script type="text/javascript">moveProgressBar('62.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should handle definition and marker lists with returns</span></dd> - <script type="text/javascript">moveProgressBar('63.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should handle commas</span></dd> - <script type="text/javascript">moveProgressBar('63.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to handle akeru</span></dd> - <script type="text/javascript">moveProgressBar('63.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to handle tojiru</span></dd> - <script type="text/javascript">moveProgressBar('64.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should handle slashes</span></dd> +<div id="div_group_65" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_65" class="passed">JLDrill::Definition</dt> + <script type="text/javascript">moveProgressBar('62.7');</script> + <dd class="example passed"><span class="passed_spec_name">should have a value and types when created</span><span class='duration'>0.00071s</span></dd> + <script type="text/javascript">moveProgressBar('63.0');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse Edict definitions</span><span class='duration'>0.00074s</span></dd> + <script type="text/javascript">moveProgressBar('63.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse Edict definitions with a type</span><span class='duration'>0.00083s</span></dd> + <script type="text/javascript">moveProgressBar('63.5');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse Edict definitions with many types</span><span class='duration'>0.00087s</span></dd> + <script type="text/javascript">moveProgressBar('63.8');</script> + <dd class="example passed"><span class="passed_spec_name">should pick up multiple sets of types</span><span class='duration'>0.00091s</span></dd> + <script type="text/javascript">moveProgressBar('64.1');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to match equivalence</span><span class='duration'>0.00092s</span></dd> + <script type="text/javascript">moveProgressBar('64.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to handle parenthesis</span><span class='duration'>0.00080s</span></dd> + <script type="text/javascript">moveProgressBar('64.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to handle special language tags</span><span class='duration'>0.00080s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_51">Edit a Problem - Delete the kanji in a KanjiProblem</dt> - <script type="text/javascript">moveProgressBar('64.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to generate a kanji problem</span></dd> - <script type="text/javascript">moveProgressBar('64.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should redo the the problem if the Kanji is removed</span></dd> +<div id="div_group_66" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_66" class="passed">JLDrill::Usage</dt> + <script type="text/javascript">moveProgressBar('64.9');</script> + <dd class="example passed"><span class="passed_spec_name">should have a value and types when created</span><span class='duration'>0.00107s</span></dd> + <script type="text/javascript">moveProgressBar('65.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse Edict usages</span><span class='duration'>0.00481s</span></dd> + <script type="text/javascript">moveProgressBar('65.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to output the edict usage again</span><span class='duration'>0.00046s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_52">Edit a Problem - Edit the problem to create a duplicate.</dt> - <script type="text/javascript">moveProgressBar('64.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should not accept a duplicate vocabulary</span></dd> - <script type="text/javascript">moveProgressBar('65.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should accept an altered vocabulary</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_53">JLDrill::Gtk::MainWindowView</dt> - <script type="text/javascript">moveProgressBar('65.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a widget when initialized</span></dd> +<div id="div_group_67" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_67" class="passed">JLDrill::GrammarType</dt> <script type="text/javascript">moveProgressBar('65.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should react to destroy signals</span></dd> + <dd class="example passed"><span class="passed_spec_name">should have a list of grammar markings</span><span class='duration'>0.00111s</span></dd> <script type="text/javascript">moveProgressBar('66.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should have an icon</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to look up the types</span><span class='duration'>0.29567s</span></dd> + <script type="text/javascript">moveProgressBar('66.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to look up the special language tags</span><span class='duration'>0.01526s</span></dd> + <script type="text/javascript">moveProgressBar('66.5');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a string of types</span><span class='duration'>0.00190s</span></dd> + <script type="text/javascript">moveProgressBar('66.8');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to reject non-types</span><span class='duration'>0.00085s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_54">JLDrill::Gtk::StatisticsView</dt> - <script type="text/javascript">moveProgressBar('66.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should close the view when the window is destroyed</span></dd> +<div id="div_group_68" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_68" class="passed">JLDrill::Radical</dt> + <script type="text/javascript">moveProgressBar('67.1');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse an entry from the radkfile</span><span class='duration'>0.00553s</span></dd> + <script type="text/javascript">moveProgressBar('67.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse an entry with an alternate glyph</span><span class='duration'>0.00610s</span></dd> + <script type="text/javascript">moveProgressBar('67.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse an entry with multiple alternate glyphs</span><span class='duration'>0.00528s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_55">JLDrill opens a file. - Gets the filename from the user</dt> - <script type="text/javascript">moveProgressBar('66.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should automatically exit the context after entry</span></dd> - <script type="text/javascript">moveProgressBar('66.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should destroy the selectorWindow when it closes</span></dd> - <script type="text/javascript">moveProgressBar('67.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should set the filename and directory on OK</span></dd> - <script type="text/javascript">moveProgressBar('67.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should not set the filename and directory on CANCEL</span></dd> +<div id="div_group_69" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_69" class="passed">JLDrill::RadicalList</dt> + <script type="text/javascript">moveProgressBar('67.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a file in a string</span><span class='duration'>0.00542s</span></dd> + <script type="text/javascript">moveProgressBar('68.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a file on disk</span><span class='duration'>0.10588s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_56">Pop up kanji info - The user is able to select popup kanji option</dt> - <script type="text/javascript">moveProgressBar('67.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should have an entry in the menu</span></dd> +<div id="div_group_70" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_70" class="passed">JLDrill::RadicalFile</dt> + <script type="text/javascript">moveProgressBar('68.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to read the file in chunks</span><span class='duration'>0.09443s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_57">Quiz Status is Displayed - The DisplayQuizStatusContext is entered when the MainContext is entered</dt> - <script type="text/javascript">moveProgressBar('68.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a DisplayQuizStatusContext</span></dd> - <script type="text/javascript">moveProgressBar('68.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should enter the DisplayQuizStatusContext when the MainContext is entered</span></dd> +<div id="div_group_71" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_71" class="passed">JLDrill::KanaFile</dt> + <script type="text/javascript">moveProgressBar('68.7');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to read the file in chunks</span><span class='duration'>0.01088s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_58">Quiz Status is Displayed - The DisplayQuizStatusContext is exited when the MainContext is exited</dt> - <script type="text/javascript">moveProgressBar('68.5');</script> - <dd class="spec passed"><span class="passed_spec_name">it should exit the DisplayQuizStatus Context when the MainContext is exited</span></dd> +<div id="div_group_72" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_72" class="passed">JLDrill::Config</dt> + <script type="text/javascript">moveProgressBar('69.0');</script> + <dd class="example passed"><span class="passed_spec_name">should have a DATA_DIR</span><span class='duration'>0.00064s</span></dd> + <script type="text/javascript">moveProgressBar('69.3');</script> + <dd class="example passed"><span class="passed_spec_name">should not be using the Gem DATA_DIR in the tests</span><span class='duration'>0.00063s</span></dd> + <script type="text/javascript">moveProgressBar('69.5');</script> + <dd class="example passed"><span class="passed_spec_name">should use the Gem::datadir if set</span><span class='duration'>0.00109s</span></dd> + <script type="text/javascript">moveProgressBar('69.8');</script> + <dd class="example passed"><span class="passed_spec_name">should resolve data files according to the load path</span><span class='duration'>0.00419s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_59">Quiz Status is Displayed - There is a view that displays the status of the quiz</dt> - <script type="text/javascript">moveProgressBar('68.8');</script> - <dd class="spec passed"><span class="passed_spec_name">has a view</span></dd> - <script type="text/javascript">moveProgressBar('69.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should add the view to bottom of the Gtk MainWindowView</span></dd> - <script type="text/javascript">moveProgressBar('69.4');</script> - <dd class="spec passed"><span class="passed_spec_name">displays the status of the quiz in the Gtk view</span></dd> +<div id="div_group_73" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_73" class="passed">JLDrill::Kanji</dt> + <script type="text/javascript">moveProgressBar('70.1');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse an entry from the kanji file</span><span class='duration'>0.00412s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_60">Quiz Status is Displayed - The view is updated whenever the status of the quiz changes</dt> - <script type="text/javascript">moveProgressBar('69.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should update the status of the quiz when the context is entered</span></dd> - <script type="text/javascript">moveProgressBar('70.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should receive updates when the quiz status changes</span></dd> +<div id="div_group_74" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_74" class="passed">JLDrill::KanjiList</dt> + <script type="text/javascript">moveProgressBar('70.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a file in a string</span><span class='duration'>0.00406s</span></dd> + <script type="text/javascript">moveProgressBar('70.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse a file on disk</span><span class='duration'>0.00989s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_61">Each Problem Type has a Schedule - File stores the problem types</dt> - <script type="text/javascript">moveProgressBar('70.2');</script> - <dd class="spec passed"><span class="passed_spec_name">The problem types should have names</span></dd> - <script type="text/javascript">moveProgressBar('70.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to clone each of the problems</span></dd> - <script type="text/javascript">moveProgressBar('70.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should print the name for to_s</span></dd> +<div id="div_group_75" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_75" class="passed">JLDrill::KanjiFile</dt> + <script type="text/javascript">moveProgressBar('70.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to read the file in chunks</span><span class='duration'>0.26876s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_62">JLDrill::ItemStatus</dt> - <script type="text/javascript">moveProgressBar('71.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse vocabulary from strings</span></dd> - <script type="text/javascript">moveProgressBar('71.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set a lastReviewed time on the object</span></dd> +<div id="div_group_76" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_76" class="passed">JLDrill::Item</dt> + <script type="text/javascript">moveProgressBar('71.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to swap the positions of items</span><span class='duration'>0.00293s</span></dd> + </dl> +</div> +<div id="div_group_77" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_77" class="passed">JLDrill::Counter</dt> + <script type="text/javascript">moveProgressBar('71.5');</script> + <dd class="example passed"><span class="passed_spec_name">should create the ranges properly</span><span class='duration'>0.00444s</span></dd> <script type="text/javascript">moveProgressBar('71.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to write the last reviewed time to file</span></dd> + <dd class="example passed"><span class="passed_spec_name">should count properly</span><span class='duration'>0.00269s</span></dd> + </dl> +</div> +<div id="div_group_78" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_78" class="passed">JLDrill::Strategy</dt> <script type="text/javascript">moveProgressBar('72.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse the information in the file</span></dd> - <script type="text/javascript">moveProgressBar('72.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to write consecutive to file</span></dd> - <script type="text/javascript">moveProgressBar('72.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should schedule new items to maximum value by default</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to return the status</span><span class='duration'>0.02114s</span></dd> + <script type="text/javascript">moveProgressBar('72.3');</script> + <dd class="example passed"><span class="passed_spec_name">should increment the statistics if correct in bin 4</span><span class='duration'>0.02142s</span></dd> + <script type="text/javascript">moveProgressBar('72.6');</script> + <dd class="example passed"><span class="passed_spec_name">should decrement the statistics if incorrect in bin 4</span><span class='duration'>0.02244s</span></dd> <script type="text/javascript">moveProgressBar('72.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should schedule old items to twice their elapsed time</span></dd> + <dd class="example passed"><span class="passed_spec_name">should use the contents from the quiz</span><span class='duration'>0.01979s</span></dd> <script type="text/javascript">moveProgressBar('73.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should set a minimum schedule based on difficulty</span></dd> + <dd class="example passed"><span class="passed_spec_name">should only pick unseen items</span><span class='duration'>0.03050s</span></dd> <script type="text/javascript">moveProgressBar('73.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to write duration to file</span></dd> - <script type="text/javascript">moveProgressBar('73.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse the schedule information in the file</span></dd> - <script type="text/javascript">moveProgressBar('74.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to clear the schedule</span></dd> + <dd class="example passed"><span class="passed_spec_name">should demote bin 0 items to bin 0 and reset the level to 0</span><span class='duration'>0.02070s</span></dd> + <script type="text/javascript">moveProgressBar('73.6');</script> + <dd class="example passed"><span class="passed_spec_name">should demote other items to bin 1 and reset the level to 0</span><span class='duration'>0.02653s</span></dd> + <script type="text/javascript">moveProgressBar('73.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to create problems of the correct level</span><span class='duration'>0.02394s</span></dd> <script type="text/javascript">moveProgressBar('74.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should keep track of the number of times incorrect</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to tell if the working set is full</span><span class='duration'>0.04690s</span></dd> <script type="text/javascript">moveProgressBar('74.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should keep a difficulty level equal to the number of times it was incorrect the last time it was in the working set</span></dd> - <script type="text/javascript">moveProgressBar('74.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should choose the longest interval with 0 difficulty</span></dd> - <script type="text/javascript">moveProgressBar('75.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should decrement the interval by 20 percent from difficulty 1 to 5, down to 1 day</span></dd> - <script type="text/javascript">moveProgressBar('75.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should decrement the interval from 1 day approaching 0 days as difficulty increases from 6</span></dd> - <script type="text/javascript">moveProgressBar('75.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to calculate the difficulty based on the interval that has passed.</span></dd> - <script type="text/javascript">moveProgressBar('76.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should modify the difficulty when the item is correctly answered</span></dd> - <script type="text/javascript">moveProgressBar('76.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to tell if an item has duration in a range</span></dd> - <script type="text/javascript">moveProgressBar('76.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to show the reviewed date</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to tell if the review set needs reviewing</span><span class='duration'>0.03500s</span></dd> + <script type="text/javascript">moveProgressBar('74.7');</script> + <dd class="example passed"><span class="passed_spec_name">should not review if all the items in the review set are seen</span><span class='duration'>0.27594s</span></dd> + <script type="text/javascript">moveProgressBar('75.0');</script> + <dd class="example passed"><span class="passed_spec_name">should increment the item's difficulty when an item is incorrect</span><span class='duration'>0.02397s</span></dd> + <script type="text/javascript">moveProgressBar('75.3');</script> + <dd class="example passed"><span class="passed_spec_name">should not reset the difficulty when the item is demoted from the 4th bin</span><span class='duration'>0.02413s</span></dd> + <script type="text/javascript">moveProgressBar('75.6');</script> + <dd class="example passed"><span class="passed_spec_name">should reset the consecutive counter on an incorrect answer</span><span class='duration'>0.02496s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_63">Can Load Edict in EUC - Edict can determine the type</dt> - <script type="text/javascript">moveProgressBar('76.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to recognize utf8 and euc</span></dd> +<div id="div_group_79" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_79" class="passed">JLDrill::Statistics</dt> + <script type="text/javascript">moveProgressBar('75.8');</script> + <dd class="example passed"><span class="passed_spec_name">should start with an estimate of 0</span><span class='duration'>0.00135s</span></dd> + <script type="text/javascript">moveProgressBar('76.1');</script> + <dd class="example passed"><span class="passed_spec_name">should have an accuracy of 100 if all are correct</span><span class='duration'>0.00095s</span></dd> + <script type="text/javascript">moveProgressBar('76.4');</script> + <dd class="example passed"><span class="passed_spec_name">should set the accuracy correctly</span><span class='duration'>0.00269s</span></dd> + <script type="text/javascript">moveProgressBar('76.7');</script> + <dd class="example passed"><span class="passed_spec_name">should slowly move the estimate towards 100</span><span class='duration'>0.00740s</span></dd> + <script type="text/javascript">moveProgressBar('76.9');</script> + <dd class="example passed"><span class="passed_spec_name">should keep track of the last ten responses</span><span class='duration'>0.01314s</span></dd> + <script type="text/javascript">moveProgressBar('77.2');</script> + <dd class="example passed"><span class="passed_spec_name">should keep track of the recent (up to 10 items) accuracy</span><span class='duration'>0.00352s</span></dd> + <script type="text/javascript">moveProgressBar('77.5');</script> + <dd class="example passed"><span class="passed_spec_name">should calculate the confidence that the probability is &gt; 90</span><span class='duration'>0.00090s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_64">Can Load Edict in EUC - Edict can parse EUC entries</dt> - <script type="text/javascript">moveProgressBar('77.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should convert EUC data to UTF8</span></dd> - <script type="text/javascript">moveProgressBar('77.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse いってき</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_65">JLDrill::Kana</dt> - <script type="text/javascript">moveProgressBar('77.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse an entry from the kana file</span></dd> +<div id="div_group_80" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_80" class="passed">JLDrill::Contents</dt> + <script type="text/javascript">moveProgressBar('77.8');</script> + <dd class="example passed"><span class="passed_spec_name">should indicate if a range of bins has contents</span><span class='duration'>0.01977s</span></dd> <script type="text/javascript">moveProgressBar('78.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse entries with multiple romaji</span></dd> - <script type="text/javascript">moveProgressBar('78.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to create a string from the entry</span></dd> - <script type="text/javascript">moveProgressBar('78.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a file in a string</span></dd> - <script type="text/javascript">moveProgressBar('78.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse a file on disk</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_66">Pop up kanji info - The user should see kana information</dt> + <dd class="example passed"><span class="passed_spec_name">should add items to the last position if the position is set to -1</span><span class='duration'>0.01957s</span></dd> + <script type="text/javascript">moveProgressBar('78.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to print out the status</span><span class='duration'>0.01816s</span></dd> + <script type="text/javascript">moveProgressBar('78.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to count the unseen items in a range</span><span class='duration'>0.04147s</span></dd> + <script type="text/javascript">moveProgressBar('78.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to find the nth unseen item in the contents</span><span class='duration'>0.05130s</span></dd> <script type="text/javascript">moveProgressBar('79.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should load the kana info</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to add items to the contents only if they dont already exist</span><span class='duration'>0.02230s</span></dd> <script type="text/javascript">moveProgressBar('79.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to find the kana items</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to add the contents from another quiz to this one</span><span class='duration'>0.27812s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_67">User Loads Dictionary - You can load the reference from AddNewVocabulary</dt> +<div id="div_group_81" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_81" class="passed">JLDrill::LevelStats</dt> <script type="text/javascript">moveProgressBar('79.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should load the reference when requested</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_68">User Loads Dictionary - You can load the reference from EditVocabulary</dt> + <dd class="example passed"><span class="passed_spec_name">should count the total number of trials</span><span class='duration'>0.00214s</span></dd> <script type="text/javascript">moveProgressBar('80.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should load the reference when requested</span></dd> + <dd class="example passed"><span class="passed_spec_name">should keep track of the percentage correct</span><span class='duration'>0.00252s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_69">User Loads Dictionary - The dictionary to load is in the save file.</dt> +<div id="div_group_82" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_82" class="passed">JLDrill::Quiz</dt> <script type="text/javascript">moveProgressBar('80.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should save the dictionary filename in the save file</span></dd> + <dd class="example passed"><span class="passed_spec_name">should have the contents</span><span class='duration'>0.02348s</span></dd> <script type="text/javascript">moveProgressBar('80.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should load the dictionary relative to the install directory</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_70">Problems are displayed - The DisplayProblemContext is entered when the MainContext is entered</dt> + <dd class="example passed"><span class="passed_spec_name">should load a file from memory</span><span class='duration'>0.02833s</span></dd> <script type="text/javascript">moveProgressBar('80.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a DisplayProblemContext</span></dd> - <script type="text/javascript">moveProgressBar('81.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should enter the DisplayProblemContext when the app starts</span></dd> + <dd class="example passed"><span class="passed_spec_name">should save a file to a string</span><span class='duration'>0.01933s</span></dd> + <script type="text/javascript">moveProgressBar('81.0');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to load files of the current version</span><span class='duration'>0.02520s</span></dd> + <script type="text/javascript">moveProgressBar('81.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to get a list of all the items</span><span class='duration'>0.01909s</span></dd> + <script type="text/javascript">moveProgressBar('81.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to reset the contents</span><span class='duration'>0.02044s</span></dd> + <script type="text/javascript">moveProgressBar('81.9');</script> + <dd class="example passed"><span class="passed_spec_name">should renumber the contents when resetting</span><span class='duration'>0.02036s</span></dd> + <script type="text/javascript">moveProgressBar('82.1');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to move an item from one bin to the other</span><span class='duration'>0.01863s</span></dd> + <script type="text/javascript">moveProgressBar('82.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to create a new Problem</span><span class='duration'>0.02753s</span></dd> + <script type="text/javascript">moveProgressBar('82.7');</script> + <dd class="example passed"><span class="passed_spec_name">should eventually promote all items to bin 4</span><span class='duration'>0.30891s</span></dd> + <script type="text/javascript">moveProgressBar('83.0');</script> + <dd class="example passed"><span class="passed_spec_name">should use the promote threshold when promoting</span><span class='duration'>0.13889s</span></dd> + <script type="text/javascript">moveProgressBar('83.2');</script> + <dd class="example passed"><span class="passed_spec_name">should update the last reviewed status when the answer is made</span><span class='duration'>0.03235s</span></dd> + <script type="text/javascript">moveProgressBar('83.5');</script> + <dd class="example passed"><span class="passed_spec_name">should update the schedule correctly for bin 4 items</span><span class='duration'>0.02491s</span></dd> + <script type="text/javascript">moveProgressBar('83.8');</script> + <dd class="example passed"><span class="passed_spec_name">should notify subscribers of updates</span><span class='duration'>0.01838s</span></dd> + <script type="text/javascript">moveProgressBar('84.1');</script> + <dd class="example passed"><span class="passed_spec_name">should notify subscribers when a new problem has been created</span><span class='duration'>0.02400s</span></dd> + <script type="text/javascript">moveProgressBar('84.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to find paths relative to the save name</span><span class='duration'>0.01859s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_71">Problems are displayed - The DisplayProblemContext is exited when the MainContext is exited</dt> - <script type="text/javascript">moveProgressBar('81.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should exit the DisplayProblemContext when the MainContext is exited</span></dd> +<div id="div_group_83" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_83" class="passed">JLDrill::Tatoeba::SentenceFile</dt> + <script type="text/javascript">moveProgressBar('84.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse multiple entries</span><span class='duration'>0.00408s</span></dd> + <script type="text/javascript">moveProgressBar('84.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to read the file from disk</span><span class='duration'>0.29318s</span></dd> + <script type="text/javascript">moveProgressBar('85.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to read the links file from disk</span><span class='duration'>0.03990s</span></dd> + <script type="text/javascript">moveProgressBar('85.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to read the Japanese Index file from disk</span><span class='duration'>0.04171s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_72">Problems are displayed - There is a view that displays current Problem</dt> - <script type="text/javascript">moveProgressBar('81.7');</script> - <dd class="spec passed"><span class="passed_spec_name">The display should be updated when the application starts</span></dd> - <script type="text/javascript">moveProgressBar('82.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should display a problem when a file is loaded</span></dd> - <script type="text/javascript">moveProgressBar('82.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should refresh the display when the current vocab has been edited</span></dd> - <script type="text/javascript">moveProgressBar('82.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should display each of the items in the problem</span></dd> - <script type="text/javascript">moveProgressBar('82.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should have the correct text in the display</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_73">Problems are displayed - Embedded returns and quotes are displayed</dt> - <script type="text/javascript">moveProgressBar('83.1');</script> - <dd class="spec passed"><span class="passed_spec_name">has been tested in the Vocabulary spec</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_74">Problems are displayed - The ProblemView contains ItemHintsView.</dt> - <script type="text/javascript">moveProgressBar('83.4');</script> - <dd class="spec passed"><span class="passed_spec_name">notifies the ItemHintsView when there is a new problem</span></dd> - <script type="text/javascript">moveProgressBar('83.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should notify the ItemHintsView when the problem is updated</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_75">Find the closest match - Find the number of common bytes</dt> - <script type="text/javascript">moveProgressBar('84.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should return 0 for dissimilar strings</span></dd> - <script type="text/javascript">moveProgressBar('84.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should count common characters at the beginning of the string</span></dd> - <script type="text/javascript">moveProgressBar('84.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should return 0 for empty and nil strings</span></dd> - <script type="text/javascript">moveProgressBar('84.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should work with UTF-8 characters</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_76">Find the closest match - Find the rank between two vocabs</dt> - <script type="text/javascript">moveProgressBar('85.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should return 0 for nil objects</span></dd> - <script type="text/javascript">moveProgressBar('85.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should return the number of common bytes in the reading</span></dd> +<div id="div_group_84" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_84" class="passed">JLDrill::Duration</dt> <script type="text/javascript">moveProgressBar('85.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should use the kanji if it exists</span></dd> + <dd class="example passed"><span class="passed_spec_name">should create an invalid duration with no argument</span><span class='duration'>0.00113s</span></dd> <script type="text/javascript">moveProgressBar('86.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should use the definitions</span></dd> - <script type="text/javascript">moveProgressBar('86.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should use the markers</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_77">Vocabulary Is Stored In Items - Items can hold Vocabulary</dt> + <dd class="example passed"><span class="passed_spec_name">should create a duration of the required length</span><span class='duration'>0.00113s</span></dd> + <script type="text/javascript">moveProgressBar('86.3');</script> + <dd class="example passed"><span class="passed_spec_name">should parse a duration from a string</span><span class='duration'>0.00208s</span></dd> <script type="text/javascript">moveProgressBar('86.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to create an Item from a Vocabulary</span></dd> + <dd class="example passed"><span class="passed_spec_name">should output the duration in days</span><span class='duration'>0.00110s</span></dd> <script type="text/javascript">moveProgressBar('86.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to see if items are equal</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_78">User Adds Vocab To Quiz - The user enters AddNewVocabularyContext</dt> + <dd class="example passed"><span class="passed_spec_name">should output the duration as a string</span><span class='duration'>0.00067s</span></dd> <script type="text/javascript">moveProgressBar('87.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should have an AddNewVocabularyContext</span></dd> - <script type="text/javascript">moveProgressBar('87.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should enter the AddNewVocabularyContext when instructed</span></dd> - <script type="text/javascript">moveProgressBar('87.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a view for a Vocabulary when the context is entered</span></dd> - <script type="text/javascript">moveProgressBar('88.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a GTK view that allows editing of the Vocabulary</span></dd> + <dd class="example passed"><span class="passed_spec_name">should assign durations properly</span><span class='duration'>0.00065s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_79">User Adds Vocab To Quiz - The user chooses to add the entered Vocabulary</dt> +<div id="div_group_85" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_85" class="passed">JLDrill::Bin</dt> + <script type="text/javascript">moveProgressBar('87.3');</script> + <dd class="example passed"><span class="passed_spec_name">should have a name and number when constructed</span><span class='duration'>0.00707s</span></dd> + <script type="text/javascript">moveProgressBar('87.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to push a vocabulary</span><span class='duration'>0.00826s</span></dd> + <script type="text/javascript">moveProgressBar('87.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to iterate through the bin using each()</span><span class='duration'>0.01816s</span></dd> <script type="text/javascript">moveProgressBar('88.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to add the view's Vocabulary to the Quiz</span></dd> - <script type="text/javascript">moveProgressBar('88.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should not add invalid Vocabulary</span></dd> - <script type="text/javascript">moveProgressBar('88.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should add the vocabulary to the parent context's quiz</span></dd> - <script type="text/javascript">moveProgressBar('89.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should have a button on the Gtk window for adding the vocab</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to delete an item</span><span class='duration'>0.01691s</span></dd> + <script type="text/javascript">moveProgressBar('88.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to sort</span><span class='duration'>0.02171s</span></dd> + <script type="text/javascript">moveProgressBar('88.7');</script> + <dd class="example passed"><span class="passed_spec_name">should output itself in save format</span><span class='duration'>0.01644s</span></dd> + <script type="text/javascript">moveProgressBar('89.0');</script> + <dd class="example passed"><span class="passed_spec_name">should indicate if the bin is empty</span><span class='duration'>0.24916s</span></dd> + <script type="text/javascript">moveProgressBar('89.3');</script> + <dd class="example passed"><span class="passed_spec_name">should indicate if all the items in the bin have been seen</span><span class='duration'>0.03022s</span></dd> + <script type="text/javascript">moveProgressBar('89.5');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to find the first unseen item</span><span class='duration'>0.01898s</span></dd> + <script type="text/javascript">moveProgressBar('89.8');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to set all the items to unseen</span><span class='duration'>0.02017s</span></dd> + <script type="text/javascript">moveProgressBar('90.1');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to count the number of unseen items</span><span class='duration'>0.01908s</span></dd> + <script type="text/javascript">moveProgressBar('90.4');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to find the nth unseen item in the bin</span><span class='duration'>0.01763s</span></dd> + <script type="text/javascript">moveProgressBar('90.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to tell if an item exists in the bin</span><span class='duration'>0.01784s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_80">User Adds Vocab To Quiz - The fields in the view are cleared when a Vocabulary is added</dt> - <script type="text/javascript">moveProgressBar('89.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should clear the fields in the Gtk window when an item has been added</span></dd> - <script type="text/javascript">moveProgressBar('89.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should not clear the fields if the item was invalid</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_81">User Adds Vocab To Quiz - Doesn't add the same Vocabulary twice</dt> - <script type="text/javascript">moveProgressBar('90.0');</script> - <dd class="spec passed"><span class="passed_spec_name">it should refuse to add an item that already exists</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_82">User Adds Vocab To Quiz - The user can search the dictionary</dt> - <script type="text/javascript">moveProgressBar('90.2');</script> - <dd class="spec passed"><span class="passed_spec_name">can load the and search the dictionary from this context</span></dd> - </dl> -</div> -<div class="example_group"> - <dl> - <dt id="example_group_83">User Chooses the Review Problem Types - Options are stored and read</dt> - <script type="text/javascript">moveProgressBar('90.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should have the correct defaults</span></dd> - <script type="text/javascript">moveProgressBar('90.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should store the default options</span></dd> - <script type="text/javascript">moveProgressBar('91.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should store changed options</span></dd> - <script type="text/javascript">moveProgressBar('91.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should show that the quiz needs saving if certain options are changed</span></dd> +<div id="div_group_86" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_86" class="passed">JLDrill::Tanaka::Reference</dt> + <script type="text/javascript">moveProgressBar('90.9');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse an entry from the Reference file</span><span class='duration'>0.00521s</span></dd> + <script type="text/javascript">moveProgressBar('91.2');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse Words</span><span class='duration'>0.00125s</span></dd> + <script type="text/javascript">moveProgressBar('91.5');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to parse the reading</span><span class='duration'>0.00334s</span></dd> <script type="text/javascript">moveProgressBar('91.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should know if the review options have been set</span></dd> + <dd class="example passed"><span class="passed_spec_name">should split sentences into Japanese and English parts</span><span class='duration'>0.00288s</span></dd> <script type="text/javascript">moveProgressBar('92.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should clear the review defaults when the reviewOptions are set</span></dd> - <script type="text/javascript">moveProgressBar('92.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should create a list of allowed levels</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to parse multiple entries</span><span class='duration'>0.00403s</span></dd> + <script type="text/javascript">moveProgressBar('92.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to read the file from disk</span><span class='duration'>0.02160s</span></dd> + <script type="text/javascript">moveProgressBar('92.6');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to read the file in chunks</span><span class='duration'>0.01403s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_84">User Chooses the Review Problem Types - Options view can modify options</dt> - <script type="text/javascript">moveProgressBar('92.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set the review reading option</span></dd> +<div id="div_group_87" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_87" class="passed">JLDrill::DictionaryEntry</dt> <script type="text/javascript">moveProgressBar('92.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set the review kanji option</span></dd> + <dd class="example passed"><span class="passed_spec_name">should have a kanji/reading key</span><span class='duration'>0.00036s</span></dd> + </dl> +</div> +<div id="div_group_88" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_88" class="passed">JLDrill::JEDictionary</dt> <script type="text/javascript">moveProgressBar('93.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set the review meaning option</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to load a dictionary using the DataFile interface</span><span class='duration'>0.07194s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_85">User Changes Options Story - Options are stored and read</dt> +<div id="div_group_89" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_89" class="passed">JLDrill::Problem</dt> <script type="text/javascript">moveProgressBar('93.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should have the correct defaults</span></dd> - <script type="text/javascript">moveProgressBar('93.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should store the default options</span></dd> - <script type="text/javascript">moveProgressBar('94.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should store changed options</span></dd> + <dd class="example passed"><span class="passed_spec_name">should have a vocab associated with it</span><span class='duration'>0.00307s</span></dd> + <script type="text/javascript">moveProgressBar('93.6');</script> + <dd class="example passed"><span class="passed_spec_name">should give a string representation of the Kanji if it's there</span><span class='duration'>0.00569s</span></dd> + <script type="text/javascript">moveProgressBar('93.9');</script> + <dd class="example passed"><span class="passed_spec_name">should give a string representation of the Hint if it's there</span><span class='duration'>0.00581s</span></dd> <script type="text/javascript">moveProgressBar('94.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should show that the quiz needs saving if certain options are changed</span></dd> + <dd class="example passed"><span class="passed_spec_name">should give a string representation of the Reading</span><span class='duration'>0.00439s</span></dd> <script type="text/javascript">moveProgressBar('94.5');</script> - <dd class="spec passed"><span class="passed_spec_name">shouldn't need to save if the options are changed to their current value</span></dd> - <script type="text/javascript">moveProgressBar('94.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should load a file with different options</span></dd> - <script type="text/javascript">moveProgressBar('95.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to assign the options to another options object</span></dd> + <dd class="example passed"><span class="passed_spec_name">should give a string representation of the Definitions</span><span class='duration'>0.00392s</span></dd> + <script type="text/javascript">moveProgressBar('94.7');</script> + <dd class="example passed"><span class="passed_spec_name">should have and empty string if the reading isn't set</span><span class='duration'>0.00370s</span></dd> + <script type="text/javascript">moveProgressBar('95.0');</script> + <dd class="example passed"><span class="passed_spec_name">should have and empty string if the definitions aren't set</span><span class='duration'>0.00326s</span></dd> + <script type="text/javascript">moveProgressBar('95.3');</script> + <dd class="example passed"><span class="passed_spec_name">should be able to assign a vocab</span><span class='duration'>0.00388s</span></dd> + <script type="text/javascript">moveProgressBar('95.6');</script> + <dd class="example passed"><span class="passed_spec_name">should create a ReadingProblem for level 0</span><span class='duration'>0.00322s</span></dd> + <script type="text/javascript">moveProgressBar('95.8');</script> + <dd class="example passed"><span class="passed_spec_name">should create a KanjiProblem for level 1</span><span class='duration'>0.00327s</span></dd> + <script type="text/javascript">moveProgressBar('96.1');</script> + <dd class="example passed"><span class="passed_spec_name">should create a MeaningProblem for level 2</span><span class='duration'>0.00326s</span></dd> + <script type="text/javascript">moveProgressBar('96.4');</script> + <dd class="example passed"><span class="passed_spec_name">should create a MeaningProblem for level 1 if there is no kanji</span><span class='duration'>0.00318s</span></dd> + <script type="text/javascript">moveProgressBar('96.7');</script> + <dd class="example passed"><span class="passed_spec_name">should create a ReadingProblem for unknown levels</span><span class='duration'>0.00327s</span></dd> + <script type="text/javascript">moveProgressBar('96.9');</script> + <dd class="example passed"><span class="passed_spec_name">should print the status correctly</span><span class='duration'>0.27458s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_86">User Changes Options Story - Options view can modify options</dt> - <script type="text/javascript">moveProgressBar('95.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should destroy the options Window when it closes</span></dd> - <script type="text/javascript">moveProgressBar('95.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to run twice</span></dd> - <script type="text/javascript">moveProgressBar('96.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set the Random Order option</span></dd> - <script type="text/javascript">moveProgressBar('96.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set the Promote Threshold option</span></dd> - <script type="text/javascript">moveProgressBar('96.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to set the Intro Threshold option</span></dd> +<div id="div_group_90" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_90" class="passed">JLDrill::ReadingProblem</dt> + <script type="text/javascript">moveProgressBar('97.2');</script> + <dd class="example passed"><span class="passed_spec_name">should have a question of kanji, reading and hint and answer of definitions</span><span class='duration'>0.00421s</span></dd> + <script type="text/javascript">moveProgressBar('97.5');</script> + <dd class="example passed"><span class="passed_spec_name">should publish the correct items</span><span class='duration'>0.00559s</span></dd> + <script type="text/javascript">moveProgressBar('97.8');</script> + <dd class="example passed"><span class="passed_spec_name">should use the reading as kanji if there is no kanji</span><span class='duration'>0.00373s</span></dd> + <script type="text/javascript">moveProgressBar('98.0');</script> + <dd class="example passed"><span class="passed_spec_name">should publish the reading as kanji if there is no kanji</span><span class='duration'>0.00386s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_87">Load Edict Entries on Demand - Can find an entry</dt> - <script type="text/javascript">moveProgressBar('96.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should find an entry in a JEDictionary</span></dd> - <script type="text/javascript">moveProgressBar('97.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to find an entry in an EUC edict file</span></dd> - <script type="text/javascript">moveProgressBar('97.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to find an entries in a JEDictionary</span></dd> +<div id="div_group_91" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_91" class="passed">JLDrill::KanjiProblem</dt> + <script type="text/javascript">moveProgressBar('98.3');</script> + <dd class="example passed"><span class="passed_spec_name">should have a question of kanji and answer of reading, definitions and hint</span><span class='duration'>0.00375s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_88">Load Edict Entries on Demand - Extra Edict tests</dt> - <script type="text/javascript">moveProgressBar('97.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should return nil from vocab() when index is out of range</span></dd> - <script type="text/javascript">moveProgressBar('98.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to load a Quiz from an Edict file</span></dd> - <script type="text/javascript">moveProgressBar('98.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to parse hacked JLPT files</span></dd> +<div id="div_group_92" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_92" class="passed">JLDrill::MeaningProblem</dt> + <script type="text/javascript">moveProgressBar('98.6');</script> + <dd class="example passed"><span class="passed_spec_name">should have a question of definitions and answer of kanji, readings and hint</span><span class='duration'>0.00368s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_89">Schedule Items Story - New items are scheduled from now</dt> - <script type="text/javascript">moveProgressBar('98.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should schedule difficulty 0 items 5 days from now</span></dd> - <script type="text/javascript">moveProgressBar('98.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should schedule new items from now even if there are scheduled items</span></dd> +<div id="div_group_93" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_93" class="passed">JLDrill::ProblemStatus</dt> + <script type="text/javascript">moveProgressBar('98.9');</script> + <dd class="example passed"><span class="passed_spec_name">should react sanely when empty</span><span class='duration'>0.00224s</span></dd> <script type="text/javascript">moveProgressBar('99.1');</script> - <dd class="spec passed"><span class="passed_spec_name">should set a maximum of the duration * 2 + 25%</span></dd> + <dd class="example passed"><span class="passed_spec_name">should create a meaning problem if is starts parsing a schedule without a problem type</span><span class='duration'>0.00312s</span></dd> <script type="text/javascript">moveProgressBar('99.4');</script> - <dd class="spec passed"><span class="passed_spec_name">should schedule a minimum of the last duration</span></dd> + <dd class="example passed"><span class="passed_spec_name">should create schedules for each problem type it recognizes</span><span class='duration'>0.01221s</span></dd> <script type="text/javascript">moveProgressBar('99.7');</script> - <dd class="spec passed"><span class="passed_spec_name">should vary the backoff depending on the previous duration</span></dd> + <dd class="example passed"><span class="passed_spec_name">should output to save file format</span><span class='duration'>0.00862s</span></dd> <script type="text/javascript">moveProgressBar('100.0');</script> - <dd class="spec passed"><span class="passed_spec_name">should be able to sort the review set items according to schedule</span></dd> + <dd class="example passed"><span class="passed_spec_name">should be able to clone</span><span class='duration'>0.01099s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_90">Context::Gtk::App</dt> +<div id="div_group_94" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_94" class="passed">Context::Gtk::App</dt> <script type="text/javascript">moveProgressBar('100.2');</script> - <dd class="spec passed"><span class="passed_spec_name">should start the Gtk main loop when run</span></dd> + <dd class="example passed"><span class="passed_spec_name">should start the Gtk main loop when run</span><span class='duration'>0.00110s</span></dd> <script type="text/javascript">moveProgressBar('100.5');</script> - <dd class="spec passed"><span class="passed_spec_name">should quit the Gtk main loop when quit</span></dd> + <dd class="example passed"><span class="passed_spec_name">should quit the Gtk main loop when quit</span><span class='duration'>0.00076s</span></dd> </dl> </div> -<div class="example_group"> - <dl> - <dt id="example_group_91">Context::Gtk::Widget</dt> +<div id="div_group_95" class="example_group passed"> + <dl style="margin-left: 0px;"> + <dt id="example_group_95" class="passed">Context::Gtk::Widget</dt> <script type="text/javascript">moveProgressBar('100.8');</script> - <dd class="spec passed"><span class="passed_spec_name">should keep track of the main Window</span></dd> + <dd class="example passed"><span class="passed_spec_name">should keep track of the main Window</span><span class='duration'>0.00190s</span></dd> </dl> </div> -<script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>7.738348 seconds</strong>";</script> -<script type="text/javascript">document.getElementById('totals').innerHTML = "353 examples, 0 failures";</script> +<script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>9.18132 seconds</strong>";</script> +<script type="text/javascript">document.getElementById('totals').innerHTML = "368 examples, 0 failures";</script> </div> </div> </body> </html>