1 5 package org.exoplatform.services.portletcontainer.imp; 6 7 import java.io.InputStream ; 8 import java.net.URL ; 9 import org.exoplatform.services.portletcontainer.pci.model.*; 10 import org.exoplatform.test.BasicTestCase; 11 12 19 public class TestPortletModelParser extends BasicTestCase { 20 21 public TestPortletModelParser(String name) { 22 super(name); 23 } 24 25 public void setUp() throws Exception { } 26 27 28 public void testPortletModelParser() throws Exception { 29 URL url = new URL ("file:./war_template/WEB-INF/portlet.xml"); 30 InputStream is = url.openStream() ; 31 PortletApp pc = XMLParser.parse(is) ; 32 } 33 34 protected String getDescription() { 35 return "Test Converter" ; 36 } 37 } | Popular Tags |