1 54 package org.w3c.tidy; 55 56 64 public class TidyWarningBugsTest extends TidyTestCase 65 { 66 67 71 public TidyWarningBugsTest(String name) 72 { 73 super(name); 74 } 75 76 80 public void test427810() throws Exception 81 { 82 89 executeTidyTest("427810.html"); 90 assertWarnings(4); 91 } 92 93 97 public void test431874() throws Exception 98 { 99 executeTidyTest("431874.html"); 100 assertWarnings(2); 101 } 102 103 107 public void test427827() throws Exception 108 { 109 113 executeTidyTest("427827.html"); 114 assertWarnings(2); 115 } 116 117 121 public void test427834() throws Exception 122 { 123 executeTidyTest("427834.html"); 125 assertNoWarnings(); 126 } 127 128 132 public void test427844() throws Exception 133 { 134 executeTidyTest("427844.html"); 135 136 assertNoWarnings(); 137 } 138 139 144 public void test431719() throws Exception 145 { 146 151 153 executeTidyTest("431719.html"); 154 assertNoWarnings(); 155 } 156 157 161 public void test431883() throws Exception 162 { 163 executeTidyTest("431883.html"); 164 165 assertLogContains("Doctype given is \"-//W3C//DTD HTML 4.0"); 166 } 167 168 172 public void test431956() throws Exception 173 { 174 176 executeTidyTest("431956.xml"); 177 assertNoWarnings(); 178 } 179 180 184 public void test431964() throws Exception 185 { 186 192 executeTidyTest("431964.html"); 193 assertWarnings(2); 194 } 195 196 200 public void test433021() throws Exception 201 { 202 executeTidyTest("433021.html"); 203 assertLogContains("align"); 204 assertLogContains("valign"); 205 assertWarnings(5); 206 } 207 208 212 public void test433607() throws Exception 213 { 214 216 executeTidyTest("433607.xml"); 218 219 assertWarnings(1); 220 } 221 222 226 public void test433670() throws Exception 227 { 228 executeTidyTest("433670.xml"); 230 assertNoWarnings(); 231 } 232 233 237 public void test434047() throws Exception 238 { 239 243 executeTidyTest("434047.html"); 244 245 assertLogContains("HTML 4.01 Strict"); 246 247 } 248 249 253 public void test434100() throws Exception 254 { 255 259 executeTidyTest("434100.html"); 260 assertErrors(1); 261 assertNoWarnings(); 262 } 263 264 268 public void test435917() throws Exception 269 { 270 272 executeTidyTest("435917.html"); 273 assertWarnings(1); 274 } 275 276 280 public void test435917b() throws Exception 281 { 282 284 287 executeTidyTest("435917.html"); 288 assertLogDoesntContains("null"); 289 } 290 291 295 public void test435922() throws Exception 296 { 297 305 executeTidyTest("435922.html"); 306 assertWarnings(4); 307 } 308 309 313 public void test438956() throws Exception 314 { 315 321 executeTidyTest("438956.html"); 322 323 assertWarnings(2); 324 } 325 326 330 public void test446019() throws Exception 331 { 332 336 executeTidyTest("446019.xhtml"); 337 338 assertLogContains("XHTML 1.0 Transitional"); 339 } 340 341 345 public void test450389() throws Exception 346 { 347 355 executeTidyTest("450389.html"); 356 assertWarnings(6); 357 } 358 359 363 public void test501230() throws Exception 364 { 365 executeTidyTest("501230.xhtml"); 366 assertLogDoesntContains("lower case"); 367 } 368 369 373 public void test501669() throws Exception 374 { 375 379 executeTidyTest("501669.html"); 380 381 assertNoWarnings(); 382 } 383 384 388 public void test516370() throws Exception 389 { 390 396 executeTidyTest("516370.xhtml"); 397 assertWarnings(5); 398 assertLogContains("XML ID syntax"); 399 } 400 401 405 public void test517528() throws Exception 406 { 407 executeTidyTest("517528.html"); 408 409 assertNoWarnings(); 410 } 411 412 416 public void test525081() throws Exception 417 { 418 422 executeTidyTest("525081.html"); 423 assertNoWarnings(); 424 } 425 426 430 public void test538536() throws Exception 431 { 432 438 executeTidyTest("538536.html"); 439 assertNoErrors(); 440 assertWarnings(2); 441 } 442 443 447 public void test545067() throws Exception 448 { 449 453 455 executeTidyTest("545067.html"); 456 assertLogDoesntContains("<head>"); 457 } 458 459 463 public void test552861() throws Exception 464 { 465 executeTidyTest("552861.html"); 466 assertWarnings(1); 468 } 469 470 474 public void test553414() throws Exception 475 { 476 executeTidyTest("553414.html"); 477 assertLogContains("given is \"-//W3C//DTD XHTML 1.0 Strict//EN\""); 478 assertLogContains("looks like XHTML 1.0 Transitional"); 479 assertWarnings(1); 480 } 481 482 486 public void test553468() throws Exception 487 { 488 489 493 executeTidyTest("553468.xhtml"); 494 495 assertLogContains("XHTML 1.0 Transitional"); 496 } 497 498 502 public void test559774() throws Exception 503 { 504 executeTidyTest("559774.html"); 505 assertNoWarnings(); 506 } 507 508 512 public void test706260() throws Exception 513 { 514 518 executeTidyTest("706260.html"); 519 assertNoWarnings(); 520 } 521 522 } | Popular Tags |