" <op name=\"relate\" arg1=\"A\" arg2=\"B\" arg3=\"0FFFFFFF2\">" + StringUtil.newLine +
" true" + StringUtil.newLine +
" </op>" + StringUtil.newLine +
"</test>" + StringUtil.newLine +
"</case>" + StringUtil.newLine;
assertEquals(normalize(expectedXML), normalize(xmlTestWriter.getTestXML(new TestRunnerTestCaseAdapter(testCase))));
testCase.setGeometryA(new GeometryFactory().createPoint(new Coordinate(11, 12)));
expectedXML =
"<case>" + StringUtil.newLine +
" <desc>same point</desc>" + StringUtil.newLine +
" <a>" + StringUtil.newLine +
" POINT (11 12)" + StringUtil.newLine +
" </a>" + StringUtil.newLine +
" <b>" + StringUtil.newLine +
" POINT (1 2)" + StringUtil.newLine +
" </b>" + StringUtil.newLine +
"<test>" + StringUtil.newLine +
" <op name=\"relate\" arg1=\"A\" arg2=\"B\" arg3=\"0FFFFFFF2\">" + StringUtil.newLine +
" true" + StringUtil.newLine +
" </op>" + StringUtil.newLine +
"</test>" + StringUtil.newLine +
"</case>" + StringUtil.newLine;
assertEquals(normalize(expectedXML), normalize(xmlTestWriter.getTestXML(new TestRunnerTestCaseAdapter(testCase))));
}