File: testBook.pass

package info (click to toggle)
libnb-platform18-java 10.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 667,920 kB
  • sloc: java: 4,911,908; xml: 540,084; php: 76,736; ansic: 10,266; sh: 5,624; cpp: 4,621; jsp: 3,621; sql: 1,097; makefile: 540; objc: 288; perl: 277; haskell: 93
file content (762 lines) | stat: -rw-r--r-- 20,248 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
Calling GenBeans.doIt
Bean Tree:
book <book> : Book
	index <index> : Index[1,n]
		word <word> : String
		ref <ref> : Ref[1,n]
			page <page> : String
			line <line> : String
	chapter <chapter> : Chapter[1,n]
		[attr: length CDATA #IMPLIED ]
		comment <comment> : String[0,1]
		paragraph <paragraph> : String[0,n]
		comment2 <comment> : String[0,1]
	summary <summary> : String[0,1]
	good <good> : boolean
		EMPTY : String
	available <available> : boolean
		EMPTY : String
	extra <extra> : Extra
		| sizeCm <size-cm> : String
		| sizeInches <size-inches> : String
		| size <size> : String
		color <color> : String[0,1]
		| weightLb <weight-lb> : String
		| weightKg <weight-kg> : String

Compiling
Finished compiling: 0
out: TestBook - creating the DOM document
out: TestBook - creating the bean graph
out: TestBook - bean graph created
out: TestBook single String - get/set -> OK
out: TestBook single String - remove -> OK
out: TestBook - should not have a 'summary' element:
out: 
out: TestBook single String - set new -> OK
out: TestBook - should have a 'summary' element:
out:   summary - element
out: 
out: TestBook boolean - get value (from true) -> OK
out: TestBook - should have a 'good' element:
out:   good - element
out: 
out: TestBook boolean - change to same value (true) -> OK
out: TestBook - should still have a 'good' element:
out:   good - element
out: 
out: TestBook boolean - change to false -> OK
out: TestBook - should not have a 'good' element:
out: 
out: TestBook boolean - change back to true -> OK
out: TestBook - should have a 'good' element:
out:   good - element
out: 
out: TestBook boolean - get value (from false) -> OK
out: TestBook - should not have an 'available' element:
out: 
out: TestBook boolean - change to same value (false) -> OK
out: TestBook - should not have an 'available' element:
out: 
out: TestBook boolean - change to true -> OK
out: TestBook - should have now an 'available' element:
out:   available - element
out: 
out: TestBook boolean - change back to false -> OK
out: TestBook - should not have an 'available' element:
out: 
out: TestBook - String[] - search for the string arrays
out: TestBook - found 3 chapter in book
out: TestBook - chapter 1 has 2 paragraphs:
out:   paragraph - element
out:   paragraph - element
out: 
out: TestBook - chapter 2 has 1 paragraphs:
out:   paragraph - element
out: 
out: TestBook - chapter 3 has 0 paragraphs:
out: 
out: TestBook String[0] - search for empty array -> OK
out: TestBook String[0] - out of bounds access [-1] (IndexOutOfBoundsException) -> OK
out: TestBook String[0] - out of bounds access [0] (IndexOutOfBoundsException) -> OK
out: TestBook String[0] - out of bounds access [1] (IndexOutOfBoundsException) -> OK
out: TestBook String[0] - out of bounds access [999] (IndexOutOfBoundsException) -> OK
out: TestBook String[0] - add a string to the array -> OK
out: TestBook - should contain one paragraph:
out:   paragraph - element
out: 
out: TestBook String[0] - add another string to the array -> OK
out: TestBook - should contain two paragraphs:
out:   paragraph - element
out:   paragraph - element
out: 
out: TestBook String[0] - compare paragraphs (same content) -> OK
out: TestBook String[0] - compare paragraphs (different instances) -> OK
out: TestBook String[0] - remove element -> OK
out: TestBook - should contain one paragraph:
out:   paragraph - element
out: 
out: TestBook String[0] - access elements (first, should be null) -> OK
out: TestBook String[0] - access elements (second, should be !null) -> OK
out: TestBook String[0] - set again first element -> OK
out: TestBook - should contain two paragraphs:
out:   paragraph - element
out:   paragraph - element
out: 
out: TestBook String[0] - removing all elements (removed correct index) -> OK
out: TestBook String[0] - removing all elements (size is now 1) -> OK
out: TestBook String[0] - removing all elements (removed correct index) -> OK
out: TestBook String[0] - removing all elements (size is now 0) -> OK
out: TestBook - should contain no paragraph:
out: 
out: TestBook String[0] - search for array of size 1 -> OK
out: TestBook String[0] - out of bounds access [-1] (IndexOutOfBoundsException) -> OK
out: TestBook String[0] - out of bounds access [1] (IndexOutOfBoundsException) -> OK
out: TestBook String[0] - out of bounds access [999] (IndexOutOfBoundsException) -> OK
out: TestBook String[0] - add a string to the array -> OK
out: TestBook - should contain two paragraphs:
out:   paragraph - element
out:   paragraph - element
out: 
out: TestBook String[0] - compare paragraphs (different content) -> OK
out: TestBook String[0] - add more paragraphs (100 new paragraphs) -> OK
out: TestBook String[0] - removing paragraphs (leaving 10) -> OK
out: TestBook - should contain 10 paragraphs:
out:   paragraph - element
out:   paragraph - element
out:   paragraph - element
out:   paragraph - element
out:   paragraph - element
out:   paragraph - element
out:   paragraph - element
out:   paragraph - element
out:   paragraph - element
out:   paragraph - element
out: 
out: TestBook - book has 2 Index beans
out:   index - element
out:   index - element
out: 
out: TestBook remove a bean w/ remove() (correct element removed) -> OK
out: TestBook remove a bean w/ remove() (correct Index array size) -> OK
out: TestBook - book should have 1 Index beans
out:   index - element
out: 
out: TestBook remove another bean w/ set(null) (correct Index array size) -> OK
out: TestBook - book should have 0 Index beans
out: 
out: TestBook add an empty bean to the graph (correct Index array size) -> OK
out: TestBook - book should have 1 Index beans
out:   index - element
out: 
out: TestBook - book should have 2 Index beans
out:   index - element
out:   index - element
out: 
out: TestBook - idx should have 2 refs
out: index - element
out:   word - element
out:     #text=who - text
out:   ref - element
out:     page - element
out:       #text=122 - text
out:     line - element
out:       #text=32 - text
out:   ref - element
out:     page - element
out:       #text=1 - text
out:     line - element
out:       #text=3 - text
out: 
out: TestBook add a subtree bean -> OK
out: TestBook - book should have 3 Index beans
out:   index - element
out:   index - element
out:   index - element
out: 
out: TestBook - idx should have 1 ref
out: index - element
out:   word - element
out:     #text=what - text
out:   ref - element
out:     page - element
out:       #text=22 - text
out:     line - element
out:       #text=2 - text
out: 
out: TestBook add another subtree bean -> OK
out: TestBook should failed adding the same instance subtree 
out:  >> caught: java.lang.IllegalArgumentException: Cannot insert an element which is already part of a graph. The element should be cloned first. -> OK
out: TestBook - book should have 4 Index beans
out:   index - element
out:   index - element
out:   index - element
out:   index - element
out: 
out: TestBook - Initial Index is:
out: index - element
out:   word - element
out:     #text=who - text
out:   ref - element
out:     page - element
out:       #text=122 - text
out:     line - element
out:       #text=32 - text
out:   ref - element
out:     page - element
out:       #text=1 - text
out:     line - element
out:       #text=3 - text
out: 
out: TestBook - New Index should be identical:
out: index - element
out:   word - element
out:     #text=who - text
out:   ref - element
out:     page - element
out:       #text=122 - text
out:     line - element
out:       #text=32 - text
out:   ref - element
out:     page - element
out:       #text=1 - text
out:     line - element
out:       #text=3 - text
out: 
out: TestBook add the same cloned tree -> OK
out: TestBook add beans (correct size of array) -> OK
out: TestBook - should have nothing to print: 
out: <no binding>
out: TestBook remove an element (correct size of array) -> OK
out: TestBook remove last element (correct size) -> OK
out: TestBook - add an element and test getValues:
out: Index
out: 
out:   Word
out:   	<oops>
out: 
out:   Ref[1]
out:   	#0:
out:   	Page
out:   		<77>
out: 
out:   	Line
out:   		<7>
out: 
out: TestBook creating the root for a brand new graph -> OK
out: TestBook populating the graph -> OK
out: TestBook - print the new graph DOM nodes:
out: book - element
out:   index - element
out:     word - element
out:       #text=summary - text
out:     ref - element
out:       page - element
out:         #text=22 - text
out:       line - element
out:         #text=12 - text
out:     ref - element
out:       page - element
out:         #text=4 - text
out:       line - element
out:         #text=5 - text
out:   chapter - element
out:     comment - element
out:       #text=What's a good summary in chapter 1 - text
out:     paragraph - element
out:       #text=This is the first paragraph - text
out:     paragraph - element
out:       #text=This is a second paragraph - text
out:     comment - element
out:       #text=Additional comment - text
out:   chapter - element
out:     comment - element
out:       #text=Yet another comment for chapter 2 - text
out:     paragraph - element
out:       #text=only one paragraph in this second chapter - text
out:   chapter - element
out:   summary - element
out:     #text=This book is about avoiding summaries at the end of books - text
out:   available - element
out: 
out: TestBook - Re-read the original XML file for array getter/setter testing
out: TestBook - creating the DOM document
out: TestBook - bean graph created
out: TestBook check Index[] getter() method (correct array size) -> OK
out: TestBook check Index[] getter() method (same first element) -> OK
out: TestBook check Index[] getter() method (same second element) -> OK
out: TestBook check Index[] getter() method ([0] != [1]) -> OK
out: TestBook check Chapter[] getter() method (correct array size) -> OK
out: TestBook check Chapter[] getter() method (same first element) -> OK
out: TestBook check Chapter[] getter() method (same second element) -> OK
out: TestBook check Chapter[] getter() method (same third element) -> OK
out: TestBook check Chapter[] getter() method ([0] != [2]) -> OK
out: TestBook check Chapter.Paragraph getter() method (correct array size) -> OK
out: TestBook check Chapter.Paragraph getter() method (correct array size) -> OK
out: TestBook check Chapter.Paragraph getter() method (correct array size) -> OK
out: TestBook change the Chapter[] order (reversed first element) -> OK
out: TestBook change the Chapter[] order (same second element) -> OK
out: TestBook change the Chapter[] order (reversed third element) -> OK
out: TestBook - Make sure the contents of a Chapter object remain intact after removing that Chapter from the Book
out: TestBook - This chapter may not make it into the book.
out: TestBook - 4
out: TestBook Chapter going in and out of Book undecided chapter is in there -> OK
out: TestBook - make sure undecidedChapter is intact
out: TestBook - This chapter may not make it into the book.
out: TestBook - make sure book is intact
out: TestBook - 3
out: TestBook - Put the chapter back in.
out: <?xml version="1.0" encoding="UTF-8"?>
out: <book>
out:   <chapter>
out:     <comment>This chapter may not make it into the book.</comment>
out:   </chapter>
out:   <summary>
out: 	This book is about the life of a book spent between books who dreamed
out: 	to meet a fairy who could transform it into an XML book and travel
out: 	in an electronic boundary-less world.
out: 	</summary>
out:   <chapter>
out:     <comment>
out: 		First chapter.
out: 		</comment>
out:     <paragraph>
out: 			Once upon a time...
out: 		</paragraph>
out:     <paragraph>
out: 			And this is how the book met the fairy, and how all this
out: 			story began.
out: 		</paragraph>
out:   </chapter>
out:   <chapter>
out:     <paragraph>
out: 			And the book lived a never ending happy life, read, copied
out: 			and enjoyed by so many readers.
out: 		</paragraph>
out:   </chapter>
out:   <chapter>
out:     <comment>
out: 		Empty chapter
out: 		</comment>
out:   </chapter>
out:   <index>
out:     <word>
out: 			Good book
out: 		</word>
out:     <ref>
out:       <page>22</page>
out:       <line>12</line>
out:     </ref>
out:   </index>
out:   <index>
out:     <word>
out: 			E-Tool
out: 		</word>
out:     <ref>
out:       <page>5</page>
out:       <line>15</line>
out:     </ref>
out:     <ref>
out:       <page>29</page>
out:       <line>31</line>
out:     </ref>
out:   </index>
out:   <good/>
out:   <extra>
out:     <size-cm>
out: 	10x20
out: 	</size-cm>
out:     <weight-kg>
out: 	0.125
out: 	</weight-kg>
out:   </extra>
out: </book>
out: TestBook - creating the DOM document
out: TestBook - creating the bean graph
out: TestBook check if the root has any choice prop (none found) -> OK
out: TestBook check if the root has any choice prop (none found on Chapter prop) -> OK
out: TestBook check if the root has any choice prop (none found on index prop) -> OK
out: TestBook test extra prop (at least one) -> OK
out: TestBook - Getting a set of choice properties:
out: TestBook test extra prop size-cm -> OK
out: TestBook test extra prop size-inches -> OK
out: TestBook test extra prop size -> OK
out: TestBook - Getting a set of choice properties:
out: TestBook test extra prop weight-lb -> OK
out: TestBook test extra prop weight-kg -> OK
out: TestBook - Getting the same list 3 times:
out: TestBook test extra prop size-cm -> OK
out: TestBook test extra prop size-inches -> OK
out: TestBook test extra prop size -> OK
out: TestBook test extra prop size-cm -> OK
out: TestBook test extra prop size-inches -> OK
out: TestBook test extra prop size -> OK
out: TestBook test extra prop size-cm -> OK
out: TestBook test extra prop size-inches -> OK
out: TestBook test extra prop size -> OK
out: TestBook - Getting twice the same list:
out: TestBook test extra prop weight-lb -> OK
out: TestBook test extra prop weight-kg -> OK
out: TestBook test extra prop weight-lb -> OK
out: TestBook test extra prop weight-kg -> OK
out: TestBook test extra prop  color not choice prop -> OK
out: TestBook - Parsing /Book/Good
out: TestBook - true
out: TestBook - Parsing /Good
out: TestBook - true
out: TestBook - Parsing Summary/
out: TestBook - 
out: 	This book is about the life of a book spent between books who dreamed
out: 	to meet a fairy who could transform it into an XML book and travel
out: 	in an electronic boundary-less world.
out: 	
out: TestBook - Parsing Summary
out: TestBook - Parsing Available
out: TestBook - Parsing Extra
out: TestBook - Extra
out: 
out:   SizeCm
out:   	<10x20>
out: 
out:   SizeInches
out:   	<null>
out: 
out:   Size
out:   	<null>
out: 
out:   Color
out:   	<null>
out: 
out:   WeightLb
out:   	<null>
out: 
out:   WeightKg
out:   	<0.125>
out: 
out: TestBook - Parsing Chapter
out: TestBook - Chapter
out: 
out:   Comment
out:   	<First chapter.>
out: 
out:   Paragraph[2]
out:   	#0:
out:   	<Once upon a time...>
out: 
out:   	#1:
out:   	<And this is how the book met the fairy, and how all this
out: 			story began.>
out: 
out:   Comment2
out:   	<null>
out: 
out: TestBook - Chapter
out: 
out:   Comment
out:   	<null>
out: 
out:   Paragraph[1]
out:   	#0:
out:   	<And the book lived a never ending happy life, read, copied
out: 			and enjoyed by so many readers.>
out: 
out:   Comment2
out:   	<null>
out: 
out: TestBook - Chapter
out: 
out:   Comment
out:   	<Empty chapter>
out: 
out:   Paragraph[0]
out:   Comment2
out:   	<null>
out: 
out: TestBook - Parsing Chapter/Comment
out: TestBook - 
out: 		First chapter.
out: 		
out: TestBook - 
out: 		Empty chapter
out: 		
out: TestBook - Parsing Chapter/Paragraph
out: TestBook - 
out: 			Once upon a time...
out: 		
out: TestBook - 
out: 			And this is how the book met the fairy, and how all this
out: 			story began.
out: 		
out: TestBook - 
out: 			And the book lived a never ending happy life, read, copied
out: 			and enjoyed by so many readers.
out: 		
out: TestBook - Parsing index/ref/line
out: TestBook - 12
out: TestBook - 15
out: TestBook - 31
out: TestBook - Book
out: 
out:   Index[2]
out:   	#0:
out:   	Word
out:   		<Good book>
out: 
out:   	Ref[1]
out:   		#0:
out:   		Page
out:   			<22>
out: 
out:   		Line
out:   			<12>
out: 
out:   	#1:
out:   	Word
out:   		<E-Tool>
out: 
out:   	Ref[2]
out:   		#0:
out:   		Page
out:   			<5>
out: 
out:   		Line
out:   			<15>
out: 
out:   		#1:
out:   		Page
out:   			<29>
out: 
out:   		Line
out:   			<31>
out: 
out:   Chapter[3]
out:   	#0:
out:   	Comment
out:   		<First chapter.>
out: 
out:   	Paragraph[2]
out:   		#0:
out:   		<Once upon a time...>
out: 
out:   		#1:
out:   		<And this is how the book met the fairy, and how all this
out: 			story began.>
out: 
out:   	Comment2
out:   		<null>
out: 
out:   	#1:
out:   	Comment
out:   		<null>
out: 
out:   	Paragraph[1]
out:   		#0:
out:   		<And the book lived a never ending happy life, read, copied
out: 			and enjoyed by so many readers.>
out: 
out:   	Comment2
out:   		<null>
out: 
out:   	#2:
out:   	Comment
out:   		<Empty chapter>
out: 
out:   	Paragraph[0]
out:   	Comment2
out:   		<null>
out: 
out:   Summary
out:   	<null>
out: 
out:   Good
out:   	true
out:   Available
out:   	false
out:   Extra
out:   	SizeCm
out:   		<10x20>
out: 
out:   	SizeInches
out:   		<null>
out: 
out:   	Size
out:   		<null>
out: 
out:   	Color
out:   		<null>
out: 
out:   	WeightLb
out:   		<null>
out: 
out:   	WeightKg
out:   		<0.125>
out: 
out: TestBook - Parsing /Book/Index.Word=E-Tools/Ref/Page
out: TestBook - Parsing /Book/Index.Word=E-Tool/Ref/Page
out: TestBook - 5
out: TestBook - 29
out: TestBook - Parsing /Book/Index.Word=E-Tool/Ref.Line=15/Page
out: TestBook - 5
out: TestBook - Parsing /Book/Index.Word=E-Tool/Ref.Line=15/Page=22
out: TestBook - Parsing /Book/Index.Word=E-Tool/Ref.Line=15/Page=5
out: TestBook - 5
out: TestBook - Book
out: 
out:   Index[0]
out:   Chapter[0]
out:   Summary
out:   	<null>
out: 
out:   Good
out:   	false
out:   Available
out:   	false
out:   Extra
out:   	null
out: TestBook - Parsing /Book/Index.Word=E-Tools/Ref.Line=15/Page!
out: TestBook - null
out: TestBook - Book
out: 
out:   Index[1]
out:   	#0:
out:   	Word
out:   		<E-Tools>
out: 
out:   	Ref[1]
out:   		#0:
out:   		Page
out:   			<null>
out: 
out:   		Line
out:   			<15>
out: 
out:   Chapter[0]
out:   Summary
out:   	<null>
out: 
out:   Good
out:   	false
out:   Available
out:   	false
out:   Extra
out:   	null
out: TestBook - Parsing /Book/Chapter.Comment=My Comment
out: TestBook - Book
out: 
out:   Index[1]
out:   	#0:
out:   	Word
out:   		<E-Tools>
out: 
out:   	Ref[1]
out:   		#0:
out:   		Page
out:   			<null>
out: 
out:   		Line
out:   			<15>
out: 
out:   Chapter[0]
out:   Summary
out:   	<null>
out: 
out:   Good
out:   	false
out:   Available
out:   	false
out:   Extra
out:   	null
out: TestBook - Parsing /Book/Chapter.Comment=My Comment!
out: TestBook - Chapter
out: 
out:   Comment
out:   	<My Comment>
out: 
out:   Paragraph[0]
out:   Comment2
out:   	<null>
out: 
out: TestBook - Book
out: 
out:   Index[1]
out:   	#0:
out:   	Word
out:   		<E-Tools>
out: 
out:   	Ref[1]
out:   		#0:
out:   		Page
out:   			<null>
out: 
out:   		Line
out:   			<15>
out: 
out:   Chapter[1]
out:   	#0:
out:   	Comment
out:   		<My Comment>
out: 
out:   	Paragraph[0]
out:   	Comment2
out:   		<null>
out: 
out:   Summary
out:   	<null>
out: 
out:   Good
out:   	false
out:   Available
out:   	false
out:   Extra
out:   	null
out: TestBook - Parsing /Book/Index.Word=the word/Ref.Line=10/Page=20!
out: TestBook - 20
out: TestBook - Book
out: 
out:   Index[2]
out:   	#0:
out:   	Word
out:   		<E-Tools>
out: 
out:   	Ref[1]
out:   		#0:
out:   		Page
out:   			<null>
out: 
out:   		Line
out:   			<15>
out: 
out:   	#1:
out:   	Word
out:   		<the word>
out: 
out:   	Ref[1]
out:   		#0:
out:   		Page
out:   			<20>
out: 
out:   		Line
out:   			<10>
out: 
out:   Chapter[1]
out:   	#0:
out:   	Comment
out:   		<My Comment>
out: 
out:   	Paragraph[0]
out:   	Comment2
out:   		<null>
out: 
out:   Summary
out:   	<null>
out: 
out:   Good
out:   	false
out:   Available
out:   	false
out:   Extra
out:   	null
out: TestBook - creating the DOM document
out: TestBook - creating the bean graph
out: TestBook simple merge identical graphs -> OK
Finished running TestBook: 0