Aah, stop! Stupid! Made a obvious mistake within my test case...

Code too long today... Sorry.

Johannes Schneider wrote:
> Hi,
> 
> I have a problem while trying to add parameters to a
> BookmarkablePageLink. My second parameter is simply ignored.
> I debugged a lot and could create that failing test.
> 
> Could anyone tell me what I am doing wrong?
> 
> 
> Thanks,
> 
> Johannes
> 
> 
> 
>   String val0 =
> "dfd034bdd539d9fc9cdd1c26cbaf99a808f840848c64c94b865045132be5a1cf";
> 
>     PageParameters pageParameters = new PageParameters( new ValueMap(
> "0="+val0 + ",1=160" ) );
>     MiniMap miniMap = new MiniMap( pageParameters, 2 );
>     assertEquals( miniMap.size(), 2 );
> 
>     assertEquals( miniMap.get( "0" ), val0 );
>     assertEquals( miniMap.get( "1" ), "val1" );
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to