Skip to content

Commit 3b2c367

Browse files
committed
Update PHPUnit tests
Resources of PHPUnit HtmlRendererTest::testInline() updated to be compatible with commit e227356
1 parent c984365 commit 3b2c367

File tree

1 file changed

+137
-1
lines changed

1 file changed

+137
-1
lines changed

tests/resources/htmlInline.txt

+137-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,137 @@
1-
<table class="Differences DifferencesInline"><thead><tr><th>Old</th><th>New</th><th>Differences</th></tr></thead><tbody class="ChangeInsert"><tr><th>&#xA0;</th><th>1</th><td class="Right"><ins></ins>&#xA0;</td></tr></tbody><tbody class="ChangeEqual"><tr><th>1</th><th>2</th><td class="Left">&lt;html&gt;</td></tr><tr><th>2</th><th>3</th><td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&lt;head&gt;</td></tr><tr><th>3</th><th>4</th><td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta http-equiv="Content-type" content="text/html; charset=utf-8"/&gt;</td></tr></tbody><tbody class="ChangeReplace"><tr><th>4</th><th>&#xA0;</th><td class="Left"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;<del>Hello</del> World!&lt;/title&gt;</span></td></tr><tr><th>&#xA0;</th><th>5</th><td class="Right"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;<ins>Goodbye Cruel</ins> World!&lt;/title&gt;</span></td></tr></tbody><tbody class="ChangeEqual"><tr><th>5</th><th>6</th><td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/head&gt;</td></tr><tr><th>6</th><th>7</th><td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&lt;body&gt;</td></tr></tbody><tbody class="ChangeInsert"><tr><th>&#xA0;</th><th>8</th><td class="Right"><ins>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Just a small amount of new text...&lt;/p&gt;</ins>&#xA0;</td></tr></tbody><tbody class="ChangeEqual"><tr><th>7</th><th>9</th><td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur 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.&lt;/p&gt;</td></tr><tr><th>8</th><th>10</th><td class="Left"></td></tr></tbody><tbody class="ChangeDelete"><tr><th>9</th><th>&#xA0;</th><td class="Left"><del>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2&gt;A heading we'll be removing&lt;/h2&gt;</del>&#xA0;</td></tr></tbody><tbody class="ChangeEqual"><tr><th>10</th><th>11</th><td class="Left">&lt;pre&gt;</td></tr></tbody><tbody class="ChangeReplace"><tr><th>11</th><th>&#xA0;</th><td class="Left"><span>构建具有中国<del>特色</del>的医学人才培养体系</span></td></tr><tr><th>&#xA0;</th><th>12</th><td class="Right"><span>构建具有中国<ins>國</ins>的医学人才培养体系</span></td></tr></tbody><tbody class="ChangeEqual"><tr><th>12</th><th>13</th><td class="Left">&lt;/pre&gt;</td></tr><tr><th>13</th><th>14</th><td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur 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.&lt;/p&gt;</td></tr><tr><th>14</th><th>15</th><td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;pre&gt;</td></tr></tbody><tbody class="ChangeReplace"><tr><th>15</th><th>&#xA0;</th><td class="Left"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;另外我覺得那個評<del>價</del>的白色櫃子有點沒有必要欸。外觀我就不說了 ,怎麼連空間都那麼狹隘。不過倒是從這個地方看出所謂的“改革” 😅😅</span></td></tr><tr><th>&#xA0;</th><th>16</th><td class="Right"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;另外我覺得那個評<ins>鑑</ins>的白色櫃子有點沒有必要欸。外觀我就不說了 ,怎麼連空間都那麼狹隘。不過倒是從這個地方看出所謂的“改革” 😅😅</span></td></tr></tbody><tbody class="ChangeEqual"><tr><th>16</th><th>17</th><td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/pre&gt;</td></tr></tbody><tbody class="ChangeReplace"><tr><th>17</th><th>&#xA0;</th><td class="Left"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Do you know in <del>Chinese, "金槍魚罐頭" means tuna</del> can.&lt;/p&gt;</span></td></tr><tr><th>&#xA0;</th><th>18</th><td class="Right"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Do you know in <ins>Japanese, "魚の缶詰" means fish</ins> can.&lt;/p&gt;</span></td></tr></tbody><tbody class="ChangeEqual"><tr><th>18</th><th>19</th><td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/body&gt;</td></tr><tr><th>19</th><th>20</th><td class="Left">&lt;/html&gt;</td></tr><tr><th>20</th><th>21</th><td class="Left"></td></tr></tbody></table>
1+
<table class="Differences DifferencesInline">
2+
<thead>
3+
<tr>
4+
<th>Old Version</th>
5+
<th>New Version</th>
6+
<th>Differences</th>
7+
</tr>
8+
</thead><tbody class="ChangeInsert"><tr>
9+
<th>&#xA0;</th>
10+
<th>1</th>
11+
<td class="Right">
12+
<ins></ins>
13+
&#xA0;
14+
</td>
15+
</tr></tbody><tbody class="ChangeEqual"><tr>
16+
<th>1</th>
17+
<th>2</th>
18+
<td class="Left">&lt;html&gt;</td>
19+
</tr><tr>
20+
<th>2</th>
21+
<th>3</th>
22+
<td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&lt;head&gt;</td>
23+
</tr><tr>
24+
<th>3</th>
25+
<th>4</th>
26+
<td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;meta http-equiv="Content-type" content="text/html; charset=utf-8"/&gt;</td>
27+
</tr></tbody><tbody class="ChangeReplace"><tr>
28+
<th>4</th>
29+
<th>&#xA0;</th>
30+
<td class="Left">
31+
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;<del>Hello</del> World!&lt;/title&gt;</span>
32+
</td>
33+
</tr><tr>
34+
<th>&#xA0;</th>
35+
<th>5</th>
36+
<td class="Right">
37+
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;title&gt;<ins>Goodbye Cruel</ins> World!&lt;/title&gt;</span>
38+
</td>
39+
</tr></tbody><tbody class="ChangeEqual"><tr>
40+
<th>5</th>
41+
<th>6</th>
42+
<td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/head&gt;</td>
43+
</tr><tr>
44+
<th>6</th>
45+
<th>7</th>
46+
<td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&lt;body&gt;</td>
47+
</tr></tbody><tbody class="ChangeInsert"><tr>
48+
<th>&#xA0;</th>
49+
<th>8</th>
50+
<td class="Right">
51+
<ins>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Just a small amount of new text...&lt;/p&gt;</ins>
52+
&#xA0;
53+
</td>
54+
</tr></tbody><tbody class="ChangeEqual"><tr>
55+
<th>7</th>
56+
<th>9</th>
57+
<td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur 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.&lt;/p&gt;</td>
58+
</tr><tr>
59+
<th>8</th>
60+
<th>10</th>
61+
<td class="Left"></td>
62+
</tr></tbody><tbody class="ChangeDelete"><tr>
63+
<th>9</th>
64+
<th>&#xA0;</th>
65+
<td class="Left">
66+
<del>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;h2&gt;A heading we'll be removing&lt;/h2&gt;</del>
67+
&#xA0;
68+
</td>
69+
</tr></tbody><tbody class="ChangeEqual"><tr>
70+
<th>10</th>
71+
<th>11</th>
72+
<td class="Left">&lt;pre&gt;</td>
73+
</tr></tbody><tbody class="ChangeReplace"><tr>
74+
<th>11</th>
75+
<th>&#xA0;</th>
76+
<td class="Left">
77+
<span>构建具有中国<del>特色</del>的医学人才培养体系</span>
78+
</td>
79+
</tr><tr>
80+
<th>&#xA0;</th>
81+
<th>12</th>
82+
<td class="Right">
83+
<span>构建具有中国<ins>國</ins>的医学人才培养体系</span>
84+
</td>
85+
</tr></tbody><tbody class="ChangeEqual"><tr>
86+
<th>12</th>
87+
<th>13</th>
88+
<td class="Left">&lt;/pre&gt;</td>
89+
</tr><tr>
90+
<th>13</th>
91+
<th>14</th>
92+
<td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Lorem ipsum dolor sit amet, consectetur 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.&lt;/p&gt;</td>
93+
</tr><tr>
94+
<th>14</th>
95+
<th>15</th>
96+
<td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;pre&gt;</td>
97+
</tr></tbody><tbody class="ChangeReplace"><tr>
98+
<th>15</th>
99+
<th>&#xA0;</th>
100+
<td class="Left">
101+
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;另外我覺得那個評<del>價</del>的白色櫃子有點沒有必要欸。外觀我就不說了 ,怎麼連空間都那麼狹隘。不過倒是從這個地方看出所謂的“改革” 😅😅</span>
102+
</td>
103+
</tr><tr>
104+
<th>&#xA0;</th>
105+
<th>16</th>
106+
<td class="Right">
107+
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;另外我覺得那個評<ins>鑑</ins>的白色櫃子有點沒有必要欸。外觀我就不說了 ,怎麼連空間都那麼狹隘。不過倒是從這個地方看出所謂的“改革” 😅😅</span>
108+
</td>
109+
</tr></tbody><tbody class="ChangeEqual"><tr>
110+
<th>16</th>
111+
<th>17</th>
112+
<td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/pre&gt;</td>
113+
</tr></tbody><tbody class="ChangeReplace"><tr>
114+
<th>17</th>
115+
<th>&#xA0;</th>
116+
<td class="Left">
117+
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Do you know in <del>Chinese, "金槍魚罐頭" means tuna</del> can.&lt;/p&gt;</span>
118+
</td>
119+
</tr><tr>
120+
<th>&#xA0;</th>
121+
<th>18</th>
122+
<td class="Right">
123+
<span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;p&gt;Do you know in <ins>Japanese, "魚の缶詰" means fish</ins> can.&lt;/p&gt;</span>
124+
</td>
125+
</tr></tbody><tbody class="ChangeEqual"><tr>
126+
<th>18</th>
127+
<th>19</th>
128+
<td class="Left">&nbsp;&nbsp;&nbsp;&nbsp;&lt;/body&gt;</td>
129+
</tr><tr>
130+
<th>19</th>
131+
<th>20</th>
132+
<td class="Left">&lt;/html&gt;</td>
133+
</tr><tr>
134+
<th>20</th>
135+
<th>21</th>
136+
<td class="Left"></td>
137+
</tr></tbody></table>

0 commit comments

Comments
 (0)