1 4 package com.openedit.util; 5 6 import com.openedit.BaseTestCase; 7 8 11 public class URLUtilitiesTest extends BaseTestCase 12 { 13 14 public URLUtilitiesTest( String arg0 ) 15 { 16 super( arg0 ); 17 } 19 20 public static void main(String [] args) 21 { 22 junit.textui.TestRunner.run(URLUtilitiesTest.class); 23 } 24 25 public void testGetPathWithoutContext() 26 { 27 String path = URLUtilities.getPathWithoutContext("/resellerportal", "/include.jsp", "index.html"); 28 assertEquals("/include.jsp", path); 29 } 30 31 } 32 | Popular Tags |