public void testSelectPropertyIndexedEnumerationProperty() throws Exception { SimpleBeanForTesting sbft = new SimpleBeanForTesting(); StringTokenizer st = new StringTokenizer("Test Message"); sbft.setEnumeration(st); pageContext.setAttribute("lst", sbft, PageContext.REQUEST_SCOPE); runMyTest("testSelectPropertyIndexedEnumerationProperty", ""); }
public void testSelectPropertyIndexedMapProperty() throws Exception { SimpleBeanForTesting sbft = new SimpleBeanForTesting(); HashMap map = new HashMap(); map.put("tst1", "Test Message"); sbft.setMap(map); pageContext.setAttribute("lst", sbft, PageContext.REQUEST_SCOPE); runMyTest("testSelectPropertyIndexedMapProperty", ""); }
public void testSelectPropertyIndexedArrayProperty() throws Exception { SimpleBeanForTesting sbft = new SimpleBeanForTesting(); ArrayList lst = new ArrayList(); lst.add("Test Message"); sbft.setList(lst); pageContext.setAttribute("lst", sbft, PageContext.REQUEST_SCOPE); runMyTest("testSelectPropertyIndexedArrayProperty", ""); }