Lines Matching +full:- +full:1

16         $this->P->addMode('table',new Table());
17 $this->P->parse('
19 | Row 0 Col 1 | Row 0 Col 2 | Row 0 Col 3 |
20 | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
29 ['tablecell_open',[1,'left',1]],
30 ['cdata',[' Row 0 Col 1 ']],
32 ['tablecell_open',[1,'left',1]],
35 ['tablecell_open',[1,'left',1]],
40 ['tablecell_open',[1,'left',1]],
41 ['cdata',[' Row 1 Col 1 ']],
43 ['tablecell_open',[1,'left',1]],
44 ['cdata',[' Row 1 Col 2 ']],
46 ['tablecell_open',[1,'left',1]],
47 ['cdata',[' Row 1 Col 3 ']],
56 $this->assertCalls($calls, $this->H->calls);
60 $this->P->addMode('table',new Table());
61 …$this->P->parse("\r\nabc\r\n| Row 0 Col 1 | Row 0 Col 2 | Row 0 Col 3 |\r\n| Row 1 C…
69 ['tablecell_open',[1,'left',1]],
70 ['cdata',[' Row 0 Col 1 ']],
72 ['tablecell_open',[1,'left',1]],
75 ['tablecell_open',[1,'left',1]],
80 ['tablecell_open',[1,'left',1]],
81 ['cdata',[' Row 1 Col 1 ']],
83 ['tablecell_open',[1,'left',1]],
84 ['cdata',[' Row 1 Col 2 ']],
86 ['tablecell_open',[1,'left',1]],
87 ['cdata',[' Row 1 Col 3 ']],
96 $this->assertCalls($calls, $this->H->calls);
100 $this->P->addMode('table',new Table());
101 $this->P->parse('
111 ['table_open',[0, 1, 6]],
121 $this->assertCalls($calls, $this->H->calls);
125 $this->P->addMode('table',new Table());
126 $this->P->parse('
136 ['table_open',[3, 1, 6]],
138 ['tableheader_open',[1,null,1]],
141 ['tablecell_open',[1,null,1]],
144 ['tableheader_open',[1,null,1]],
155 $this->assertCalls($calls, $this->H->calls);
160 $this->P->addMode('table',new Table());
161 $this->P->parse('
175 ['tableheader_open',[1,null,1]],
178 ['tableheader_open',[1,null,1]],
181 ['tableheader_open',[1,null,1]],
187 ['tablecell_open',[1,null,1]],
190 ['tablecell_open',[1,null,1]],
193 ['tablecell_open',[1,null,1]],
204 $this->assertCalls($calls, $this->H->calls);
209 $this->P->addMode('table',new Table());
210 $this->P->parse('
220 ['table_open',[3, 1, 6]],
222 ['tableheader_open',[1,null,1]],
225 ['tableheader_open',[1,null,1]],
228 ['tableheader_open',[1,null,1]],
239 $this->assertCalls($calls, $this->H->calls);
244 $this->P->addMode('table',new Table());
245 $this->P->parse('
260 ['tableheader_open',[1,null,1]],
263 ['tableheader_open',[1,null,1]],
266 ['tableheader_open',[1,null,1]],
271 ['tableheader_open',[1,null,1]],
274 ['tableheader_open',[1,null,1]],
277 ['tableheader_open',[1,null,1]],
283 ['tablecell_open',[1,null,1]],
286 ['tablecell_open',[1,null,1]],
289 ['tablecell_open',[1,null,1]],
300 $this->assertCalls($calls, $this->H->calls);
305 $this->P->addMode('table',new Table());
306 $this->P->parse('
316 ['table_open',[3, 1, 6]],
318 ['tablecell_open',[1,'right',1]],
321 ['tablecell_open',[1,'left',1]],
324 ['tableheader_open',[1,'center',1]],
335 $this->assertCalls($calls, $this->H->calls);
339 $this->P->addMode('table',new Table());
340 $this->P->parse('
354 ['tablecell_open',[2,'right',1]],
357 ['tablecell_open',[1,null,1]],
362 ['tablecell_open',[1,null,1]],
365 ['tableheader_open',[2,null,1]],
377 $this->assertCalls($calls, $this->H->calls);
381 $this->P->addMode('table',new Table());
382 $this->P->parse('
396 ['tablecell_open',[1,null,2]],
399 ['tablecell_open',[2,'right',1]],
404 ['tableheader_open',[1,'left',2]],
407 ['tablecell_open',[1,null,1]],
412 ['tablecell_open',[1,'left',1]],
415 ['tablecell_open',[1,null,1]],
425 $this->assertCalls($calls, $this->H->calls);
429 $this->P->addMode('table',new Table());
430 $this->P->parse('
444 ['tablecell_open',[1,null,1]],
447 ['tableheader_open',[1,'right',1]],
450 ['tableheader_open',[1,null,1]],
453 ['tablecell_open',[1,null,3]],
458 ['tablecell_open',[1,null,1]],
461 ['tableheader_open',[1,'left',2]],
464 ['tablecell_open',[1,null,1]],
469 ['tablecell_open',[1,'left',1]],
472 ['tablecell_open',[1,null,1]],
483 $this->assertCalls($calls, $this->H->calls);
487 $this->P->addMode('table',new Table());
488 $this->P->parse('
503 ['tableheader_open',[1,null,1]],
506 ['tableheader_open',[1,null,2]],
509 ['tableheader_open',[1,null,1]],
514 ['tableheader_open',[1,null,1]],
517 ['tableheader_open',[1,null,1]],
523 ['tablecell_open',[1,null,1]],
526 ['tablecell_open',[1,null,1]],
529 ['tablecell_open',[1,null,1]],
540 $this->assertCalls($calls, $this->H->calls);
545 $this->P->addMode('table',new Table());
546 $this->P->parse('
562 ['tableheader_open',[1,null,1]],
565 ['tableheader_open',[1,null,2]],
568 ['tableheader_open',[1,null,1]],
573 ['tableheader_open',[1,null,1]],
576 ['tableheader_open',[1,null,1]],
582 ['tablecell_open',[1,null,1]],
585 ['tablecell_open',[1,null,2]],
588 ['tablecell_open',[1,null,1]],
593 ['tablecell_open',[1,null,1]],
596 ['tablecell_open',[1,null,1]],
607 $this->assertCalls($calls, $this->H->calls);
612 $this->P->addMode('table',new Table());
613 $this->P->addMode('strong',new Strong());
614 $this->P->parse('
624 ['table_open',[3, 1, 6]],
626 ['tablecell_open',[1,'right',1]],
633 ['tablecell_open',[1,'left',1]],
636 ['tableheader_open',[1,'center',1]],
647 $this->assertCalls($calls, $this->H->calls);
652 $this->P->addMode('table',new Table());
653 $this->P->addMode('eol',new Eol());
654 $this->P->parse('
656 | Row 0 Col 1 | Row 0 Col 2 | Row 0 Col 3 |
657 | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
666 ['tablecell_open',[1,'left',1]],
667 ['cdata',[' Row 0 Col 1 ']],
669 ['tablecell_open',[1,'left',1]],
672 ['tablecell_open',[1,'left',1]],
677 ['tablecell_open',[1,'left',1]],
678 ['cdata',[' Row 1 Col 1 ']],
680 ['tablecell_open',[1,'left',1]],
681 ['cdata',[' Row 1 Col 2 ']],
683 ['tablecell_open',[1,'left',1]],
684 ['cdata',[' Row 1 Col 3 ']],
693 $this->assertCalls($calls, $this->H->calls);
696 // This is really a failing test - formatting able to spread across cols
699 $this->P->addMode('table',new Table());
700 $this->P->addMode('strong',new Strong());
701 $this->P->parse('
703 | **Row 0 Col 1** | **Row 0 Col 2 | Row 0 Col 3** |
704 | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
713 ['tablecell_open',[1,'left',1]],
716 ['cdata',['Row 0 Col 1']],
720 ['tablecell_open',[1,'left',1]],
727 ['tablecell_open',[1,null,1]],
732 ['tablecell_open',[1,'left',1]],
733 ['cdata',[' Row 1 Col 1 ']],
735 ['tablecell_open',[1,'left',1]],
736 ['cdata',[' Row 1 Col 2 ']],
738 ['tablecell_open',[1,'left',1]],
739 ['cdata',[' Row 1 Col 3 ']],
748 $this->assertCalls($calls, $this->H->calls);
751 // This is really a failing test - unformatted able to spread across cols
754 $this->P->addMode('table',new Table());
755 $this->P->addMode('unformatted',new Unformatted());
756 $this->P->parse('
758 | <nowiki>Row 0 Col 1</nowiki> | <nowiki>Row 0 Col 2 | Row 0 Col 3</nowiki> |
759 | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
768 ['tablecell_open',[1,'left',1]],
770 ['unformatted',['Row 0 Col 1']],
773 ['tablecell_open',[1,'left',1]],
778 ['tablecell_open',[1,null,1]],
783 ['tablecell_open',[1,'left',1]],
784 ['cdata',[' Row 1 Col 1 ']],
786 ['tablecell_open',[1,'left',1]],
787 ['cdata',[' Row 1 Col 2 ']],
789 ['tablecell_open',[1,'left',1]],
790 ['cdata',[' Row 1 Col 3 ']],
799 $this->assertCalls($calls, $this->H->calls);
803 $this->P->addMode('table',new Table());
804 $this->P->addMode('linebreak',new Linebreak());
805 $this->P->parse('
807 | Row 0\\\\ Col 1 | Row 0 Col 2 | Row 0 Col 3 |
808 | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
817 ['tablecell_open',[1,'left',1]],
820 ['cdata',['Col 1 ']],
822 ['tablecell_open',[1,'left',1]],
825 ['tablecell_open',[1,'left',1]],
830 ['tablecell_open',[1,'left',1]],
831 ['cdata',[' Row 1 Col 1 ']],
833 ['tablecell_open',[1,'left',1]],
834 ['cdata',[' Row 1 Col 2 ']],
836 ['tablecell_open',[1,'left',1]],
837 ['cdata',[' Row 1 Col 3 ']],
847 $this->assertCalls($calls, $this->H->calls);
850 // This is really a failing test - footnote able to spread across cols
853 $this->P->addMode('table',new Table());
854 $this->P->addMode('footnote',new Footnote());
855 $this->P->parse('
857 | ((Row 0 Col 1)) | ((Row 0 Col 2 | Row 0 Col 3)) |
858 | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 |
867 ['tablecell_open',[1,'left',1]],
871 ['cdata',['Row 0 Col 1']],
876 ['tablecell_open',[1,'left',1]],
885 ['tablecell_open',[1,null,1]],
890 ['tablecell_open',[1,'left',1]],
891 ['cdata',[' Row 1 Col 1 ']],
893 ['tablecell_open',[1,'left',1]],
894 ['cdata',[' Row 1 Col 2 ']],
896 ['tablecell_open',[1,'left',1]],
897 ['cdata',[' Row 1 Col 3 ']],
906 $this->assertCalls($calls, $this->H->calls);
910 $syntax = " \n| Row 0 Col 1 |\n";
911 $this->P->addMode('table',new Table());
912 $this->P->parse($syntax);
915 ['table_open',[1, 1, 2]],
917 ['tablecell_open',[1,'left',1]],
918 ['cdata',[' Row 0 Col 1 ']],
924 $this->assertCalls($calls, $this->H->calls);
932 $this->P->addMode('table',new Table());
933 $this->P->parse($syntax);
939 ['tablecell_open',[1,null,1]],
942 ['tablecell_open',[1,null,1]],
945 ['tablecell_open',[1,null,1]],
951 ['tablecell_open',[1,null,1]],
954 ['tablecell_open',[1,null,1]],
957 ['tablecell_open',[1,null,1]],
965 $this->assertCalls($calls, $this->H->calls);
973 $this->P->addMode('table',new Table());
974 $this->P->parse($syntax);
980 ['tablecell_open',[1,null,1]],
983 ['tablecell_open',[1,null,1]],
986 ['tablecell_open',[1,null,1]],
992 ['tablecell_open',[1,null,1]],
995 ['tablecell_open',[1,null,1]],
998 ['tablecell_open',[1,null,1]],
1006 $this->assertCalls($calls, $this->H->calls);