1 11 package org.jboss.portal.test.portlet.portletconfig; 12 13 import org.jboss.portal.junit.ClientSession; 14 import org.jboss.portal.junit.Result; 15 import org.jboss.portal.junit.AbstractTestCase; 16 17 21 public class PortletConfigTestCase extends AbstractTestCase 22 { 23 24 public PortletConfigTestCase(String name) 25 { 26 super(name); 27 } 28 29 public void testResourceBundle() throws Throwable 30 { 31 ClientSession session = createSession(); 32 session.deploy("test-portletconfig"); 33 Result result = start(session, "ResourceBundlePortlet"); 34 check(result, 1); 35 session.close(); 36 } 37 38 public void testResourceBundleCascade() throws Throwable 39 { 40 ClientSession session = createSession(); 41 session.deploy("test-portletconfig"); 42 Result result = start(session, "ResourceBundleCascadePortlet"); 43 check(result, 1); 44 session.close(); 45 } 46 47 } 48 | Popular Tags |