org.vraptor.test
Interface TestSession


public interface TestSession

A test context emulates an user session in

Author:
Guilherme Silveira

Method Summary
 String execute(String relativeUrl, String... parameters)
          Executes a url call based on some url.
 SessionContext getSessionContext()
           
 

Method Detail

execute

String execute(String relativeUrl,
               String... parameters)
               throws VRaptorException
Executes a url call based on some url. The parameters are strings like "a=b", "c=d".

Parameters:
relativeUrl - relative url to server
parameters - the parameter list to be passed
Returns:
the logic result
Throws:
VRaptorException

getSessionContext

SessionContext getSessionContext()


Copyright © 2004-2008 VRaptor. All Rights Reserved.