You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2011/03/31 14:17:07 UTC
svn commit: r1087273 -
/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/NavigationUnitTest.java
Author: bommel
Date: Thu Mar 31 12:17:06 2011
New Revision: 1087273
URL: http://svn.apache.org/viewvc?rev=1087273&view=rev
Log:
| doesnt work under windows
Modified:
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/NavigationUnitTest.java
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/NavigationUnitTest.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/NavigationUnitTest.java?rev=1087273&r1=1087272&r2=1087273&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/NavigationUnitTest.java (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/test/java/org/apache/myfaces/tobago/example/demo/NavigationUnitTest.java Thu Mar 31 12:17:06 2011
@@ -30,9 +30,9 @@ public class NavigationUnitTest extends
public void testFileNames() {
List<String> list = Arrays.asList(
"00-test-1.xhtml",
- "00|07-test-2.xhtml",
+ "00~07-test-2.xhtml",
"01-test.xhtml",
- "00|00-test-4.xhtml",
+ "00~00-test-4.xhtml",
"bad.xhtml",
"00_00_bad.xhtml"
);
@@ -46,10 +46,10 @@ public class NavigationUnitTest extends
Assert.assertEquals("01", n01.getBranch());
Assert.assertEquals("test", n01.getName());
final Navigation.Node n0000 = (Navigation.Node) n00.getChildAt(0);
- Assert.assertEquals("00|00", n0000.getBranch());
+ Assert.assertEquals("00~00", n0000.getBranch());
Assert.assertEquals("test-4", n0000.getName());
final Navigation.Node n0007 = (Navigation.Node) n00.getChildAt(1);
- Assert.assertEquals("00|07", n0007.getBranch());
+ Assert.assertEquals("00~07", n0007.getBranch());
Assert.assertEquals("test-2", n0007.getName());
}
}