docgenerator 2.1.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +7 -0
  2. data/examples/creole_example.rb +0 -1
  3. data/examples/creole_example_new_plugin.rb +51 -0
  4. data/examples/creole_example_tabular.rb +3 -1
  5. data/examples/wiki2docgenerator_example.rb +2 -2
  6. data/lib/creole/creole2doc.rb +697 -680
  7. data/lib/creole/creole_characters.rb +90 -26
  8. data/lib/creole/creole_inclusion_and_plugins.rb +25 -43
  9. data/lib/creole/creole_inclusions.rb +87 -75
  10. data/lib/creole/creole_placeholder.rb +87 -89
  11. data/lib/creole/creole_plugins.rb +149 -117
  12. data/lib/creole/creole_tabular.rb +247 -141
  13. data/lib/creole/plugins/todonotes.rb +48 -48
  14. data/lib/docgenerator/characters.rb +106 -8
  15. data/lib/docgenerator/compatibility_v1.rb +7 -1
  16. data/lib/docgenerator/document.rb +34 -19
  17. data/lib/docgenerator/element.rb +1 -0
  18. data/lib/docgenerator/element_meta.rb +1 -1
  19. data/lib/docgenerator/elements.rb +594 -535
  20. data/lib/docgenerator/environments.rb +131 -99
  21. data/lib/docgenerator/index.rb +110 -0
  22. data/lib/docgenerator/lists.rb +2 -1
  23. data/lib/docgenerator/packages/caption.rb +32 -34
  24. data/lib/docgenerator/packages/hyperref.rb +1 -0
  25. data/lib/docgenerator/packages/multicol.rb +3 -2
  26. data/lib/docgenerator/packages/pdfpages.rb +71 -20
  27. data/lib/docgenerator/packages/scrpage2.rb +99 -142
  28. data/lib/docgenerator/packages/url.rb +75 -81
  29. data/lib/docgenerator/sections.rb +98 -98
  30. data/lib/docgenerator/standard.rb +8 -1
  31. data/lib/docgenerator/tabular.rb +44 -25
  32. data/lib/docgenerator/templates/docgenerator_template.yaml +28 -0
  33. data/lib/docgenerator/version.rb +146 -0
  34. data/lib/docgenerator.rb +20 -15
  35. data/meta_test_and_doc/build_doc.rb +39 -10
  36. data/meta_test_and_doc/build_test.rb +34 -12
  37. data/meta_test_and_doc/manpages/characters.rb +452 -20
  38. data/meta_test_and_doc/manpages/elementlist.rb +304 -0
  39. data/meta_test_and_doc/manpages/elements.rb +305 -42
  40. data/meta_test_and_doc/manpages/others.rb +403 -0
  41. data/meta_test_and_doc/manpages/pdfpages.rb +117 -18
  42. data/meta_test_and_doc/manpages/readme.rdoc +3 -1
  43. data/meta_test_and_doc/manpages/scrpage2.rb +0 -80
  44. data/meta_test_and_doc/manpages/tables.rb +6 -6
  45. data/readme.rdoc +11 -120
  46. data/unittest/expected/test_comment.html +1 -0
  47. data/unittest/expected/test_comment.latex +5 -0
  48. data/unittest/expected/test_comment_complex.html +3 -0
  49. data/unittest/expected/test_comment_complex.latex +15 -0
  50. data/unittest/expected_creole/test_creole_characters_all.html +6 -5
  51. data/unittest/expected_creole/test_creole_characters_all.latex +10 -8
  52. data/unittest/expected_creole/test_creole_creole1.0test.latex +5 -5
  53. data/unittest/expected_creole/test_creole_input.normsource +11 -9
  54. data/unittest/expected_creole/test_creole_list_ul.normsource +57 -51
  55. data/unittest/expected_creole/test_creole_list_ulul_without_ul.html +6 -0
  56. data/unittest/expected_creole/test_creole_list_ulul_without_ul.latex +12 -0
  57. data/unittest/expected_creole/test_creole_paragraphs.normsource +12 -10
  58. data/unittest/expected_creole/test_creole_pictures.latex +2 -2
  59. data/unittest/expected_creole/test_creole_pictures_css.latex +2 -2
  60. data/unittest/expected_creole/test_creole_pictures_imgclass.latex +2 -2
  61. data/unittest/expected_creole/test_creole_pictures_width.latex +1 -1
  62. data/unittest/expected_creole/test_creole_tabular.latex +3 -3
  63. data/unittest/expected_creole/test_creole_tabular_creole.latex +2 -2
  64. data/unittest/expected_creole/test_creole_tabular_css.latex +3 -3
  65. data/unittest/expected_creole/test_creole_tabular_row_parameters.latex +22 -0
  66. data/unittest/expected_templates/test_standalone.tex +34 -0
  67. data/unittest/expected_wikimedia/test_wiki_picture.latex +12 -12
  68. data/unittest/unittest_creole.rb +22 -3
  69. data/unittest/unittest_creole_tabular.rb +34 -1
  70. data/unittest/unittest_docgenerator.rb +46 -3
  71. data/unittest/unittest_docgenerator_characters.rb +527 -82
  72. data/unittest/unittest_templates.rb +1 -1
  73. metadata +149 -108
@@ -1,11 +1,7 @@
1
1
  #encoding: utf-8
2
-
3
2
  =begin rdoc
4
- Test generated by build_test.rb 2012-06-16
5
-
6
- This is not a 'real' test unit.
7
- The tests are created with build_test.rb:
8
- 1) Each Element is taken and field.
3
+ Copy of meta_test_and_doc/unittest/unittest_characters.rb
4
+ * Test generated by build_test.rb 2015-03-11
9
5
  =end
10
6
 
11
7
  gem 'test-unit'
@@ -61,7 +57,6 @@ This may include warnings for wrong content format...
61
57
  The following messages are expected:
62
58
  --- []
63
59
 
64
-
65
60
  =end
66
61
  def test_element_docgenerator_characters_shy_log
67
62
  assert_equal(
@@ -142,6 +137,308 @@ Test Docgenerator::Characters::Shy#to_creole.
142
137
  end #test_element_docgenerator_characters_shy_creole
143
138
  end #Test_element_docgenerator_characters_shy
144
139
  =begin rdoc
140
+ Test Docgenerator::Characters::ZeroWidthSpace.
141
+ =end
142
+ class Test_element_docgenerator_characters_zerowidthspace < Test::Unit::TestCase
143
+ def self.startup()
144
+ @@log = Log4r::Logger.new('zerowidthspace', Log4r::INFO)
145
+ @@log.outputters = @@logoutputter = ArrayOutputter.new('xx')
146
+ @@el = Docgenerator::Characters::ZeroWidthSpace.new(:log => @@log)
147
+
148
+ #element allows no content
149
+ #Store log messages
150
+ @@messages = @@logoutputter.flush
151
+ end #self.startup()
152
+ =begin rdoc
153
+ Check messages from logger.
154
+ This may include warnings for wrong content format...
155
+
156
+ The following messages are expected:
157
+ --- []
158
+
159
+ =end
160
+ def test_element_docgenerator_characters_zerowidthspace_log
161
+ assert_equal(
162
+ [],
163
+ @@messages
164
+ )
165
+ end #test_element_docgenerator_characters_zerowidthspace_log
166
+
167
+ =begin
168
+ Test Docgenerator::Characters::ZeroWidthSpace#to_latex.
169
+ =end
170
+ def test_element_docgenerator_characters_zerowidthspace_latex()
171
+ assert_equal(
172
+ "\"\"",
173
+ @@el.to_latex( :log => @@log).encode('utf-8')
174
+ )
175
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
176
+ end #test_element_docgenerator_characters_zerowidthspace_latex
177
+ =begin
178
+ Test Docgenerator::Characters::ZeroWidthSpace#to_html.
179
+ =end
180
+ def test_element_docgenerator_characters_zerowidthspace_html()
181
+ assert_equal(
182
+ "&#8203;",
183
+ @@el.to_html( :log => @@log).encode('utf-8')
184
+ )
185
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
186
+ end #test_element_docgenerator_characters_zerowidthspace_html
187
+ =begin
188
+ Test Docgenerator::Characters::ZeroWidthSpace#to_context.
189
+ =end
190
+ def test_element_docgenerator_characters_zerowidthspace_context()
191
+ assert_equal(
192
+ "\\zerowidthspace{}",
193
+ @@el.to_context( :log => @@log).encode('utf-8')
194
+ )
195
+ #Check messages from Docgenerator::Characters::ZeroWidthSpace#to_context.
196
+ assert_equal([
197
+ "ERROR zerowidthspace: Missing output routine for ConTeXt, use \\zerowidthspace (<Docgenerator::Characters::ZeroWidthSpace>)\n"
198
+ ], @@logoutputter.flush
199
+ )
200
+
201
+ end #test_element_docgenerator_characters_zerowidthspace_context
202
+ =begin
203
+ Test Docgenerator::Characters::ZeroWidthSpace#to_text.
204
+ =end
205
+ def test_element_docgenerator_characters_zerowidthspace_text()
206
+ assert_equal(
207
+ "",
208
+ @@el.to_text( :log => @@log).encode('utf-8')
209
+ )
210
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
211
+ end #test_element_docgenerator_characters_zerowidthspace_text
212
+ =begin
213
+ Test Docgenerator::Characters::ZeroWidthSpace#to_wiki.
214
+ =end
215
+ def test_element_docgenerator_characters_zerowidthspace_wiki()
216
+ assert_equal(
217
+ "\n",
218
+ @@el.to_wiki( :log => @@log).encode('utf-8')
219
+ )
220
+ #Check messages from Docgenerator::Characters::ZeroWidthSpace#to_wiki.
221
+ assert_equal([
222
+ "ERROR zerowidthspace: Missing output routine for Wiki (<Docgenerator::Characters::ZeroWidthSpace>)\n"
223
+ ], @@logoutputter.flush
224
+ )
225
+
226
+ end #test_element_docgenerator_characters_zerowidthspace_wiki
227
+ =begin
228
+ Test Docgenerator::Characters::ZeroWidthSpace#to_creole.
229
+ =end
230
+ def test_element_docgenerator_characters_zerowidthspace_creole()
231
+ assert_equal(
232
+ "\n",
233
+ @@el.to_creole( :log => @@log).encode('utf-8')
234
+ )
235
+ #Check messages from Docgenerator::Characters::ZeroWidthSpace#to_creole.
236
+ assert_equal([
237
+ "ERROR zerowidthspace: Missing output routine for creole (<Docgenerator::Characters::ZeroWidthSpace>)\n"
238
+ ], @@logoutputter.flush
239
+ )
240
+
241
+ end #test_element_docgenerator_characters_zerowidthspace_creole
242
+ end #Test_element_docgenerator_characters_zerowidthspace
243
+ =begin rdoc
244
+ Test Docgenerator::Characters::Thinsp.
245
+ =end
246
+ class Test_element_docgenerator_characters_thinsp < Test::Unit::TestCase
247
+ def self.startup()
248
+ @@log = Log4r::Logger.new('thinsp', Log4r::INFO)
249
+ @@log.outputters = @@logoutputter = ArrayOutputter.new('xx')
250
+ @@el = Docgenerator::Characters::Thinsp.new(:log => @@log)
251
+
252
+ #element allows no content
253
+ #Store log messages
254
+ @@messages = @@logoutputter.flush
255
+ end #self.startup()
256
+ =begin rdoc
257
+ Check messages from logger.
258
+ This may include warnings for wrong content format...
259
+
260
+ The following messages are expected:
261
+ --- []
262
+
263
+ =end
264
+ def test_element_docgenerator_characters_thinsp_log
265
+ assert_equal(
266
+ [],
267
+ @@messages
268
+ )
269
+ end #test_element_docgenerator_characters_thinsp_log
270
+
271
+ =begin
272
+ Test Docgenerator::Characters::Thinsp#to_latex.
273
+ =end
274
+ def test_element_docgenerator_characters_thinsp_latex()
275
+ assert_equal(
276
+ "\\,",
277
+ @@el.to_latex( :log => @@log).encode('utf-8')
278
+ )
279
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
280
+ end #test_element_docgenerator_characters_thinsp_latex
281
+ =begin
282
+ Test Docgenerator::Characters::Thinsp#to_html.
283
+ =end
284
+ def test_element_docgenerator_characters_thinsp_html()
285
+ assert_equal(
286
+ "&thinsp;",
287
+ @@el.to_html( :log => @@log).encode('utf-8')
288
+ )
289
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
290
+ end #test_element_docgenerator_characters_thinsp_html
291
+ =begin
292
+ Test Docgenerator::Characters::Thinsp#to_context.
293
+ =end
294
+ def test_element_docgenerator_characters_thinsp_context()
295
+ assert_equal(
296
+ "\\thinsp{}",
297
+ @@el.to_context( :log => @@log).encode('utf-8')
298
+ )
299
+ #Check messages from Docgenerator::Characters::Thinsp#to_context.
300
+ assert_equal([
301
+ "ERROR thinsp: Missing output routine for ConTeXt, use \\thinsp (<Docgenerator::Characters::Thinsp>)\n"
302
+ ], @@logoutputter.flush
303
+ )
304
+
305
+ end #test_element_docgenerator_characters_thinsp_context
306
+ =begin
307
+ Test Docgenerator::Characters::Thinsp#to_text.
308
+ =end
309
+ def test_element_docgenerator_characters_thinsp_text()
310
+ assert_equal(
311
+ "",
312
+ @@el.to_text( :log => @@log).encode('utf-8')
313
+ )
314
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
315
+ end #test_element_docgenerator_characters_thinsp_text
316
+ =begin
317
+ Test Docgenerator::Characters::Thinsp#to_wiki.
318
+ =end
319
+ def test_element_docgenerator_characters_thinsp_wiki()
320
+ assert_equal(
321
+ "\n",
322
+ @@el.to_wiki( :log => @@log).encode('utf-8')
323
+ )
324
+ #Check messages from Docgenerator::Characters::Thinsp#to_wiki.
325
+ assert_equal([
326
+ "ERROR thinsp: Missing output routine for Wiki (<Docgenerator::Characters::Thinsp>)\n"
327
+ ], @@logoutputter.flush
328
+ )
329
+
330
+ end #test_element_docgenerator_characters_thinsp_wiki
331
+ =begin
332
+ Test Docgenerator::Characters::Thinsp#to_creole.
333
+ =end
334
+ def test_element_docgenerator_characters_thinsp_creole()
335
+ assert_equal(
336
+ "{{thinsp}}",
337
+ @@el.to_creole( :log => @@log).encode('utf-8')
338
+ )
339
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
340
+ end #test_element_docgenerator_characters_thinsp_creole
341
+ end #Test_element_docgenerator_characters_thinsp
342
+ =begin rdoc
343
+ Test Docgenerator::Characters::Wbr.
344
+ =end
345
+ class Test_element_docgenerator_characters_wbr < Test::Unit::TestCase
346
+ def self.startup()
347
+ @@log = Log4r::Logger.new('wbr', Log4r::INFO)
348
+ @@log.outputters = @@logoutputter = ArrayOutputter.new('xx')
349
+ @@el = Docgenerator::Characters::Wbr.new(:log => @@log)
350
+
351
+ #element allows no content
352
+ #Store log messages
353
+ @@messages = @@logoutputter.flush
354
+ end #self.startup()
355
+ =begin rdoc
356
+ Check messages from logger.
357
+ This may include warnings for wrong content format...
358
+
359
+ The following messages are expected:
360
+ --- []
361
+
362
+ =end
363
+ def test_element_docgenerator_characters_wbr_log
364
+ assert_equal(
365
+ [],
366
+ @@messages
367
+ )
368
+ end #test_element_docgenerator_characters_wbr_log
369
+
370
+ =begin
371
+ Test Docgenerator::Characters::Wbr#to_latex.
372
+ =end
373
+ def test_element_docgenerator_characters_wbr_latex()
374
+ assert_equal(
375
+ "\"\"",
376
+ @@el.to_latex( :log => @@log).encode('utf-8')
377
+ )
378
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
379
+ end #test_element_docgenerator_characters_wbr_latex
380
+ =begin
381
+ Test Docgenerator::Characters::Wbr#to_html.
382
+ =end
383
+ def test_element_docgenerator_characters_wbr_html()
384
+ assert_equal(
385
+ "&wbr;",
386
+ @@el.to_html( :log => @@log).encode('utf-8')
387
+ )
388
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
389
+ end #test_element_docgenerator_characters_wbr_html
390
+ =begin
391
+ Test Docgenerator::Characters::Wbr#to_context.
392
+ =end
393
+ def test_element_docgenerator_characters_wbr_context()
394
+ assert_equal(
395
+ "\\wbr{}",
396
+ @@el.to_context( :log => @@log).encode('utf-8')
397
+ )
398
+ #Check messages from Docgenerator::Characters::Wbr#to_context.
399
+ assert_equal([
400
+ "ERROR wbr: Missing output routine for ConTeXt, use \\wbr (<Docgenerator::Characters::Wbr>)\n"
401
+ ], @@logoutputter.flush
402
+ )
403
+
404
+ end #test_element_docgenerator_characters_wbr_context
405
+ =begin
406
+ Test Docgenerator::Characters::Wbr#to_text.
407
+ =end
408
+ def test_element_docgenerator_characters_wbr_text()
409
+ assert_equal(
410
+ "",
411
+ @@el.to_text( :log => @@log).encode('utf-8')
412
+ )
413
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
414
+ end #test_element_docgenerator_characters_wbr_text
415
+ =begin
416
+ Test Docgenerator::Characters::Wbr#to_wiki.
417
+ =end
418
+ def test_element_docgenerator_characters_wbr_wiki()
419
+ assert_equal(
420
+ "\n",
421
+ @@el.to_wiki( :log => @@log).encode('utf-8')
422
+ )
423
+ #Check messages from Docgenerator::Characters::Wbr#to_wiki.
424
+ assert_equal([
425
+ "ERROR wbr: Missing output routine for Wiki (<Docgenerator::Characters::Wbr>)\n"
426
+ ], @@logoutputter.flush
427
+ )
428
+
429
+ end #test_element_docgenerator_characters_wbr_wiki
430
+ =begin
431
+ Test Docgenerator::Characters::Wbr#to_creole.
432
+ =end
433
+ def test_element_docgenerator_characters_wbr_creole()
434
+ assert_equal(
435
+ "{{wbr}}",
436
+ @@el.to_creole( :log => @@log).encode('utf-8')
437
+ )
438
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
439
+ end #test_element_docgenerator_characters_wbr_creole
440
+ end #Test_element_docgenerator_characters_wbr
441
+ =begin rdoc
145
442
  Test Docgenerator::Characters::Space.
146
443
  =end
147
444
  class Test_element_docgenerator_characters_space < Test::Unit::TestCase
@@ -161,7 +458,6 @@ This may include warnings for wrong content format...
161
458
  The following messages are expected:
162
459
  --- []
163
460
 
164
-
165
461
  =end
166
462
  def test_element_docgenerator_characters_space_log
167
463
  assert_equal(
@@ -256,7 +552,6 @@ This may include warnings for wrong content format...
256
552
  The following messages are expected:
257
553
  --- []
258
554
 
259
-
260
555
  =end
261
556
  def test_element_docgenerator_characters_bigspace_log
262
557
  assert_equal(
@@ -351,7 +646,6 @@ This may include warnings for wrong content format...
351
646
  The following messages are expected:
352
647
  --- []
353
648
 
354
-
355
649
  =end
356
650
  def test_element_docgenerator_characters_nbsp_log
357
651
  assert_equal(
@@ -461,7 +755,6 @@ This may include warnings for wrong content format...
461
755
  The following messages are expected:
462
756
  --- []
463
757
 
464
-
465
758
  =end
466
759
  def test_element_docgenerator_characters_euro_log
467
760
  assert_equal(
@@ -552,7 +845,6 @@ This may include warnings for wrong content format...
552
845
  The following messages are expected:
553
846
  --- []
554
847
 
555
-
556
848
  =end
557
849
  def test_element_docgenerator_characters_euros_log
558
850
  assert_equal(
@@ -642,7 +934,6 @@ This may include warnings for wrong content format...
642
934
  The following messages are expected:
643
935
  --- []
644
936
 
645
-
646
937
  =end
647
938
  def test_element_docgenerator_characters_percent_log
648
939
  assert_equal(
@@ -732,7 +1023,6 @@ This may include warnings for wrong content format...
732
1023
  The following messages are expected:
733
1024
  --- []
734
1025
 
735
-
736
1026
  =end
737
1027
  def test_element_docgenerator_characters_dollar_log
738
1028
  assert_equal(
@@ -822,7 +1112,6 @@ This may include warnings for wrong content format...
822
1112
  The following messages are expected:
823
1113
  --- []
824
1114
 
825
-
826
1115
  =end
827
1116
  def test_element_docgenerator_characters_hat_log
828
1117
  assert_equal(
@@ -932,7 +1221,6 @@ This may include warnings for wrong content format...
932
1221
  The following messages are expected:
933
1222
  --- []
934
1223
 
935
-
936
1224
  =end
937
1225
  def test_element_docgenerator_characters_iquest_log
938
1226
  assert_equal(
@@ -1027,7 +1315,6 @@ This may include warnings for wrong content format...
1027
1315
  The following messages are expected:
1028
1316
  --- []
1029
1317
 
1030
-
1031
1318
  =end
1032
1319
  def test_element_docgenerator_characters_ampersand_log
1033
1320
  assert_equal(
@@ -1132,7 +1419,6 @@ This may include warnings for wrong content format...
1132
1419
  The following messages are expected:
1133
1420
  --- []
1134
1421
 
1135
-
1136
1422
  =end
1137
1423
  def test_element_docgenerator_characters_rbrace_log
1138
1424
  assert_equal(
@@ -1242,7 +1528,6 @@ This may include warnings for wrong content format...
1242
1528
  The following messages are expected:
1243
1529
  --- []
1244
1530
 
1245
-
1246
1531
  =end
1247
1532
  def test_element_docgenerator_characters_lbrace_log
1248
1533
  assert_equal(
@@ -1352,7 +1637,6 @@ This may include warnings for wrong content format...
1352
1637
  The following messages are expected:
1353
1638
  --- []
1354
1639
 
1355
-
1356
1640
  =end
1357
1641
  def test_element_docgenerator_characters_backslash_log
1358
1642
  assert_equal(
@@ -1462,7 +1746,6 @@ This may include warnings for wrong content format...
1462
1746
  The following messages are expected:
1463
1747
  --- []
1464
1748
 
1465
-
1466
1749
  =end
1467
1750
  def test_element_docgenerator_characters_radic_log
1468
1751
  assert_equal(
@@ -1552,7 +1835,6 @@ This may include warnings for wrong content format...
1552
1835
  The following messages are expected:
1553
1836
  --- []
1554
1837
 
1555
-
1556
1838
  =end
1557
1839
  def test_element_docgenerator_characters_rightarrow_log
1558
1840
  assert_equal(
@@ -1652,7 +1934,6 @@ This may include warnings for wrong content format...
1652
1934
  The following messages are expected:
1653
1935
  --- []
1654
1936
 
1655
-
1656
1937
  =end
1657
1938
  def test_element_docgenerator_characters_rrightarrow_log
1658
1939
  assert_equal(
@@ -1752,7 +2033,6 @@ This may include warnings for wrong content format...
1752
2033
  The following messages are expected:
1753
2034
  --- []
1754
2035
 
1755
-
1756
2036
  =end
1757
2037
  def test_element_docgenerator_characters_leftarrow_log
1758
2038
  assert_equal(
@@ -1852,7 +2132,6 @@ This may include warnings for wrong content format...
1852
2132
  The following messages are expected:
1853
2133
  --- []
1854
2134
 
1855
-
1856
2135
  =end
1857
2136
  def test_element_docgenerator_characters_lleftarrow_log
1858
2137
  assert_equal(
@@ -1866,7 +2145,7 @@ Test Docgenerator::Characters::LLeftarrow#to_latex.
1866
2145
  =end
1867
2146
  def test_element_docgenerator_characters_lleftarrow_latex()
1868
2147
  assert_equal(
1869
- "\\ensuremath{\\Lefttarrow}",
2148
+ "\\ensuremath{\\Leftarrow}",
1870
2149
  @@el.to_latex( :log => @@log).encode('utf-8')
1871
2150
  )
1872
2151
  assert_equal([],@@logoutputter.flush, 'No messages expected')
@@ -1952,7 +2231,6 @@ This may include warnings for wrong content format...
1952
2231
  The following messages are expected:
1953
2232
  --- []
1954
2233
 
1955
-
1956
2234
  =end
1957
2235
  def test_element_docgenerator_characters_uuparrow_log
1958
2236
  assert_equal(
@@ -2062,7 +2340,6 @@ This may include warnings for wrong content format...
2062
2340
  The following messages are expected:
2063
2341
  --- []
2064
2342
 
2065
-
2066
2343
  =end
2067
2344
  def test_element_docgenerator_characters_uparrow_log
2068
2345
  assert_equal(
@@ -2172,7 +2449,6 @@ This may include warnings for wrong content format...
2172
2449
  The following messages are expected:
2173
2450
  --- []
2174
2451
 
2175
-
2176
2452
  =end
2177
2453
  def test_element_docgenerator_characters_ddownarrow_log
2178
2454
  assert_equal(
@@ -2282,7 +2558,6 @@ This may include warnings for wrong content format...
2282
2558
  The following messages are expected:
2283
2559
  --- []
2284
2560
 
2285
-
2286
2561
  =end
2287
2562
  def test_element_docgenerator_characters_downarrow_log
2288
2563
  assert_equal(
@@ -2392,7 +2667,6 @@ This may include warnings for wrong content format...
2392
2667
  The following messages are expected:
2393
2668
  --- []
2394
2669
 
2395
-
2396
2670
  =end
2397
2671
  def test_element_docgenerator_characters_lt_log
2398
2672
  assert_equal(
@@ -2478,6 +2752,110 @@ Test Docgenerator::Characters::Lt#to_creole.
2478
2752
  end #test_element_docgenerator_characters_lt_creole
2479
2753
  end #Test_element_docgenerator_characters_lt
2480
2754
  =begin rdoc
2755
+ Test Docgenerator::Characters::Ll.
2756
+ =end
2757
+ class Test_element_docgenerator_characters_ll < Test::Unit::TestCase
2758
+ def self.startup()
2759
+ @@log = Log4r::Logger.new('ll', Log4r::INFO)
2760
+ @@log.outputters = @@logoutputter = ArrayOutputter.new('xx')
2761
+ @@el = Docgenerator::Characters::Ll.new(:log => @@log)
2762
+
2763
+ #element allows no content
2764
+ #Store log messages
2765
+ @@messages = @@logoutputter.flush
2766
+ end #self.startup()
2767
+ =begin rdoc
2768
+ Check messages from logger.
2769
+ This may include warnings for wrong content format...
2770
+
2771
+ The following messages are expected:
2772
+ --- []
2773
+
2774
+ =end
2775
+ def test_element_docgenerator_characters_ll_log
2776
+ assert_equal(
2777
+ [],
2778
+ @@messages
2779
+ )
2780
+ end #test_element_docgenerator_characters_ll_log
2781
+
2782
+ =begin
2783
+ Test Docgenerator::Characters::Ll#to_latex.
2784
+ =end
2785
+ def test_element_docgenerator_characters_ll_latex()
2786
+ assert_equal(
2787
+ "\\ll ",
2788
+ @@el.to_latex( :log => @@log).encode('utf-8')
2789
+ )
2790
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
2791
+ end #test_element_docgenerator_characters_ll_latex
2792
+ =begin
2793
+ Test Docgenerator::Characters::Ll#to_html.
2794
+ =end
2795
+ def test_element_docgenerator_characters_ll_html()
2796
+ assert_equal(
2797
+ "&laquo;",
2798
+ @@el.to_html( :log => @@log).encode('utf-8')
2799
+ )
2800
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
2801
+ end #test_element_docgenerator_characters_ll_html
2802
+ =begin
2803
+ Test Docgenerator::Characters::Ll#to_context.
2804
+ =end
2805
+ def test_element_docgenerator_characters_ll_context()
2806
+ assert_equal(
2807
+ "\\<<{}",
2808
+ @@el.to_context( :log => @@log).encode('utf-8')
2809
+ )
2810
+ #Check messages from Docgenerator::Characters::Ll#to_context.
2811
+ assert_equal([
2812
+ "ERROR ll: Missing output routine for ConTeXt, use \\<< (<Docgenerator::Characters::Ll>)\n"
2813
+ ], @@logoutputter.flush
2814
+ )
2815
+
2816
+ end #test_element_docgenerator_characters_ll_context
2817
+ =begin
2818
+ Test Docgenerator::Characters::Ll#to_text.
2819
+ =end
2820
+ def test_element_docgenerator_characters_ll_text()
2821
+ assert_equal(
2822
+ "<<",
2823
+ @@el.to_text( :log => @@log).encode('utf-8')
2824
+ )
2825
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
2826
+ end #test_element_docgenerator_characters_ll_text
2827
+ =begin
2828
+ Test Docgenerator::Characters::Ll#to_wiki.
2829
+ =end
2830
+ def test_element_docgenerator_characters_ll_wiki()
2831
+ assert_equal(
2832
+ "\n",
2833
+ @@el.to_wiki( :log => @@log).encode('utf-8')
2834
+ )
2835
+ #Check messages from Docgenerator::Characters::Ll#to_wiki.
2836
+ assert_equal([
2837
+ "ERROR ll: Missing output routine for Wiki (<Docgenerator::Characters::Ll>)\n"
2838
+ ], @@logoutputter.flush
2839
+ )
2840
+
2841
+ end #test_element_docgenerator_characters_ll_wiki
2842
+ =begin
2843
+ Test Docgenerator::Characters::Ll#to_creole.
2844
+ =end
2845
+ def test_element_docgenerator_characters_ll_creole()
2846
+ assert_equal(
2847
+ "\n",
2848
+ @@el.to_creole( :log => @@log).encode('utf-8')
2849
+ )
2850
+ #Check messages from Docgenerator::Characters::Ll#to_creole.
2851
+ assert_equal([
2852
+ "ERROR ll: Missing output routine for creole (<Docgenerator::Characters::Ll>)\n"
2853
+ ], @@logoutputter.flush
2854
+ )
2855
+
2856
+ end #test_element_docgenerator_characters_ll_creole
2857
+ end #Test_element_docgenerator_characters_ll
2858
+ =begin rdoc
2481
2859
  Test Docgenerator::Characters::Gt.
2482
2860
  =end
2483
2861
  class Test_element_docgenerator_characters_gt < Test::Unit::TestCase
@@ -2497,7 +2875,6 @@ This may include warnings for wrong content format...
2497
2875
  The following messages are expected:
2498
2876
  --- []
2499
2877
 
2500
-
2501
2878
  =end
2502
2879
  def test_element_docgenerator_characters_gt_log
2503
2880
  assert_equal(
@@ -2583,6 +2960,110 @@ Test Docgenerator::Characters::Gt#to_creole.
2583
2960
  end #test_element_docgenerator_characters_gt_creole
2584
2961
  end #Test_element_docgenerator_characters_gt
2585
2962
  =begin rdoc
2963
+ Test Docgenerator::Characters::Gg.
2964
+ =end
2965
+ class Test_element_docgenerator_characters_gg < Test::Unit::TestCase
2966
+ def self.startup()
2967
+ @@log = Log4r::Logger.new('gg', Log4r::INFO)
2968
+ @@log.outputters = @@logoutputter = ArrayOutputter.new('xx')
2969
+ @@el = Docgenerator::Characters::Gg.new(:log => @@log)
2970
+
2971
+ #element allows no content
2972
+ #Store log messages
2973
+ @@messages = @@logoutputter.flush
2974
+ end #self.startup()
2975
+ =begin rdoc
2976
+ Check messages from logger.
2977
+ This may include warnings for wrong content format...
2978
+
2979
+ The following messages are expected:
2980
+ --- []
2981
+
2982
+ =end
2983
+ def test_element_docgenerator_characters_gg_log
2984
+ assert_equal(
2985
+ [],
2986
+ @@messages
2987
+ )
2988
+ end #test_element_docgenerator_characters_gg_log
2989
+
2990
+ =begin
2991
+ Test Docgenerator::Characters::Gg#to_latex.
2992
+ =end
2993
+ def test_element_docgenerator_characters_gg_latex()
2994
+ assert_equal(
2995
+ "\\gg ",
2996
+ @@el.to_latex( :log => @@log).encode('utf-8')
2997
+ )
2998
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
2999
+ end #test_element_docgenerator_characters_gg_latex
3000
+ =begin
3001
+ Test Docgenerator::Characters::Gg#to_html.
3002
+ =end
3003
+ def test_element_docgenerator_characters_gg_html()
3004
+ assert_equal(
3005
+ "&raquo;",
3006
+ @@el.to_html( :log => @@log).encode('utf-8')
3007
+ )
3008
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
3009
+ end #test_element_docgenerator_characters_gg_html
3010
+ =begin
3011
+ Test Docgenerator::Characters::Gg#to_context.
3012
+ =end
3013
+ def test_element_docgenerator_characters_gg_context()
3014
+ assert_equal(
3015
+ "\\>>{}",
3016
+ @@el.to_context( :log => @@log).encode('utf-8')
3017
+ )
3018
+ #Check messages from Docgenerator::Characters::Gg#to_context.
3019
+ assert_equal([
3020
+ "ERROR gg: Missing output routine for ConTeXt, use \\>> (<Docgenerator::Characters::Gg>)\n"
3021
+ ], @@logoutputter.flush
3022
+ )
3023
+
3024
+ end #test_element_docgenerator_characters_gg_context
3025
+ =begin
3026
+ Test Docgenerator::Characters::Gg#to_text.
3027
+ =end
3028
+ def test_element_docgenerator_characters_gg_text()
3029
+ assert_equal(
3030
+ ">>",
3031
+ @@el.to_text( :log => @@log).encode('utf-8')
3032
+ )
3033
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
3034
+ end #test_element_docgenerator_characters_gg_text
3035
+ =begin
3036
+ Test Docgenerator::Characters::Gg#to_wiki.
3037
+ =end
3038
+ def test_element_docgenerator_characters_gg_wiki()
3039
+ assert_equal(
3040
+ "\n",
3041
+ @@el.to_wiki( :log => @@log).encode('utf-8')
3042
+ )
3043
+ #Check messages from Docgenerator::Characters::Gg#to_wiki.
3044
+ assert_equal([
3045
+ "ERROR gg: Missing output routine for Wiki (<Docgenerator::Characters::Gg>)\n"
3046
+ ], @@logoutputter.flush
3047
+ )
3048
+
3049
+ end #test_element_docgenerator_characters_gg_wiki
3050
+ =begin
3051
+ Test Docgenerator::Characters::Gg#to_creole.
3052
+ =end
3053
+ def test_element_docgenerator_characters_gg_creole()
3054
+ assert_equal(
3055
+ "\n",
3056
+ @@el.to_creole( :log => @@log).encode('utf-8')
3057
+ )
3058
+ #Check messages from Docgenerator::Characters::Gg#to_creole.
3059
+ assert_equal([
3060
+ "ERROR gg: Missing output routine for creole (<Docgenerator::Characters::Gg>)\n"
3061
+ ], @@logoutputter.flush
3062
+ )
3063
+
3064
+ end #test_element_docgenerator_characters_gg_creole
3065
+ end #Test_element_docgenerator_characters_gg
3066
+ =begin rdoc
2586
3067
  Test Docgenerator::Characters::Infin.
2587
3068
  =end
2588
3069
  class Test_element_docgenerator_characters_infin < Test::Unit::TestCase
@@ -2602,7 +3083,6 @@ This may include warnings for wrong content format...
2602
3083
  The following messages are expected:
2603
3084
  --- []
2604
3085
 
2605
-
2606
3086
  =end
2607
3087
  def test_element_docgenerator_characters_infin_log
2608
3088
  assert_equal(
@@ -2712,7 +3192,6 @@ This may include warnings for wrong content format...
2712
3192
  The following messages are expected:
2713
3193
  --- []
2714
3194
 
2715
-
2716
3195
  =end
2717
3196
  def test_element_docgenerator_characters_divide_log
2718
3197
  assert_equal(
@@ -2822,7 +3301,6 @@ This may include warnings for wrong content format...
2822
3301
  The following messages are expected:
2823
3302
  --- []
2824
3303
 
2825
-
2826
3304
  =end
2827
3305
  def test_element_docgenerator_characters_yen_log
2828
3306
  assert_equal(
@@ -2922,7 +3400,6 @@ This may include warnings for wrong content format...
2922
3400
  The following messages are expected:
2923
3401
  --- []
2924
3402
 
2925
-
2926
3403
  =end
2927
3404
  def test_element_docgenerator_characters_sim_log
2928
3405
  assert_equal(
@@ -3032,7 +3509,6 @@ This may include warnings for wrong content format...
3032
3509
  The following messages are expected:
3033
3510
  --- []
3034
3511
 
3035
-
3036
3512
  =end
3037
3513
  def test_element_docgenerator_characters_brvbar_log
3038
3514
  assert_equal(
@@ -3142,7 +3618,6 @@ This may include warnings for wrong content format...
3142
3618
  The following messages are expected:
3143
3619
  --- []
3144
3620
 
3145
-
3146
3621
  =end
3147
3622
  def test_element_docgenerator_characters_neg_log
3148
3623
  assert_equal(
@@ -3252,7 +3727,6 @@ This may include warnings for wrong content format...
3252
3727
  The following messages are expected:
3253
3728
  --- []
3254
3729
 
3255
-
3256
3730
  =end
3257
3731
  def test_element_docgenerator_characters_times_log
3258
3732
  assert_equal(
@@ -3362,7 +3836,6 @@ This may include warnings for wrong content format...
3362
3836
  The following messages are expected:
3363
3837
  --- []
3364
3838
 
3365
-
3366
3839
  =end
3367
3840
  def test_element_docgenerator_characters_otimes_log
3368
3841
  assert_equal(
@@ -3472,7 +3945,6 @@ This may include warnings for wrong content format...
3472
3945
  The following messages are expected:
3473
3946
  --- []
3474
3947
 
3475
-
3476
3948
  =end
3477
3949
  def test_element_docgenerator_characters_empty_log
3478
3950
  assert_equal(
@@ -3582,7 +4054,6 @@ This may include warnings for wrong content format...
3582
4054
  The following messages are expected:
3583
4055
  --- []
3584
4056
 
3585
-
3586
4057
  =end
3587
4058
  def test_element_docgenerator_characters_underscore_log
3588
4059
  assert_equal(
@@ -3677,7 +4148,6 @@ This may include warnings for wrong content format...
3677
4148
  The following messages are expected:
3678
4149
  --- []
3679
4150
 
3680
-
3681
4151
  =end
3682
4152
  def test_element_docgenerator_characters_ldots_log
3683
4153
  assert_equal(
@@ -3782,7 +4252,6 @@ This may include warnings for wrong content format...
3782
4252
  The following messages are expected:
3783
4253
  --- []
3784
4254
 
3785
-
3786
4255
  =end
3787
4256
  def test_element_docgenerator_characters_bullet_log
3788
4257
  assert_equal(
@@ -3892,7 +4361,6 @@ This may include warnings for wrong content format...
3892
4361
  The following messages are expected:
3893
4362
  --- []
3894
4363
 
3895
-
3896
4364
  =end
3897
4365
  def test_element_docgenerator_characters_ndash_log
3898
4366
  assert_equal(
@@ -3997,7 +4465,6 @@ This may include warnings for wrong content format...
3997
4465
  The following messages are expected:
3998
4466
  --- []
3999
4467
 
4000
-
4001
4468
  =end
4002
4469
  def test_element_docgenerator_characters_mdash_log
4003
4470
  assert_equal(
@@ -4102,7 +4569,6 @@ This may include warnings for wrong content format...
4102
4569
  The following messages are expected:
4103
4570
  --- []
4104
4571
 
4105
-
4106
4572
  =end
4107
4573
  def test_element_docgenerator_characters_dagger_log
4108
4574
  assert_equal(
@@ -4212,7 +4678,6 @@ This may include warnings for wrong content format...
4212
4678
  The following messages are expected:
4213
4679
  --- []
4214
4680
 
4215
-
4216
4681
  =end
4217
4682
  def test_element_docgenerator_characters_doublelowquotemark_log
4218
4683
  assert_equal(
@@ -4261,15 +4726,10 @@ Test Docgenerator::Characters::Doublelowquotemark#to_text.
4261
4726
  =end
4262
4727
  def test_element_docgenerator_characters_doublelowquotemark_text()
4263
4728
  assert_equal(
4264
- "",
4729
+ "\u201E",
4265
4730
  @@el.to_text( :log => @@log).encode('utf-8')
4266
4731
  )
4267
- #Check messages from Docgenerator::Characters::Doublelowquotemark#to_text.
4268
- assert_equal([
4269
- "ERROR doublelowquotemark: Missing output routine for Text (<Docgenerator::Characters::Doublelowquotemark>)\n"
4270
- ], @@logoutputter.flush
4271
- )
4272
-
4732
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
4273
4733
  end #test_element_docgenerator_characters_doublelowquotemark_text
4274
4734
  =begin
4275
4735
  Test Docgenerator::Characters::Doublelowquotemark#to_wiki.
@@ -4312,7 +4772,6 @@ This may include warnings for wrong content format...
4312
4772
  The following messages are expected:
4313
4773
  --- []
4314
4774
 
4315
-
4316
4775
  =end
4317
4776
  def test_element_docgenerator_characters_leftdoublequotemark_log
4318
4777
  assert_equal(
@@ -4326,7 +4785,7 @@ Test Docgenerator::Characters::Leftdoublequotemark#to_latex.
4326
4785
  =end
4327
4786
  def test_element_docgenerator_characters_leftdoublequotemark_latex()
4328
4787
  assert_equal(
4329
- "\\grqq",
4788
+ "\\lq\\lq{}",
4330
4789
  @@el.to_latex( :log => @@log).encode('utf-8')
4331
4790
  )
4332
4791
  assert_equal([],@@logoutputter.flush, 'No messages expected')
@@ -4346,12 +4805,12 @@ Test Docgenerator::Characters::Leftdoublequotemark#to_context.
4346
4805
  =end
4347
4806
  def test_element_docgenerator_characters_leftdoublequotemark_context()
4348
4807
  assert_equal(
4349
- "\\grqq{}",
4808
+ "\\ldquo{}",
4350
4809
  @@el.to_context( :log => @@log).encode('utf-8')
4351
4810
  )
4352
4811
  #Check messages from Docgenerator::Characters::Leftdoublequotemark#to_context.
4353
4812
  assert_equal([
4354
- "ERROR leftdoublequotemark: Missing output routine for ConTeXt, use \\grqq (<Docgenerator::Characters::Leftdoublequotemark>)\n"
4813
+ "ERROR leftdoublequotemark: Missing output routine for ConTeXt, use \\ldquo (<Docgenerator::Characters::Leftdoublequotemark>)\n"
4355
4814
  ], @@logoutputter.flush
4356
4815
  )
4357
4816
 
@@ -4361,7 +4820,7 @@ Test Docgenerator::Characters::Leftdoublequotemark#to_text.
4361
4820
  =end
4362
4821
  def test_element_docgenerator_characters_leftdoublequotemark_text()
4363
4822
  assert_equal(
4364
- "``",
4823
+ "\u201C",
4365
4824
  @@el.to_text( :log => @@log).encode('utf-8')
4366
4825
  )
4367
4826
  assert_equal([],@@logoutputter.flush, 'No messages expected')
@@ -4407,7 +4866,6 @@ This may include warnings for wrong content format...
4407
4866
  The following messages are expected:
4408
4867
  --- []
4409
4868
 
4410
-
4411
4869
  =end
4412
4870
  def test_element_docgenerator_characters_rightdoublequotemark_log
4413
4871
  assert_equal(
@@ -4421,7 +4879,7 @@ Test Docgenerator::Characters::Rightdoublequotemark#to_latex.
4421
4879
  =end
4422
4880
  def test_element_docgenerator_characters_rightdoublequotemark_latex()
4423
4881
  assert_equal(
4424
- "\\rqq ",
4882
+ "\\grqq ",
4425
4883
  @@el.to_latex( :log => @@log).encode('utf-8')
4426
4884
  )
4427
4885
  assert_equal([],@@logoutputter.flush, 'No messages expected')
@@ -4441,12 +4899,12 @@ Test Docgenerator::Characters::Rightdoublequotemark#to_context.
4441
4899
  =end
4442
4900
  def test_element_docgenerator_characters_rightdoublequotemark_context()
4443
4901
  assert_equal(
4444
- "\\rqq{}",
4902
+ "\\grqq{}",
4445
4903
  @@el.to_context( :log => @@log).encode('utf-8')
4446
4904
  )
4447
4905
  #Check messages from Docgenerator::Characters::Rightdoublequotemark#to_context.
4448
4906
  assert_equal([
4449
- "ERROR rightdoublequotemark: Missing output routine for ConTeXt, use \\rqq (<Docgenerator::Characters::Rightdoublequotemark>)\n"
4907
+ "ERROR rightdoublequotemark: Missing output routine for ConTeXt, use \\grqq (<Docgenerator::Characters::Rightdoublequotemark>)\n"
4450
4908
  ], @@logoutputter.flush
4451
4909
  )
4452
4910
 
@@ -4456,7 +4914,7 @@ Test Docgenerator::Characters::Rightdoublequotemark#to_text.
4456
4914
  =end
4457
4915
  def test_element_docgenerator_characters_rightdoublequotemark_text()
4458
4916
  assert_equal(
4459
- "",
4917
+ "\u201D",
4460
4918
  @@el.to_text( :log => @@log).encode('utf-8')
4461
4919
  )
4462
4920
  assert_equal([],@@logoutputter.flush, 'No messages expected')
@@ -4466,30 +4924,20 @@ Test Docgenerator::Characters::Rightdoublequotemark#to_wiki.
4466
4924
  =end
4467
4925
  def test_element_docgenerator_characters_rightdoublequotemark_wiki()
4468
4926
  assert_equal(
4469
- "\n",
4927
+ "\u201D",
4470
4928
  @@el.to_wiki( :log => @@log).encode('utf-8')
4471
4929
  )
4472
- #Check messages from Docgenerator::Characters::Rightdoublequotemark#to_wiki.
4473
- assert_equal([
4474
- "ERROR rightdoublequotemark: Missing output routine for Wiki (<Docgenerator::Characters::Rightdoublequotemark>)\n"
4475
- ], @@logoutputter.flush
4476
- )
4477
-
4930
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
4478
4931
  end #test_element_docgenerator_characters_rightdoublequotemark_wiki
4479
4932
  =begin
4480
4933
  Test Docgenerator::Characters::Rightdoublequotemark#to_creole.
4481
4934
  =end
4482
4935
  def test_element_docgenerator_characters_rightdoublequotemark_creole()
4483
4936
  assert_equal(
4484
- "\n",
4937
+ "\u201D",
4485
4938
  @@el.to_creole( :log => @@log).encode('utf-8')
4486
4939
  )
4487
- #Check messages from Docgenerator::Characters::Rightdoublequotemark#to_creole.
4488
- assert_equal([
4489
- "ERROR rightdoublequotemark: Missing output routine for creole (<Docgenerator::Characters::Rightdoublequotemark>)\n"
4490
- ], @@logoutputter.flush
4491
- )
4492
-
4940
+ assert_equal([],@@logoutputter.flush, 'No messages expected')
4493
4941
  end #test_element_docgenerator_characters_rightdoublequotemark_creole
4494
4942
  end #Test_element_docgenerator_characters_rightdoublequotemark
4495
4943
  =begin rdoc
@@ -4512,7 +4960,6 @@ This may include warnings for wrong content format...
4512
4960
  The following messages are expected:
4513
4961
  --- []
4514
4962
 
4515
-
4516
4963
  =end
4517
4964
  def test_element_docgenerator_characters_singlelowquotemark_log
4518
4965
  assert_equal(
@@ -4617,7 +5064,6 @@ This may include warnings for wrong content format...
4617
5064
  The following messages are expected:
4618
5065
  --- []
4619
5066
 
4620
-
4621
5067
  =end
4622
5068
  def test_element_docgenerator_characters_leftsinglequotemark_log
4623
5069
  assert_equal(
@@ -4722,7 +5168,6 @@ This may include warnings for wrong content format...
4722
5168
  The following messages are expected:
4723
5169
  --- []
4724
5170
 
4725
-
4726
5171
  =end
4727
5172
  def test_element_docgenerator_characters_rightsinglequotemark_log
4728
5173
  assert_equal(