r93940 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r93939
|
r93940
|
r93941
>
Date:
23:47, 4 August 2011
Author:
inez
Status:
deferred
Tags:
Comment:
Add much more test cases for Content.getWikiDomLines
Modified paths:
/trunk/parsers/wikidom/tests/annotations/test.js
(modified) (
history
)
Diff
[
purge
]
Index: trunk/parsers/wikidom/tests/annotations/test.js
—
—
@@ -153,6 +153,73 @@
154
154
}
155
155
156
156
]
157
+ },
158
+ {
159
+ "text": "test3",
160
+ "annotations": [
161
+ {
162
+ "type": "bold",
163
+ "range": {
164
+ "start": 0,
165
+ "end": 5
166
+ }
167
+ },
168
+ {
169
+ "type": "italic",
170
+ "range": {
171
+ "start": 0,
172
+ "end": 5
173
+ }
174
+ }
175
+
176
+ ]
177
+ },
178
+ {
179
+ "text": "test4 test4 test4",
180
+ "annotations": [
181
+ {
182
+ "type": "bold",
183
+ "range": {
184
+ "start": 0,
185
+ "end": 2
186
+ }
187
+ },
188
+ {
189
+ "type": "bold",
190
+ "range": {
191
+ "start": 3,
192
+ "end": 5
193
+ }
194
+ },
195
+ {
196
+ "type": "italic",
197
+ "range": {
198
+ "start": 6,
199
+ "end": 8
200
+ }
201
+ },
202
+ {
203
+ "type": "italic",
204
+ "range": {
205
+ "start": 9,
206
+ "end": 11
207
+ }
208
+ },
209
+ {
210
+ "type": "bold",
211
+ "range": {
212
+ "start": 12,
213
+ "end": 14
214
+ }
215
+ },
216
+ {
217
+ "type": "bold",
218
+ "range": {
219
+ "start": 15,
220
+ "end": 17
221
+ }
222
+ }
223
+ ]
157
224
}
158
225
];
159
226
Status & tagging log
00:00, 5 August 2011
Reedy
(
talk
|
contribs
)
changed the
status
of r93940
[
removed:
new
added:
deferred]