org.skyscreamer.yoga.demo.test
Class TestUtil

java.lang.Object
  extended by org.skyscreamer.yoga.demo.test.TestUtil

public final class TestUtil
extends Object

Created by IntelliJ IDEA. User: Carter Page Date: 4/19/11 Time: 6:18 PM


Field Summary
protected  org.apache.commons.logging.Log _log
           
 
Constructor Summary
TestUtil()
           
 
Method Summary
static void addParams(Map<String,String> params, StringBuilder sb)
           
static String getContent(String url, Map<String,String> params)
           
static org.json.JSONArray getJSONArray(String url, Map<String,String> params)
           
static org.json.JSONObject getJSONObject(String url, Map<String,String> params)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

protected final org.apache.commons.logging.Log _log
Constructor Detail

TestUtil

public TestUtil()
Method Detail

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 © 2012. All Rights Reserved.