public void testSameAsComplicated_NoColspans()

in src/main/java/com/atlassian/uwc/converters/dokuwiki/TableRowColSpanConverterTest.java [338:472]


	public void testSameAsComplicated_NoColspans() { 
		String input, expected, actual;
		input = "<table><tbody>\n" + 
				"<tr>\n" + 
				"<th><p> Heading 1      </p></th>\n" + 
				"<th><p> Heading 2       </p></th>\n" + 
				"<th><p> Heading 3          </p></th>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 1 Col 1    </p></td>\n" + 
				"<td><p> Row 1 Col 2     </p></td>\n" + 
				"<td><p> Row 1 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 2 Col 1</p></td>\n" + 
				"<td><p> Row 2 Col 2</p></td>\n" +
				"<td><p> Row 2 Col 3</p></td>\n" +
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 3 Col 1    </p></td>\n" + 
				"<td><p> Row 3 Col 2     </p></td>\n" + 
				"<td><p> Row 3 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 4 Col 1    </p></td>\n" + 
				"<td><p> this cell spans vertically ::UWCTOKENROWSPANS:3::</p></td>\n" + 
				"<td><p> Row 4 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 5 Col 1    </p></td>\n" + 
				"<td><p> :::                        </p></td>\n" + 
				"<td><p> Row 5 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 6 Col 1    </p></td>\n" + 
				"<td><p> :::                        </p></td>\n" + 
				"<td><p> Row 6 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 7 Col 1    </p></td>\n" + 
				"<td><p> Row 7 Col 2     </p></td>\n" + 
				"<td><p> Row 7 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 8 Col 1</p></td>\n" +
				"<td><p> Row 8 Col 2</p></td>\n" +
				"<td><p> Row 8 Col 3</p></td>\n" +
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 9 Col 1    ::UWCTOKENROWSPANS:3::</p></td>\n" + 
				"<td><p> Row 9 Col 2     </p></td>\n" + 
				"<td><p> Row 9 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> :::                        </p></td>\n" + 
				"<td><p> Row 10 Col 2</p></td>\n" +
				"<td><p> Row 10 Col 3</p></td>\n" +
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> :::                        </p></td>\n" + 
				"<td><p> Row 11 Col 2</p></td>\n" +
				"<td><p> Row 11 Col 3</p></td>\n" + 
				"</tr>\n" + 
				"</tbody></table>\n" + 
				"";
		expected = "<table><tbody>\n" + 
				"<tr>\n" + 
				"<th><p> Heading 1      </p></th>\n" + 
				"<th><p> Heading 2       </p></th>\n" + 
				"<th><p> Heading 3          </p></th>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 1 Col 1    </p></td>\n" + 
				"<td><p> Row 1 Col 2     </p></td>\n" + 
				"<td><p> Row 1 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 2 Col 1</p></td>\n" + 
				"<td><p> Row 2 Col 2</p></td>\n" +
				"<td><p> Row 2 Col 3</p></td>\n" +
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 3 Col 1    </p></td>\n" + 
				"<td><p> Row 3 Col 2     </p></td>\n" + 
				"<td><p> Row 3 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 4 Col 1    </p></td>\n" + 
				"<td rowspan='3'><p> this cell spans vertically </p></td>\n" + 
				"<td><p> Row 4 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 5 Col 1    </p></td>\n" + 
				"\n" + 
				"<td><p> Row 5 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 6 Col 1    </p></td>\n" + 
				"\n" + 
				"<td><p> Row 6 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 7 Col 1    </p></td>\n" + 
				"<td><p> Row 7 Col 2     </p></td>\n" + 
				"<td><p> Row 7 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"<td><p> Row 8 Col 1</p></td>\n" +
				"<td><p> Row 8 Col 2</p></td>\n" +
				"<td><p> Row 8 Col 3</p></td>\n" +
				"</tr>\n" + 
				"<tr>\n" + 
				"<td rowspan='3'><p> Row 9 Col 1    </p></td>\n" + 
				"<td><p> Row 9 Col 2     </p></td>\n" + 
				"<td><p> Row 9 Col 3        </p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"\n" + 
				"<td><p> Row 10 Col 2</p></td>\n" +
				"<td><p> Row 10 Col 3</p></td>\n" + 
				"</tr>\n" + 
				"<tr>\n" + 
				"\n" + 
				"<td><p> Row 11 Col 2</p></td>\n" +
				"<td><p> Row 11 Col 3</p></td>\n" + 
				"</tr>\n" + 
				"</tbody></table>\n";

		Page page =new Page(null);
		page.setOriginalText(input);
		tester.convert(page);
		actual = page.getConvertedText();
		assertNotNull(actual);
		assertEquals(expected, actual);
	}