use of com.github.bordertech.wcomponents.WShuffler in project wcomponents by BorderTech.
the class WShufflerRenderer_Test method testSpecialCharacters.
@Test
public void testSpecialCharacters() throws IOException, SAXException, XpathException {
String optionA = "<A";
String optionB = "B&B";
String optionC = "C";
WShuffler shuffler = new WShuffler(Arrays.asList(new String[] { optionA, optionB, optionC }));
assertSchemaMatch(shuffler);
assertXpathEvaluatesTo("3", "count(//ui:shuffler/ui:option)", shuffler);
}
Aggregations