Unit test: programlisting.015

This test checks the page-break-avoid role as a way of avoiding page breaks in PDF. It works on any element, but programlisting is an easy place to check.

Lorem ipsum dolor sit amet, consectetaur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum Et harumd und lookum like Greek to me, dereud facilis est er expedit distinct. Nam liber te conscient to factor tum poen legum odioque civiuda. Et tam neque pecun modut est neque nonor et imper ned libidig met, consectetur adipiscing elit, sed ut labore et dolore magna aliquam makes one wonder who would ever read this stuff?

 1 |Line 01
   |Line 02
   |Line 03
   |Line 04
 5 |Line 05
   |Line 06
   |Line 07
   |Line 08
   |Line 09
10 |Line 10
   |Line 11
   |Line 12

(In a paged media presentation, the entire program listing should be on pageĀ 2.)

 1 |Line 01
   |Line 02
   |Line 03
   |Line 04
 5 |Line 05
   |Line 06
   |Line 07
   |Line 08
   |Line 09
10 |Line 10
   |Line 11
   |Line 12
   |Line 13
   |Line 14
15 |Line 15
   |Line 16
   |Line 17
   |Line 18
   |Line 19
20 |Line 20
   |Line 21
   |Line 22
   |Line 23
   |Line 24
25 |Line 25

(In a paged media presentation, the entire second program listing should be on pageĀ 3.)