wortsammler 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +10 -6
- data/changelog.md +13 -3
- data/lib/wortsammler/class.proolib.rb +1 -1
- data/lib/wortsammler/version.rb +1 -1
- data/resources/wortsammler.sty +57 -0
- data/spec/test_beautify.md +30 -0
- data/spec/test_beautify_reference.md +27 -0
- data/spec/test_mkindex_reference.txt +89 -0
- data/spec/wortsammler_spec.rb +95 -76
- data/testresults/wortsammler_testresults.html +269 -132
- data/testresults/wortsammler_testresults.log +122 -6
- data/wortsammler.gemspec +3 -3
- metadata +45 -69
@@ -286,198 +286,335 @@ a {
|
|
286
286
|
<dl style="margin-left: 0px;">
|
287
287
|
<dt id="example_group_1" class="passed">PandocBeautifier</dt>
|
288
288
|
<script type="text/javascript">moveProgressBar('1.4');</script>
|
289
|
-
<dd class="example passed"><span class="passed_spec_name">checks the availability of the right pandoc version</span><span class='duration'>0.
|
289
|
+
<dd class="example passed"><span class="passed_spec_name">checks the availability of the right pandoc version</span><span class='duration'>0.05058s</span></dd>
|
290
290
|
</dl>
|
291
291
|
</div>
|
292
292
|
<div id="div_group_2" class="example_group passed">
|
293
293
|
<dl style="margin-left: 0px;">
|
294
294
|
<dt id="example_group_2" class="passed">pdf utilities:</dt>
|
295
295
|
<script type="text/javascript">moveProgressBar('2.8');</script>
|
296
|
-
<dd class="example passed"><span class="passed_spec_name">adjusts the bounding box of a pdf file</span><span class='duration'>
|
296
|
+
<dd class="example passed"><span class="passed_spec_name">adjusts the bounding box of a pdf file</span><span class='duration'>34.33317s</span></dd>
|
297
297
|
<script type="text/javascript">moveProgressBar('4.2');</script>
|
298
|
-
<dd class="example passed"><span class="passed_spec_name">converts an excel sheet to pdf</span><span class='duration'>2.
|
299
|
-
<script type="text/javascript">moveProgressBar('5.
|
300
|
-
<dd class="example passed"><span class="passed_spec_name">converts a powerpoint to pdf</span><span class='duration'>
|
301
|
-
<script type="text/javascript">moveProgressBar('7.
|
302
|
-
<dd class="example passed"><span class="passed_spec_name">converts an excelsheet to cropped pdf</span><span class='duration'>3.
|
303
|
-
<script type="text/javascript">moveProgressBar('8.
|
304
|
-
<dd class="example passed"><span class="passed_spec_name">converts a powerpoint to cropped pdf</span><span class='duration'>
|
298
|
+
<dd class="example passed"><span class="passed_spec_name">converts an excel sheet to pdf</span><span class='duration'>2.93657s</span></dd>
|
299
|
+
<script type="text/javascript">moveProgressBar('5.6');</script>
|
300
|
+
<dd class="example passed"><span class="passed_spec_name">converts a powerpoint to pdf</span><span class='duration'>2.80529s</span></dd>
|
301
|
+
<script type="text/javascript">moveProgressBar('7.0');</script>
|
302
|
+
<dd class="example passed"><span class="passed_spec_name">converts an excelsheet to cropped pdf</span><span class='duration'>3.80671s</span></dd>
|
303
|
+
<script type="text/javascript">moveProgressBar('8.4');</script>
|
304
|
+
<dd class="example passed"><span class="passed_spec_name">converts a powerpoint to cropped pdf</span><span class='duration'>34.31829s</span></dd>
|
305
305
|
</dl>
|
306
306
|
</div>
|
307
307
|
<div id="div_group_3" class="example_group passed">
|
308
308
|
<dl style="margin-left: 0px;">
|
309
309
|
<dt id="example_group_3" class="passed">TraceableSet</dt>
|
310
|
-
<script type="text/javascript">moveProgressBar('
|
311
|
-
<dd class="example passed"><span class="passed_spec_name">should return a blank instance</span><span class='duration'>0.
|
312
|
-
<script type="text/javascript">moveProgressBar('11.
|
313
|
-
<dd class="example passed"><span class="passed_spec_name">allows to add Traceables</span><span class='duration'>0.
|
314
|
-
<script type="text/javascript">moveProgressBar('12.
|
315
|
-
<dd class="example passed"><span class="passed_spec_name">delivers the first of the duplicates</span><span class='duration'>0.
|
316
|
-
<script type="text/javascript">moveProgressBar('14.
|
317
|
-
<dd class="example passed"><span class="passed_spec_name">advertises duplicates</span><span class='duration'>0.
|
318
|
-
<script type="text/javascript">moveProgressBar('15.
|
319
|
-
<dd class="example passed"><span class="passed_spec_name">adertises undefined traceables</span><span class='duration'>0.
|
320
|
-
<script type="text/javascript">moveProgressBar('
|
321
|
-
<dd class="example passed"><span class="passed_spec_name">advertises all traceables</span><span class='duration'>0.
|
322
|
-
<script type="text/javascript">moveProgressBar('18.
|
323
|
-
<dd class="example passed"><span class="passed_spec_name">advertises a hash of supporting traces</span><span class='duration'>0.
|
324
|
-
<script type="text/javascript">moveProgressBar('
|
325
|
-
<dd class="example passed"><span class="passed_spec_name">advertises traceable ids of a particular category</span><span class='duration'>0.
|
326
|
-
<script type="text/javascript">moveProgressBar('21.
|
327
|
-
<dd class="example passed"><span class="passed_spec_name">advertises ttraceables of a particular category</span><span class='duration'>0.
|
328
|
-
<script type="text/javascript">moveProgressBar('22.
|
329
|
-
<dd class="example passed"><span class="passed_spec_name">merges traceables</span><span class='duration'>0.
|
330
|
-
<script type="text/javascript">moveProgressBar('
|
331
|
-
<dd class="example passed"><span class="passed_spec_name">exposes deleted Traceables</span><span class='duration'>0.
|
332
|
-
<script type="text/javascript">moveProgressBar('25.
|
333
|
-
<dd class="example passed"><span class="passed_spec_name">exposes added Traceables</span><span class='duration'>0.
|
334
|
-
<script type="text/javascript">moveProgressBar('
|
335
|
-
<dd class="example passed"><span class="passed_spec_name">exposes deleted Traceables of category</span><span class='duration'>0.
|
336
|
-
<script type="text/javascript">moveProgressBar('28.
|
337
|
-
<dd class="example passed"><span class="passed_spec_name">exposes added Traceables of category</span><span class='duration'>0.
|
338
|
-
<script type="text/javascript">moveProgressBar('
|
339
|
-
<dd class="example passed"><span class="passed_spec_name">exploses changed traceids as array of [Traceid, levensthein, diff_as_html]</span><span class='duration'>0.
|
340
|
-
<script type="text/javascript">moveProgressBar('
|
341
|
-
<dd class="example passed"><span class="passed_spec_name">exposes unchanged Traceables</span><span class='duration'>0.
|
342
|
-
<script type="text/javascript">moveProgressBar('32.
|
343
|
-
<dd class="example passed"><span class="passed_spec_name">can be marshalled to a file</span><span class='duration'>0.
|
344
|
-
<script type="text/javascript">moveProgressBar('
|
345
|
-
<dd class="example passed"><span class="passed_spec_name">can be dumped to a graphml file</span><span class='duration'>0.
|
310
|
+
<script type="text/javascript">moveProgressBar('9.8');</script>
|
311
|
+
<dd class="example passed"><span class="passed_spec_name">should return a blank instance</span><span class='duration'>0.00010s</span></dd>
|
312
|
+
<script type="text/javascript">moveProgressBar('11.2');</script>
|
313
|
+
<dd class="example passed"><span class="passed_spec_name">allows to add Traceables</span><span class='duration'>0.00011s</span></dd>
|
314
|
+
<script type="text/javascript">moveProgressBar('12.6');</script>
|
315
|
+
<dd class="example passed"><span class="passed_spec_name">delivers the first of the duplicates</span><span class='duration'>0.00010s</span></dd>
|
316
|
+
<script type="text/javascript">moveProgressBar('14.0');</script>
|
317
|
+
<dd class="example passed"><span class="passed_spec_name">advertises duplicates</span><span class='duration'>0.00015s</span></dd>
|
318
|
+
<script type="text/javascript">moveProgressBar('15.4');</script>
|
319
|
+
<dd class="example passed"><span class="passed_spec_name">adertises undefined traceables</span><span class='duration'>0.00018s</span></dd>
|
320
|
+
<script type="text/javascript">moveProgressBar('16.9');</script>
|
321
|
+
<dd class="example passed"><span class="passed_spec_name">advertises all traceables</span><span class='duration'>0.00007s</span></dd>
|
322
|
+
<script type="text/javascript">moveProgressBar('18.3');</script>
|
323
|
+
<dd class="example passed"><span class="passed_spec_name">advertises a hash of supporting traces</span><span class='duration'>0.00006s</span></dd>
|
324
|
+
<script type="text/javascript">moveProgressBar('19.7');</script>
|
325
|
+
<dd class="example passed"><span class="passed_spec_name">advertises traceable ids of a particular category</span><span class='duration'>0.00013s</span></dd>
|
326
|
+
<script type="text/javascript">moveProgressBar('21.1');</script>
|
327
|
+
<dd class="example passed"><span class="passed_spec_name">advertises ttraceables of a particular category</span><span class='duration'>0.00011s</span></dd>
|
328
|
+
<script type="text/javascript">moveProgressBar('22.5');</script>
|
329
|
+
<dd class="example passed"><span class="passed_spec_name">merges traceables</span><span class='duration'>0.00025s</span></dd>
|
330
|
+
<script type="text/javascript">moveProgressBar('23.9');</script>
|
331
|
+
<dd class="example passed"><span class="passed_spec_name">exposes deleted Traceables</span><span class='duration'>0.00009s</span></dd>
|
332
|
+
<script type="text/javascript">moveProgressBar('25.3');</script>
|
333
|
+
<dd class="example passed"><span class="passed_spec_name">exposes added Traceables</span><span class='duration'>0.00008s</span></dd>
|
334
|
+
<script type="text/javascript">moveProgressBar('26.7');</script>
|
335
|
+
<dd class="example passed"><span class="passed_spec_name">exposes deleted Traceables of category</span><span class='duration'>0.00007s</span></dd>
|
336
|
+
<script type="text/javascript">moveProgressBar('28.1');</script>
|
337
|
+
<dd class="example passed"><span class="passed_spec_name">exposes added Traceables of category</span><span class='duration'>0.00030s</span></dd>
|
338
|
+
<script type="text/javascript">moveProgressBar('29.5');</script>
|
339
|
+
<dd class="example passed"><span class="passed_spec_name">exploses changed traceids as array of [Traceid, levensthein, diff_as_html]</span><span class='duration'>0.01226s</span></dd>
|
340
|
+
<script type="text/javascript">moveProgressBar('30.9');</script>
|
341
|
+
<dd class="example passed"><span class="passed_spec_name">exposes unchanged Traceables</span><span class='duration'>0.00629s</span></dd>
|
342
|
+
<script type="text/javascript">moveProgressBar('32.3');</script>
|
343
|
+
<dd class="example passed"><span class="passed_spec_name">can be marshalled to a file</span><span class='duration'>0.00310s</span></dd>
|
344
|
+
<script type="text/javascript">moveProgressBar('33.8');</script>
|
345
|
+
<dd class="example passed"><span class="passed_spec_name">can be dumped to a graphml file</span><span class='duration'>0.01537s</span></dd>
|
346
346
|
</dl>
|
347
347
|
</div>
|
348
348
|
<div id="div_group_4" class="example_group passed">
|
349
349
|
<dl style="margin-left: 0px;">
|
350
350
|
<dt id="example_group_4" class="passed">Traceable</dt>
|
351
|
-
<script type="text/javascript">moveProgressBar('35.
|
352
|
-
<dd class="example passed"><span class="passed_spec_name">should == "id"</span><span class='duration'>0.
|
353
|
-
<script type="text/javascript">moveProgressBar('
|
354
|
-
<dd class="example passed"><span class="passed_spec_name">should == "origin"</span><span class='duration'>0.
|
355
|
-
<script type="text/javascript">moveProgressBar('38.
|
351
|
+
<script type="text/javascript">moveProgressBar('35.2');</script>
|
352
|
+
<dd class="example passed"><span class="passed_spec_name">should == "id"</span><span class='duration'>0.00011s</span></dd>
|
353
|
+
<script type="text/javascript">moveProgressBar('36.6');</script>
|
354
|
+
<dd class="example passed"><span class="passed_spec_name">should == "origin"</span><span class='duration'>0.00006s</span></dd>
|
355
|
+
<script type="text/javascript">moveProgressBar('38.0');</script>
|
356
356
|
<dd class="example passed"><span class="passed_spec_name">should == "alternative_id"</span><span class='duration'>0.00012s</span></dd>
|
357
|
-
<script type="text/javascript">moveProgressBar('
|
358
|
-
<dd class="example passed"><span class="passed_spec_name">should == "header_plain"</span><span class='duration'>0.
|
359
|
-
<script type="text/javascript">moveProgressBar('
|
360
|
-
<dd class="example passed"><span class="passed_spec_name">should == "\\textt{header_origin}"</span><span class='duration'>0.
|
361
|
-
<script type="text/javascript">moveProgressBar('42.
|
357
|
+
<script type="text/javascript">moveProgressBar('39.4');</script>
|
358
|
+
<dd class="example passed"><span class="passed_spec_name">should == "header_plain"</span><span class='duration'>0.00009s</span></dd>
|
359
|
+
<script type="text/javascript">moveProgressBar('40.8');</script>
|
360
|
+
<dd class="example passed"><span class="passed_spec_name">should == "\\textt{header_origin}"</span><span class='duration'>0.00008s</span></dd>
|
361
|
+
<script type="text/javascript">moveProgressBar('42.2');</script>
|
362
362
|
<dd class="example passed"><span class="passed_spec_name">should == "body_plain"</span><span class='duration'>0.00010s</span></dd>
|
363
|
-
<script type="text/javascript">moveProgressBar('
|
364
|
-
<dd class="example passed"><span class="passed_spec_name">should == ["contributes_to"]</span><span class='duration'>0.
|
365
|
-
<script type="text/javascript">moveProgressBar('45.
|
366
|
-
<dd class="example passed"><span class="passed_spec_name">should == "trace_orig"</span><span class='duration'>0.
|
367
|
-
<script type="text/javascript">moveProgressBar('
|
368
|
-
<dd class="example passed"><span class="passed_spec_name">should == "origin"</span><span class='duration'>0.
|
369
|
-
<script type="text/javascript">moveProgressBar('
|
370
|
-
<dd class="example passed"><span class="passed_spec_name">should == "category"</span><span class='duration'>0.
|
371
|
-
<script type="text/javascript">moveProgressBar('
|
372
|
-
<dd class="example passed"><span class="passed_spec_name">should == "info"</span><span class='duration'>0.
|
363
|
+
<script type="text/javascript">moveProgressBar('43.6');</script>
|
364
|
+
<dd class="example passed"><span class="passed_spec_name">should == ["contributes_to"]</span><span class='duration'>0.00008s</span></dd>
|
365
|
+
<script type="text/javascript">moveProgressBar('45.0');</script>
|
366
|
+
<dd class="example passed"><span class="passed_spec_name">should == "trace_orig"</span><span class='duration'>0.00007s</span></dd>
|
367
|
+
<script type="text/javascript">moveProgressBar('46.4');</script>
|
368
|
+
<dd class="example passed"><span class="passed_spec_name">should == "origin"</span><span class='duration'>0.00007s</span></dd>
|
369
|
+
<script type="text/javascript">moveProgressBar('47.8');</script>
|
370
|
+
<dd class="example passed"><span class="passed_spec_name">should == "category"</span><span class='duration'>0.00007s</span></dd>
|
371
|
+
<script type="text/javascript">moveProgressBar('49.2');</script>
|
372
|
+
<dd class="example passed"><span class="passed_spec_name">should == "info"</span><span class='duration'>0.00006s</span></dd>
|
373
373
|
</dl>
|
374
374
|
</div>
|
375
375
|
<div id="div_group_5" class="example_group passed">
|
376
376
|
<dl style="margin-left: 0px;">
|
377
377
|
<dt id="example_group_5" class="passed">Wortsammler generic issues</dt>
|
378
|
-
<script type="text/javascript">moveProgressBar('
|
379
|
-
<dd class="example passed"><span class="passed_spec_name">provides a help</span><span class='duration'>0.
|
380
|
-
<script type="text/javascript">moveProgressBar('52.
|
381
|
-
<dd class="example passed"><span class="passed_spec_name">runs silent</span><span class='duration'>0.
|
382
|
-
<script type="text/javascript">moveProgressBar('
|
383
|
-
<dd class="example passed"><span class="passed_spec_name">reports version numbers</span><span class='duration'>0.
|
384
|
-
<script type="text/javascript">moveProgressBar('
|
385
|
-
<dd class="example passed"><span class="passed_spec_name">turns on vervbose mode</span><span class='duration'>0.
|
386
|
-
<script type="text/javascript">moveProgressBar('
|
387
|
-
<dd class="example passed"><span class="passed_spec_name">can create a new project folder</span><span class='duration'>0.
|
388
|
-
<script type="text/javascript">moveProgressBar('
|
389
|
-
<dd class="example passed"><span class="passed_spec_name">does not initialize into an existing project folder</span><span class='duration'>0.
|
378
|
+
<script type="text/javascript">moveProgressBar('50.7');</script>
|
379
|
+
<dd class="example passed"><span class="passed_spec_name">provides a help</span><span class='duration'>0.67812s</span></dd>
|
380
|
+
<script type="text/javascript">moveProgressBar('52.1');</script>
|
381
|
+
<dd class="example passed"><span class="passed_spec_name">runs silent</span><span class='duration'>0.67815s</span></dd>
|
382
|
+
<script type="text/javascript">moveProgressBar('53.5');</script>
|
383
|
+
<dd class="example passed"><span class="passed_spec_name">reports version numbers</span><span class='duration'>0.74364s</span></dd>
|
384
|
+
<script type="text/javascript">moveProgressBar('54.9');</script>
|
385
|
+
<dd class="example passed"><span class="passed_spec_name">turns on vervbose mode</span><span class='duration'>0.68216s</span></dd>
|
386
|
+
<script type="text/javascript">moveProgressBar('56.3');</script>
|
387
|
+
<dd class="example passed"><span class="passed_spec_name">can create a new project folder</span><span class='duration'>0.63888s</span></dd>
|
388
|
+
<script type="text/javascript">moveProgressBar('57.7');</script>
|
389
|
+
<dd class="example passed"><span class="passed_spec_name">does not initialize into an existing project folder</span><span class='duration'>0.60810s</span></dd>
|
390
390
|
<script type="text/javascript">makeYellow('rspec-header');</script>
|
391
391
|
<script type="text/javascript">makeYellow('div_group_5');</script>
|
392
392
|
<script type="text/javascript">makeYellow('example_group_5');</script>
|
393
|
-
<script type="text/javascript">moveProgressBar('
|
393
|
+
<script type="text/javascript">moveProgressBar('59.1');</script>
|
394
394
|
<dd class="example not_implemented"><span class="not_implemented_spec_name">controls the pandoc options by document class (PENDING: implement test to control pandoc options by document class)</span></dd>
|
395
395
|
</dl>
|
396
396
|
</div>
|
397
397
|
<div id="div_group_6" class="example_group passed">
|
398
398
|
<dl style="margin-left: 0px;">
|
399
399
|
<dt id="example_group_6" class="passed">Wortsammler options validator</dt>
|
400
|
-
<script type="text/javascript">moveProgressBar('
|
401
|
-
<dd class="example passed"><span class="passed_spec_name">rejects no processing</span><span class='duration'>0.
|
400
|
+
<script type="text/javascript">moveProgressBar('60.5');</script>
|
401
|
+
<dd class="example passed"><span class="passed_spec_name">rejects no processing</span><span class='duration'>0.61870s</span></dd>
|
402
402
|
</dl>
|
403
403
|
</div>
|
404
404
|
<div id="div_group_7" class="example_group passed">
|
405
405
|
<dl style="margin-left: 0px;">
|
406
406
|
<dt id="example_group_7" class="passed">Wortsammler beautifier features</dt>
|
407
|
-
<script type="text/javascript">moveProgressBar('
|
408
|
-
<dd class="example passed"><span class="passed_spec_name">beautifies all markdown files in a folder</span><span class='duration'>0.
|
409
|
-
<script type="text/javascript">moveProgressBar('
|
410
|
-
<dd class="example passed"><span class="passed_spec_name">beautifies a single file</span><span class='duration'>0.
|
411
|
-
<script type="text/javascript">moveProgressBar('
|
412
|
-
<dd class="example passed"><span class="passed_spec_name">recognizes if the specified manifest file is a directory</span><span class='duration'>0.
|
413
|
-
<script type="text/javascript">moveProgressBar('
|
414
|
-
<dd class="example passed"><span class="passed_spec_name">beautifies input files in a manifest</span><span class='duration'>0.
|
415
|
-
<script type="text/javascript">moveProgressBar('
|
416
|
-
<dd class="example passed"><span class="passed_spec_name">claims missing input</span><span class='duration'>0.
|
417
|
-
<script type="text/javascript">moveProgressBar('
|
418
|
-
<dd class="example passed"><span class="passed_spec_name">claims undefined document path</span><span class='duration'>0.
|
407
|
+
<script type="text/javascript">moveProgressBar('61.9');</script>
|
408
|
+
<dd class="example passed"><span class="passed_spec_name">beautifies all markdown files in a folder</span><span class='duration'>0.95783s</span></dd>
|
409
|
+
<script type="text/javascript">moveProgressBar('63.3');</script>
|
410
|
+
<dd class="example passed"><span class="passed_spec_name">beautifies a single file</span><span class='duration'>0.64528s</span></dd>
|
411
|
+
<script type="text/javascript">moveProgressBar('64.7');</script>
|
412
|
+
<dd class="example passed"><span class="passed_spec_name">recognizes if the specified manifest file is a directory</span><span class='duration'>0.60224s</span></dd>
|
413
|
+
<script type="text/javascript">moveProgressBar('66.1');</script>
|
414
|
+
<dd class="example passed"><span class="passed_spec_name">beautifies input files in a manifest</span><span class='duration'>0.77817s</span></dd>
|
415
|
+
<script type="text/javascript">moveProgressBar('67.6');</script>
|
416
|
+
<dd class="example passed"><span class="passed_spec_name">claims missing input</span><span class='duration'>0.61138s</span></dd>
|
417
|
+
<script type="text/javascript">moveProgressBar('69.0');</script>
|
418
|
+
<dd class="example passed"><span class="passed_spec_name">claims undefined document path</span><span class='duration'>0.63362s</span></dd>
|
419
|
+
<script type="text/javascript">makeRed('rspec-header');</script>
|
420
|
+
<script type="text/javascript">makeRed('div_group_7');</script>
|
421
|
+
<script type="text/javascript">makeRed('example_group_7');</script>
|
422
|
+
<script type="text/javascript">moveProgressBar('70.4');</script>
|
423
|
+
<dd class="example failed">
|
424
|
+
<span class="failed_spec_name">creates a semantically unchanged markdown file</span>
|
425
|
+
<span class="duration">0.66532s</span>
|
426
|
+
<div class="failure" id="failure_1">
|
427
|
+
<div class="message"><pre>expected: "% Test Markdown\n% Bernhard Weichel\n% 1.12.2014\n\n# Test headlines\n\n# Head Leel 2\n\n# test fenced code blocks\n\n~~~~ {#codeblock}\n\nthis\n\n is\n\n codedblock\n~~~~\n\n~~~~ {#backtick_codeblock}\n\nthis\n\n is\n\n codedblock\n~~~~\n"
|
428
|
+
got: "---\nauthor:\n- Bernhard Weichel\ndate: '1.12.2014'\ntitle: Test Markdown\n...\n\n# Test headlines\n\n# Head Leel 2\n\n# test fenced code blocks\n\n``` {#codeblock}\n\nthis\n\n is\n\n codedblock\n```\n\n``` {#backtick_codeblock}\n\nthis\n\n is\n\n codedblock\n```\n" (using ==)
|
429
|
+
Diff:
|
430
|
+
@@ -1,6 +1,9 @@
|
431
|
+
-% Test Markdown
|
432
|
+
-% Bernhard Weichel
|
433
|
+
-% 1.12.2014
|
434
|
+
+---
|
435
|
+
+author:
|
436
|
+
+- Bernhard Weichel
|
437
|
+
+date: '1.12.2014'
|
438
|
+
+title: Test Markdown
|
439
|
+
+...
|
440
|
+
|
441
|
+
# Test headlines
|
442
|
+
|
443
|
+
|
444
|
+
|
445
|
+
|
446
|
+
@@ -8,21 +11,21 @@
|
447
|
+
|
448
|
+
# test fenced code blocks
|
449
|
+
|
450
|
+
-~~~~ {#codeblock}
|
451
|
+
+``` {#codeblock}
|
452
|
+
|
453
|
+
this
|
454
|
+
|
455
|
+
is
|
456
|
+
|
457
|
+
codedblock
|
458
|
+
-~~~~
|
459
|
+
+```
|
460
|
+
|
461
|
+
-~~~~ {#backtick_codeblock}
|
462
|
+
+``` {#backtick_codeblock}
|
463
|
+
|
464
|
+
this
|
465
|
+
|
466
|
+
is
|
467
|
+
|
468
|
+
codedblock
|
469
|
+
-~~~~
|
470
|
+
+```
|
471
|
+
</pre></div>
|
472
|
+
<div class="backtrace"><pre>./spec/wortsammler_spec.rb:142:in `block (2 levels) in <top (required)>'</pre></div>
|
473
|
+
<pre class="ruby"><code><span class="linenum">140</span> reference = File.open(referencefile).read
|
474
|
+
<span class="linenum">141</span> result = File.open(outputfile).read
|
475
|
+
<span class="offending"><span class="linenum">142</span> result.should == reference</span>
|
476
|
+
<span class="linenum">143</span> end
|
477
|
+
<span class="linenum">144</span>
|
478
|
+
<span class="linenum">145</span><span class="comment"># gem install syntax to get syntax highlighting</span></code></pre>
|
479
|
+
</div>
|
480
|
+
</dd>
|
419
481
|
</dl>
|
420
482
|
</div>
|
421
483
|
<div id="div_group_8" class="example_group passed">
|
422
484
|
<dl style="margin-left: 0px;">
|
423
485
|
<dt id="example_group_8" class="passed">Wortsammler conversion</dt>
|
424
|
-
<script type="text/javascript">moveProgressBar('71.
|
425
|
-
<dd class="example passed"><span class="passed_spec_name">converts a single file to output format</span><span class='duration'>4.
|
426
|
-
<script type="text/javascript">moveProgressBar('
|
427
|
-
<dd class="example passed"><span class="passed_spec_name">converts a single file to default output format</span><span class='duration'>4.
|
428
|
-
<script type="text/javascript">moveProgressBar('74.
|
429
|
-
<dd class="example passed"><span class="passed_spec_name">handles chapters up to 6 levels</span><span class='duration'>
|
430
|
-
<script type="text/javascript">moveProgressBar('
|
431
|
-
<dd class="example passed"><span class="passed_spec_name">handles lists up to 9 levels</span><span class='duration'>4.
|
432
|
-
<script type="text/javascript">moveProgressBar('77.
|
433
|
-
<dd class="example passed"><span class="passed_spec_name">converts all files within a folder to output format</span><span class='duration'>0.
|
434
|
-
<script type="text/javascript">moveProgressBar('78.
|
435
|
-
<dd class="example passed"><span class="passed_spec_name">processes a manifest</span><span class='duration'>
|
436
|
-
<script type="text/javascript">moveProgressBar('80.
|
437
|
-
<dd class="example passed"><span class="passed_spec_name">investigates the existence of a manifest</span><span class='duration'>0.
|
438
|
-
<script type="text/javascript">moveProgressBar('81.
|
439
|
-
<dd class="example passed"><span class="passed_spec_name">extracts the traceables according to a manifest</span><span class='duration'>0.
|
440
|
-
<script type="text/javascript">moveProgressBar('
|
441
|
-
<dd class="example passed"><span class="passed_spec_name">extracts plantuml according to a manifest</span><span class='duration'>
|
442
|
-
<script type="text/javascript">moveProgressBar('84.
|
443
|
-
<dd class="example passed"><span class="passed_spec_name">extracts plantuml from a single file</span><span class='duration'>
|
444
|
-
<script type="text/javascript">moveProgressBar('85.
|
445
|
-
<dd class="example passed"><span class="passed_spec_name">extracts plantuml from a folder</span><span class='duration'>
|
446
|
-
<script type="text/javascript">makeYellow('rspec-header');</script>
|
486
|
+
<script type="text/javascript">moveProgressBar('71.8');</script>
|
487
|
+
<dd class="example passed"><span class="passed_spec_name">converts a single file to output format</span><span class='duration'>4.62011s</span></dd>
|
488
|
+
<script type="text/javascript">moveProgressBar('73.2');</script>
|
489
|
+
<dd class="example passed"><span class="passed_spec_name">converts a single file to default output format</span><span class='duration'>4.22926s</span></dd>
|
490
|
+
<script type="text/javascript">moveProgressBar('74.6');</script>
|
491
|
+
<dd class="example passed"><span class="passed_spec_name">handles chapters up to 6 levels</span><span class='duration'>8.37273s</span></dd>
|
492
|
+
<script type="text/javascript">moveProgressBar('76.0');</script>
|
493
|
+
<dd class="example passed"><span class="passed_spec_name">handles lists up to 9 levels</span><span class='duration'>4.30039s</span></dd>
|
494
|
+
<script type="text/javascript">moveProgressBar('77.4');</script>
|
495
|
+
<dd class="example passed"><span class="passed_spec_name">converts all files within a folder to output format</span><span class='duration'>0.70828s</span></dd>
|
496
|
+
<script type="text/javascript">moveProgressBar('78.8');</script>
|
497
|
+
<dd class="example passed"><span class="passed_spec_name">processes a manifest</span><span class='duration'>13.37381s</span></dd>
|
498
|
+
<script type="text/javascript">moveProgressBar('80.2');</script>
|
499
|
+
<dd class="example passed"><span class="passed_spec_name">investigates the existence of a manifest</span><span class='duration'>0.62861s</span></dd>
|
500
|
+
<script type="text/javascript">moveProgressBar('81.6');</script>
|
501
|
+
<dd class="example passed"><span class="passed_spec_name">extracts the traceables according to a manifest</span><span class='duration'>0.79036s</span></dd>
|
502
|
+
<script type="text/javascript">moveProgressBar('83.0');</script>
|
503
|
+
<dd class="example passed"><span class="passed_spec_name">extracts plantuml according to a manifest</span><span class='duration'>1.50095s</span></dd>
|
504
|
+
<script type="text/javascript">moveProgressBar('84.5');</script>
|
505
|
+
<dd class="example passed"><span class="passed_spec_name">extracts plantuml from a single file</span><span class='duration'>4.21807s</span></dd>
|
506
|
+
<script type="text/javascript">moveProgressBar('85.9');</script>
|
507
|
+
<dd class="example passed"><span class="passed_spec_name">extracts plantuml from a folder</span><span class='duration'>4.62391s</span></dd>
|
447
508
|
<script type="text/javascript">makeYellow('div_group_8');</script>
|
448
509
|
<script type="text/javascript">makeYellow('example_group_8');</script>
|
449
|
-
<script type="text/javascript">moveProgressBar('87.
|
510
|
+
<script type="text/javascript">moveProgressBar('87.3');</script>
|
450
511
|
<dd class="example not_implemented"><span class="not_implemented_spec_name">processes snippets (PENDING: Test not yet implemented)</span></dd>
|
451
|
-
<script type="text/javascript">makeYellow('rspec-header');</script>
|
452
512
|
<script type="text/javascript">makeYellow('div_group_8');</script>
|
453
513
|
<script type="text/javascript">makeYellow('example_group_8');</script>
|
454
|
-
<script type="text/javascript">moveProgressBar('88.
|
514
|
+
<script type="text/javascript">moveProgressBar('88.7');</script>
|
455
515
|
<dd class="example not_implemented"><span class="not_implemented_spec_name">handles undefined snippets (PENDING: Test not yet implemented)</span></dd>
|
456
|
-
<script type="text/javascript">moveProgressBar('90.
|
457
|
-
<dd class="example passed"><span class="passed_spec_name">runs the rake file in the sample document</span><span class='duration'>
|
458
|
-
<script type="text/javascript">moveProgressBar('91.
|
459
|
-
<dd class="example passed"><span class="passed_spec_name">compiles all documents</span><span class='duration'>0.
|
516
|
+
<script type="text/javascript">moveProgressBar('90.1');</script>
|
517
|
+
<dd class="example passed"><span class="passed_spec_name">runs the rake file in the sample document</span><span class='duration'>14.01860s</span></dd>
|
518
|
+
<script type="text/javascript">moveProgressBar('91.5');</script>
|
519
|
+
<dd class="example passed"><span class="passed_spec_name">compiles all documents</span><span class='duration'>0.00020s</span></dd>
|
460
520
|
</dl>
|
461
521
|
</div>
|
462
522
|
<div id="div_group_9" class="example_group passed">
|
463
523
|
<dl style="margin-left: 0px;">
|
464
524
|
<dt id="example_group_9" class="passed">Wortsammler syntax extensions</dt>
|
465
|
-
<script type="text/javascript">moveProgressBar('92.
|
466
|
-
<dd class="example passed"><span class="passed_spec_name">[RS_Comp_012] supports embedded images</span><span class='duration'>
|
467
|
-
<script type="text/javascript">moveProgressBar('94.
|
468
|
-
<dd class="example passed"><span class="passed_spec_name">TC_EXP_001 expands expected results from testcases</span><span class='duration'>0.
|
525
|
+
<script type="text/javascript">moveProgressBar('92.9');</script>
|
526
|
+
<dd class="example passed"><span class="passed_spec_name">[RS_Comp_012] supports embedded images</span><span class='duration'>13.34941s</span></dd>
|
527
|
+
<script type="text/javascript">moveProgressBar('94.3');</script>
|
528
|
+
<dd class="example passed"><span class="passed_spec_name">TC_EXP_001 expands expected results from testcases</span><span class='duration'>0.00220s</span></dd>
|
469
529
|
<script type="text/javascript">moveProgressBar('95.7');</script>
|
470
|
-
<dd class="example passed"><span class="passed_spec_name">TC_EXP_002 removes plantuml sources</span><span class='duration'>0.
|
530
|
+
<dd class="example passed"><span class="passed_spec_name">TC_EXP_002 removes plantuml sources</span><span class='duration'>0.00195s</span></dd>
|
531
|
+
<script type="text/javascript">makeRed('div_group_9');</script>
|
532
|
+
<script type="text/javascript">makeRed('example_group_9');</script>
|
471
533
|
<script type="text/javascript">moveProgressBar('97.1');</script>
|
472
|
-
<dd class="example
|
534
|
+
<dd class="example failed">
|
535
|
+
<span class="failed_spec_name">TC_EXP_003 handles Markdown inlays</span>
|
536
|
+
<span class="duration">0.70553s</span>
|
537
|
+
<div class="failure" id="failure_2">
|
538
|
+
<div class="message"><pre>expected: "- this is headline\n - this is TC\\_EXP\\_003\\_1\n - this is md TC\\_EXP\\_003\\_2\n - this is md TC\\_EXP\\_003\\_2\n\n\n\nTHIS IS HEADLINE\n\n\n\n now verbatim by indent inclucde TC_EXP_003_1.md\n\n ## this is TC_EXP_003_1\n \n we now include TC_EXP_003_2 from TC_EXP_003_1\n \n ## this is md TC_EXP_003_2\n \n - hugo\n \n - hugo2\n \n end of TC_EXP_003_2\n \n end of TC_EXP_003_1\n\nnow full format inclucde TC_EXP_003_1.md\n\n\nthis is TC_EXP_003_1\n\nwe now include TC_EXP_003_2 from TC_EXP_003_1\n\n\nthis is md TC_EXP_003_2\n\n - hugo\n\n - hugo2\n\nend of TC_EXP_003_2\n\nend of TC_EXP_003_1\n\nnow full format inclucde TC_EXP_003_2.md\n\n\nthis is md TC_EXP_003_2\n\n - hugo\n\n - hugo2\n\nend of TC_EXP_003_2\n"
|
539
|
+
got: "- this is headline\n - this is TC\\_EXP\\_003\\_1\n - this is md TC\\_EXP\\_003\\_2\n - this is md TC\\_EXP\\_003\\_2\n\n\nthis is headline\n================\n\n\n now verbatim by indent inclucde TC_EXP_003_1.md\n\n ## this is TC_EXP_003_1\n \n we now include TC_EXP_003_2 from TC_EXP_003_1\n \n ## this is md TC_EXP_003_2\n \n - hugo\n \n - hugo2\n \n end of TC_EXP_003_2\n \n end of TC_EXP_003_1\n\nnow full format inclucde TC_EXP_003_1.md\n\nthis is TC_EXP_003_1\n--------------------\n\nwe now include TC_EXP_003_2 from TC_EXP_003_1\n\nthis is md TC_EXP_003_2\n-----------------------\n\n - hugo\n\n - hugo2\n\nend of TC_EXP_003_2\n\nend of TC_EXP_003_1\n\nnow full format inclucde TC_EXP_003_2.md\n\nthis is md TC_EXP_003_2\n-----------------------\n\n - hugo\n\n - hugo2\n\nend of TC_EXP_003_2\n" (using ==)
|
540
|
+
Diff:
|
541
|
+
|
542
|
+
|
543
|
+
@@ -4,11 +4,10 @@
|
544
|
+
- this is md TC\_EXP\_003\_2
|
545
|
+
|
546
|
+
|
547
|
+
+this is headline
|
548
|
+
+================
|
549
|
+
|
550
|
+
-THIS IS HEADLINE
|
551
|
+
|
552
|
+
-
|
553
|
+
-
|
554
|
+
now verbatim by indent inclucde TC_EXP_003_1.md
|
555
|
+
|
556
|
+
## this is TC_EXP_003_1
|
557
|
+
|
558
|
+
|
559
|
+
|
560
|
+
@@ -27,13 +26,13 @@
|
561
|
+
|
562
|
+
now full format inclucde TC_EXP_003_1.md
|
563
|
+
|
564
|
+
-
|
565
|
+
this is TC_EXP_003_1
|
566
|
+
+--------------------
|
567
|
+
|
568
|
+
we now include TC_EXP_003_2 from TC_EXP_003_1
|
569
|
+
|
570
|
+
-
|
571
|
+
this is md TC_EXP_003_2
|
572
|
+
+-----------------------
|
573
|
+
|
574
|
+
- hugo
|
575
|
+
|
576
|
+
|
577
|
+
@@ -45,8 +44,8 @@
|
578
|
+
|
579
|
+
now full format inclucde TC_EXP_003_2.md
|
580
|
+
|
581
|
+
-
|
582
|
+
this is md TC_EXP_003_2
|
583
|
+
+-----------------------
|
584
|
+
|
585
|
+
- hugo
|
586
|
+
|
587
|
+
</pre></div>
|
588
|
+
<div class="backtrace"><pre>./spec/wortsammler_spec.rb:439:in `block (2 levels) in <top (required)>'</pre></div>
|
589
|
+
<pre class="ruby"><code><span class="linenum">437</span> ref = File.open("#{specdir}/tc_exp_003_reference.txt").read
|
590
|
+
<span class="linenum">438</span> result = File.open("#{tempdir}/#{mdfile}.txt").read
|
591
|
+
<span class="offending"><span class="linenum">439</span> ref.should==result</span>
|
592
|
+
<span class="linenum">440</span> end
|
593
|
+
<span class="linenum">441</span>
|
594
|
+
<span class="linenum">442</span><span class="comment"># gem install syntax to get syntax highlighting</span></code></pre>
|
595
|
+
</div>
|
596
|
+
</dd>
|
473
597
|
<script type="text/javascript">moveProgressBar('98.5');</script>
|
474
|
-
<dd class="example
|
598
|
+
<dd class="example failed">
|
599
|
+
<span class="failed_spec_name">generates an index</span>
|
600
|
+
<span class="duration">4.39002s</span>
|
601
|
+
<div class="failure" id="failure_3">
|
602
|
+
<div class="message"><pre>invalid byte sequence in UTF-8</pre></div>
|
603
|
+
<div class="backtrace"><pre>./spec/wortsammler_spec.rb:447:in `block (2 levels) in <top (required)>'</pre></div>
|
604
|
+
<pre class="ruby"><code><span class="linenum">445</span> ref = File.open("#{specdir}/test_mkindex_reference.txt").read
|
605
|
+
<span class="linenum">446</span> result = File.open("#{testoutput}/test_mkindex.txt").read
|
606
|
+
<span class="offending"><span class="linenum">447</span> ref.should==result</span>
|
607
|
+
<span class="linenum">448</span> end
|
608
|
+
<span class="linenum">449</span>
|
609
|
+
<span class="linenum">450</span><span class="comment"># gem install syntax to get syntax highlighting</span></code></pre>
|
610
|
+
</div>
|
611
|
+
</dd>
|
475
612
|
<script type="text/javascript">moveProgressBar('100.0');</script>
|
476
|
-
<dd class="example passed"><span class="passed_spec_name">reports TeX messages</span><span class='duration'>4.
|
613
|
+
<dd class="example passed"><span class="passed_spec_name">reports TeX messages</span><span class='duration'>4.29977s</span></dd>
|
477
614
|
</dl>
|
478
615
|
</div>
|
479
|
-
<script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>
|
480
|
-
<script type="text/javascript">document.getElementById('totals').innerHTML = "
|
616
|
+
<script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>171.99423 seconds</strong>";</script>
|
617
|
+
<script type="text/javascript">document.getElementById('totals').innerHTML = "71 examples, 3 failures, 3 pending";</script>
|
481
618
|
</div>
|
482
619
|
</div>
|
483
620
|
</body>
|