/plugin/html2pdf/html2pdf/html2ps/unittest/ |
H A D | test.css.parse.php | 65 $this->assertEqual($color->r, 1); 66 $this->assertEqual($color->g, 0); 67 $this->assertEqual($color->b, 0); 88 $this->assertEqual($color->r, 1); 89 $this->assertEqual($color->g, 0); 90 $this->assertEqual($color->b, 0); 111 $this->assertEqual($color->r, 1); 112 $this->assertEqual($color->g, 0); 113 $this->assertEqual($color->b, 0); 136 $this->assertEqual($color->r, 1); [all …]
|
H A D | test.border-bottom.php | 10 $this->assertEqual($top->get_style(), BS_NONE); 12 $this->assertEqual($left->get_style(), BS_NONE); 14 $this->assertEqual($right->get_style(), BS_NONE); 18 $this->assertEqual($width, px2pt(1)); 20 $this->assertEqual($color->r, 0); 21 $this->assertEqual($color->g, 0); 22 $this->assertEqual($color->b, 0); 35 $this->assertEqual($width, px2pt(1)); 37 $this->assertEqual($color->r, 0); 38 $this->assertEqual($color->g, 0); [all …]
|
H A D | test.border-right.php | 10 $this->assertEqual($top->get_style(), BS_NONE); 14 $this->assertEqual($left->get_style(), BS_NONE); 18 $this->assertEqual($width, px2pt(1)); 20 $this->assertEqual($color->r, 0); 21 $this->assertEqual($color->g, 0); 22 $this->assertEqual($color->b, 0); 27 $this->assertEqual($top->get_style(), BS_NONE); 35 $this->assertEqual($width, px2pt(1)); 37 $this->assertEqual($color->r, 0); 38 $this->assertEqual($color->g, 0); [all …]
|
H A D | test.border-top.php | 10 $this->assertEqual($right->get_style(), BS_NONE); 14 $this->assertEqual($left->get_style(), BS_NONE); 16 $this->assertEqual($top->get_style(), BS_SOLID); 18 $this->assertEqual($width, px2pt(1)); 20 $this->assertEqual($color->r, 0); 21 $this->assertEqual($color->g, 0); 22 $this->assertEqual($color->b, 0); 35 $this->assertEqual($width, px2pt(1)); 37 $this->assertEqual($color->r, 0); 38 $this->assertEqual($color->g, 0); [all …]
|
H A D | test.border-left.php | 10 $this->assertEqual($top->get_style(), BS_NONE); 14 $this->assertEqual($right->get_style(), BS_NONE); 18 $this->assertEqual($width, px2pt(1)); 20 $this->assertEqual($color->r, 0); 21 $this->assertEqual($color->g, 0); 22 $this->assertEqual($color->b, 0); 27 $this->assertEqual($top->get_style(), BS_NONE); 35 $this->assertEqual($width, px2pt(1)); 37 $this->assertEqual($color->r, 0); 38 $this->assertEqual($color->g, 0); [all …]
|
H A D | test.table.border.php | 22 $this->assertEqual($table_border->left->style , BS_SOLID); 23 $this->assertEqual($table_border->right->style , BS_SOLID); 24 $this->assertEqual($table_border->top->style , BS_SOLID); 25 $this->assertEqual($table_border->bottom->style , BS_SOLID); 34 $this->assertEqual($cell1_border->left->style , BS_SOLID); 35 $this->assertEqual($cell1_border->right->style , BS_SOLID); 36 $this->assertEqual($cell1_border->top->style , BS_SOLID); 37 $this->assertEqual($cell1_border->bottom->style , BS_SOLID); 50 $this->assertEqual($cell2_border->left->style , BS_SOLID); 52 $this->assertEqual($cell2_border->top->style , BS_SOLID); [all …]
|
H A D | test.white-space.php | 8 $this->assertEqual($this->get_line_box_count($element), 13 $this->assertEqual($this->get_line_box_count($element), 18 $this->assertEqual($this->get_line_box_count($element), 23 $this->assertEqual($this->get_line_box_count($element), 28 $this->assertEqual($this->get_line_box_count($element), 33 $this->assertEqual($this->get_line_box_count($element), 38 $this->assertEqual($this->get_line_box_count($element), 43 $this->assertEqual($this->get_line_box_count($element), 52 $this->assertEqual($this->get_line_box_count($element), 57 $this->assertEqual($this->get_line_box_count($element), [all …]
|
H A D | test.css.priority.php | 28 $this->assertEqual(1, $color->r); 29 $this->assertEqual(0, $color->g); 30 $this->assertEqual(0, $color->b); 34 $this->assertEqual(0, $color->r); 35 $this->assertEqual(1, $color->g); 36 $this->assertEqual(0, $color->b); 40 $this->assertEqual(0, $color->r); 41 $this->assertEqual(0, $color->g); 42 $this->assertEqual(1, $color->b);
|
H A D | test.css.parse.atrules.php | 8 … $this->assertEqual($new_css_content, 'body { background-color: green; } #test { border: none; }'); 12 $this->assertEqual($color->r, 1); 13 $this->assertEqual($color->g, 0); 14 $this->assertEqual($color->b, 0); 21 … $this->assertEqual($new_css_content, 'body { background-color: green; } #test { border: none; }'); 25 $this->assertEqual($color->r, 0); 26 $this->assertEqual($color->g, 1); 27 $this->assertEqual($color->b, 0); 34 … $this->assertEqual($new_css_content, 'body { background-color: green; } #test { border: none; }'); 38 $this->assertEqual($content->render(new CSSCounterCollection()), "TEXT");
|
H A D | test.autofix.url.php | 17 $this->assertEqual($source_url, $fixed_url); 33 $this->assertEqual($source_url, $fixed_url); 41 $this->assertEqual($source_url, $fixed_url); 49 $this->assertEqual($source_url, $fixed_url); 58 $this->assertEqual($expected_url, $fixed_url); 76 $this->assertEqual($expected_url, $fixed_url); 94 $this->assertEqual($expected_url, $fixed_url); 103 $this->assertEqual($expected_url, $fixed_url); 112 $this->assertEqual($expected_url, $fixed_url); 121 $this->assertEqual($expected_url, $fixed_url); [all …]
|
H A D | test.table.border.nested.php | 21 $this->assertEqual($table_border->left->style , BS_NONE); 22 $this->assertEqual($table_border->right->style , BS_NONE); 23 $this->assertEqual($table_border->top->style , BS_NONE); 24 $this->assertEqual($table_border->bottom->style , BS_NONE); 28 $this->assertEqual($cell_border->left->style , BS_NONE); 29 $this->assertEqual($cell_border->right->style , BS_NONE); 30 $this->assertEqual($cell_border->top->style , BS_NONE); 31 $this->assertEqual($cell_border->bottom->style , BS_NONE);
|
H A D | test.css.content.string.php | 11 $this->assertEqual($rendered, "Sample Content"); 22 $this->assertEqual($rendered, "Sample Content"); 31 $this->assertEqual($rendered, "Sample\nContent"); 40 $this->assertEqual($rendered, "Sample\n Content"); 49 $this->assertEqual($rendered, "Sample\nLine"); 58 $this->assertEqual($rendered, "Sample\nContent"); 67 $this->assertEqual($rendered, "Sample\nContent"); 76 $this->assertEqual($rendered, "Sample\n Content"); 85 $this->assertEqual($rendered, "Sample\nLine"); 94 $this->assertEqual($rendered, "SampleLontent");
|
H A D | test.width.absolute.positioned.php | 25 $this->assertEqual($element->get_width(), 29 $this->assertEqual($element->get_width(), 33 $this->assertEqual($element->get_width(), 37 $this->assertEqual($element->get_width(), 41 $this->assertEqual($element->get_width(), 50 $this->assertEqual($element->get_width(), 55 $this->assertEqual($element->get_width(), 60 $this->assertEqual($element->get_width(), 65 $this->assertEqual($element->get_width(),
|
H A D | test.link.php | 10 $this->assertEqual($color->r, 1); 11 $this->assertEqual($color->g, 0); 12 $this->assertEqual($color->b, 0); 21 $this->assertEqual($color->r, 1); 22 $this->assertEqual($color->g, 0); 23 $this->assertEqual($color->b, 0);
|
H A D | test.textarea.content.php | 10 $this->assertEqual($element->get_value(), 22 $this->assertEqual($element->get_value(), 32 $this->assertEqual($element->get_value(), 42 $this->assertEqual($element->get_value(), 52 $this->assertEqual($element->get_value(), 62 $this->assertEqual($element->get_value(),
|
H A D | test.css.content.php | 13 …$this->assertEqual($content->render($counters), "<span style="font-weight: bold;">… 24 …$this->assertEqual($content->render($counters), "<span style="font-weight: bold;">… 35 …$this->assertEqual($content->render($counters), "<span style="font-weight: bold;">… 55 $this->assertEqual($content->render($counters), "Page 10 of "); 75 $this->assertEqual($content->render($counters), "Page; 1 of; 10"); 86 $this->assertEqual($content->render($counters), ""); 97 $this->assertEqual($content->render($counters), ""); 110 $this->assertEqual($content->render($counters), ""); 113 $this->assertEqual($content->render($counters), "");
|
H A D | test.tag.ol.type.php | 8 $this->assertEqual(LST_DECIMAL, $ol->getCSSProperty(CSS_LIST_STYLE_TYPE)); 11 $this->assertEqual(LST_LOWER_LATIN, $ol->getCSSProperty(CSS_LIST_STYLE_TYPE)); 14 $this->assertEqual(LST_UPPER_LATIN, $ol->getCSSProperty(CSS_LIST_STYLE_TYPE)); 17 $this->assertEqual(LST_LOWER_ROMAN, $ol->getCSSProperty(CSS_LIST_STYLE_TYPE)); 20 $this->assertEqual(LST_UPPER_ROMAN, $ol->getCSSProperty(CSS_LIST_STYLE_TYPE));
|
H A D | test.pagebreak.table.lines.php | 81 $this->assertEqual($font_size->getPoints(), 20); 85 $this->assertEqual($font_size->getPoints(), 30); 88 $this->assertEqual(count($locations), 5); 94 $this->assertEqual(count($page_heights), 2, 97 $this->assertEqual($page_heights[0],
|
H A D | test.pagebreak.table.php | 24 $this->assertEqual(count($locations), 52 $this->assertEqual(count($locations), 55 $this->assertEqual($locations[0]->location, 58 $this->assertEqual($locations[1]->location, 61 $this->assertEqual($locations[2]->location,
|
H A D | test.position.horizontal.absolute.positioned.php | 15 $this->assertEqual($element->get_left(), 20 $this->assertEqual($element->get_left(), 25 $this->assertEqual($element->get_right(), 30 $this->assertEqual($element->get_left(), 35 $this->assertEqual($element->get_left(),
|
H A D | test.orphans.php | 40 $this->assertEqual(count($page_heights), 2, 44 $this->assertEqual($second_div->getCSSProperty(CSS_ORPHANS), 0); 87 $this->assertEqual(count($page_heights), 2, 91 $this->assertEqual($second_div->getCSSProperty(CSS_ORPHANS), 2); 134 $this->assertEqual(count($page_heights), 2, 138 $this->assertEqual($second_div->getCSSProperty(CSS_ORPHANS), 3);
|
H A D | test.css.background.attachment.php | 24 … $this->assertEqual(BACKGROUND_ATTACHMENT_FIXED, $div1->getCSSProperty(CSS_BACKGROUND_ATTACHMENT)); 27 …$this->assertEqual(BACKGROUND_ATTACHMENT_SCROLL, $div2->getCSSProperty(CSS_BACKGROUND_ATTACHMENT)); 30 …$this->assertEqual(BACKGROUND_ATTACHMENT_SCROLL, $div3->getCSSProperty(CSS_BACKGROUND_ATTACHMENT)); 32 … $this->assertEqual(BACKGROUND_ATTACHMENT_FIXED, $tree->getCSSProperty(CSS_BACKGROUND_ATTACHMENT));
|
H A D | test.table.column.width.php | 21 $this->assertEqual($width->width, $real_width); 22 $this->assertEqual($large->get_width(), $real_width); 41 $this->assertEqual($width->width, $real_width); 42 $this->assertEqual($large->get_width(), $real_width); 53 $this->assertEqual($container_table->get_width(), mm2pt($media->real_width())); 69 $this->assertEqual($container_table->get_width(), mm2pt($media->real_width()) * 0.9);
|
H A D | test.textarea.wrap.php | 11 $this->assertEqual($inline_content->get_line_box_count(), 24 $this->assertEqual($inline_content->get_line_box_count(), 40 $this->assertEqual($inline_content->get_line_box_count(), 53 $this->assertEqual($inline_content->get_line_box_count(),
|
/plugin/pagemove/_test/ |
H A D | pagemove.test.php | 195 $this->assertEqual($expectedContent, $newContent); 222 $this->assertEqual($expectedContent, $newContent); 253 $this->assertEqual($expectedContent, $newContent); 279 $this->assertEqual($expectedContent, $newContent); 313 $this->assertEqual($expectedContent, $newContent); 340 $this->assertEqual($expectedContent, $newContent); 371 $this->assertEqual($expectedContent, $newContent); 397 $this->assertEqual($expectedContent, $newContent); 432 $this->assertEqual($expectedContent, $newContent); 460 $this->assertEqual($expectedContent, $newContent); [all …]
|