Index: trunk/testsrc/ws/fugue88/jpath/PathTest.java
===================================================================
--- trunk/testsrc/ws/fugue88/jpath/PathTest.java	(revision 5)
+++ trunk/testsrc/ws/fugue88/jpath/PathTest.java	(revision 6)
@@ -3,4 +3,8 @@
  * 
  * $Log$
+ * Revision 1.2  2005/09/21 22:00:46  dsowen
+ * Split out the access stuff into accesslib.
+ * New Creator interface off-loads object creation to user.
+ *
  * Revision 1.1  2005/08/03 00:35:29  dsowen
  * Initial commit.
@@ -20,11 +24,11 @@
 	public void testQuote()
 	{
-		assertEquals("test", Path.quote("test"));
-		assertEquals("te\\'st", Path.quote("te'st"));
+		assertEquals("test", PathParser.quote("test"));
+		assertEquals("te\\'st", PathParser.quote("te'st"));
 	}
 
 	public void testIdentifier() throws Exception
 	{
-		Path path = new Path("/test");
+		Path path = new SimplePathParser().parse("/test");
 		Iterator i = path.iterator();
 		PathPart part = (PathPart)i.next();
@@ -36,5 +40,5 @@
 	public void testNumberSelector() throws Exception
 	{
-		Path path = new Path("[0]");
+		Path path = new SimplePathParser().parse("[0]");
 		Iterator i = path.iterator();
 		PathPart part = (PathPart)i.next();
@@ -46,5 +50,5 @@
 	public void testStringSelectorSimple() throws Exception
 	{
-		Path path = new Path("['test']");
+		Path path = new SimplePathParser().parse("['test']");
 		Iterator i = path.iterator();
 		PathPart part = (PathPart)i.next();
@@ -56,5 +60,5 @@
 	public void testStringSelectorQuoted() throws Exception
 	{
-		Path path = new Path("['te\\'st']");
+		Path path = new SimplePathParser().parse("['te\\'st']");
 		Iterator i = path.iterator();
 		PathPart part = (PathPart)i.next();
@@ -63,7 +67,8 @@
 		assertFalse(i.hasNext());
 	}
+
 	public void testCompound1() throws Exception
 	{
-		Path path = new Path("/a/b");
+		Path path = new SimplePathParser().parse("/a/b");
 		Iterator i = path.iterator();
 		PathPart part = (PathPart)i.next();
