}
public void testJcrPaths() {
startTest();
SubActionComponent c = new SubActionComponent();
final String PATH = "/bi-developers/reporting/myaction.xaction";
String value = c.buildActionPath( "", "bi-developers/reporting/myaction.xaction", "" );
assertEquals( PATH, value );
value = c.buildActionPath( null, "bi-developers/reporting/myaction.xaction", "" );
assertEquals( PATH, value );
value = c.buildActionPath( "", "bi-developers/reporting/myaction.xaction", null );
assertEquals( PATH, value );
value = c.buildActionPath( null, "bi-developers/reporting/myaction.xaction", null );
assertEquals( PATH, value );
value = c.buildActionPath( null, "/bi-developers/reporting/myaction.xaction", null );
assertEquals( PATH, value );
value = c.buildActionPath( "bi-developers", "/reporting/myaction.xaction", null );
assertEquals( PATH, value );
value = c.buildActionPath( "bi-developers", "reporting", "myaction.xaction" );
assertEquals( PATH, value );
value = c.buildActionPath( "/bi-developers", "/reporting", "/myaction.xaction" );
assertEquals( PATH, value );
value = c.buildActionPath( "bi-developers", "/reporting", "/myaction.xaction" );
assertEquals( PATH, value );
value = c.buildActionPath( "bi-developers", "reporting", "/myaction.xaction" );
assertEquals( PATH, value );
value = c.buildActionPath( "", "bi-developers/reporting", "myaction.xaction" );
assertEquals( PATH, value );
value = c.buildActionPath( "\\bi-developers", "reporting", "myaction.xaction" );
assertEquals( PATH, value );
value = c.buildActionPath( "\\\\//bi-developers", "\\reporting", "\\myaction.xaction" );
System.out.println( value );
assertEquals( PATH, value );
finishTest();
}