org.skyscreamer.yoga.demo.util
Class TestUtil
java.lang.Object
org.skyscreamer.yoga.demo.util.TestUtil
public final class TestUtil
- extends Object
Created by IntelliJ IDEA. User: Carter Page Date: 4/19/11 Time: 6:18 PM
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log
protected final org.apache.commons.logging.Log _log
context
protected static BeanContext context
TestUtil
public TestUtil()
setContext
public static void setContext(BeanContext context)
getBean
public static <T> T getBean(Class<T> type)
getJSONObject
public static org.json.JSONObject getJSONObject(String url,
Map<String,String> params)
throws org.json.JSONException
- Throws:
org.json.JSONException
getJSONArray
public static org.json.JSONArray getJSONArray(String url,
Map<String,String> params)
throws org.json.JSONException
- Throws:
org.json.JSONException
getContent
public static String getContent(String url,
Map<String,String> params)
addParams
public static void addParams(Map<String,String> params,
StringBuilder sb)
Copyright © 2013. All Rights Reserved.