public void testPrepareAltSyntax_Interference()

in src/main/java/com/atlassian/uwc/converters/jspwiki/AltPrepConverterTest.java [170:292]


	public void testPrepareAltSyntax_Interference() {
		String input, expected, actual;
		input = "This is for testing CSS style conversions\n" + 
				"\n" + 
				"%%sub This should be subscript%% not sub\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%sup This should be superscript %% not super\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%strike\n" + 
				"This should be strikethroughed\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%commentbox\n" + 
				"floating right margin comment box\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%information\n" + 
				"This is an info box\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%warning\n" + 
				"This is warning box\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%error\n" + 
				"Error box\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%warning what about inline? %%\n" + 
				"\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"Some CSS next:\n" + 
				"%%( font-name:Times New Roman; color:blue; background-color:#999999; border:2px dashed #999900;)\n" + 
				"This panel could be weird\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%small\n" + 
				"Something we\'re not supporting\n" + 
				"%%\n" + 
				"\n" + 
				"%%sortable\n" + 
				"Something else we\'re not supporting\n" + 
				"%%";
		expected = "This is for testing CSS style conversions\n" + 
				"\n" + 
				"%%sub This should be subscript%% not sub\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%sup This should be superscript %% not super\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%strike\n" + 
				"This should be strikethroughed\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%commentbox\n" + 
				"floating right margin comment box\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%information\n" + 
				"This is an info box\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%warning\n" + 
				"This is warning box\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%error\n" + 
				"Error box\n" + 
				"%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%warning what about inline? %%\n" + 
				"\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"Some CSS next:\n" + 
				"%%( font-name:Times New Roman; color:blue; background-color:#999999; border:2px dashed #999900;)\n" + 
				"This panel could be weird%%\n" + 
				"\n" + 
				"normal\n" + 
				"\n" + 
				"%%small\n" + 
				"Something we\'re not supporting\n" + 
				"%%\n" + 
				"\n" + 
				"%%sortable\n" + 
				"Something else we\'re not supporting\n" + 
				"%%";
		actual = tester.prepareAltSyntax(input);
		assertNotNull(actual);
		assertEquals(expected, actual);
	}