1   package com.wikihouse.wildcats0201.jdbcchart.fsutil;
2   
3   import java.io.File;
4   
5   /***
6    * <B>PathTest </B>.
7    * 
8    * @author $Author: wildcats $
9    * @version $Revision: 2 $
10   */
11  public class PathTest extends AbstractPathTest {
12  
13      public static void main(String[] args) {
14          junit.textui.TestRunner.run(PathTest.class);
15      }
16  
17      public void testGetPath() {
18  
19          Path path = PathFactory.create(location1);
20          assertEquals(new StringBuffer(location1).append(File.separatorChar)
21                  .toString(), path.getPath());
22          Path path2 = PathFactory.create(location2);
23          assertEquals(new StringBuffer(location2).append(File.separatorChar)
24                  .toString(), path2.getPath());
25      }
26  
27  }