net.csdn.junit
Class BaseControllerTest
java.lang.Object
net.csdn.junit.IocTest
net.csdn.junit.BaseControllerTest
public class BaseControllerTest
- extends IocTest
6/28/13 WilliamZhu(allwefantasy@gmail.com)
|
Method Summary |
RestResponse |
delete(String path,
Map params)
|
RestResponse |
delete(String path,
String rawParamsStr)
|
Map<RestRequest.Method,RestResponse> |
each(List<RestRequest.Method> methods,
String path,
Map params)
|
Map<RestRequest.Method,RestResponse> |
each(List<RestRequest.Method> methods,
String path,
String rawParamStr)
|
RestResponse |
get(String path,
Map params)
|
RestResponse |
get(String path,
String rawParamsStr)
|
RestResponse |
post(String path,
Map params)
|
RestResponse |
post(String path,
String rawParamsStr)
|
RestResponse |
put(String path,
Map params)
|
RestResponse |
put(String path,
String rawParamsStr)
|
RestResponse |
runAction(String path,
Map params,
RestRequest.Method method)
|
RestResponse |
runAction(String path,
String rawParamsStr,
RestRequest.Method method)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseControllerTest
public BaseControllerTest()
runAction
public RestResponse runAction(String path,
Map params,
RestRequest.Method method)
throws Exception
- Throws:
Exception
runAction
public RestResponse runAction(String path,
String rawParamsStr,
RestRequest.Method method)
throws Exception
- Throws:
Exception
each
public Map<RestRequest.Method,RestResponse> each(List<RestRequest.Method> methods,
String path,
Map params)
throws Exception
- Throws:
Exception
each
public Map<RestRequest.Method,RestResponse> each(List<RestRequest.Method> methods,
String path,
String rawParamStr)
throws Exception
- Throws:
Exception
get
public RestResponse get(String path,
Map params)
throws Exception
- Throws:
Exception
post
public RestResponse post(String path,
Map params)
throws Exception
- Throws:
Exception
delete
public RestResponse delete(String path,
Map params)
throws Exception
- Throws:
Exception
put
public RestResponse put(String path,
Map params)
throws Exception
- Throws:
Exception
get
public RestResponse get(String path,
String rawParamsStr)
throws Exception
- Throws:
Exception
post
public RestResponse post(String path,
String rawParamsStr)
throws Exception
- Throws:
Exception
delete
public RestResponse delete(String path,
String rawParamsStr)
throws Exception
- Throws:
Exception
put
public RestResponse put(String path,
String rawParamsStr)
throws Exception
- Throws:
Exception
Copyright © 2014. All Rights Reserved.