org.skyscreamer.yoga.demo.test
Class AbstractTest

java.lang.Object
  extended by org.skyscreamer.yoga.demo.test.AbstractTest
Direct Known Subclasses:
AlbumControllerTest, ArtistControllerTest, SongControllerTest, UserControllerTest

public abstract class AbstractTest
extends Object

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


Constructor Summary
AbstractTest()
           
 
Method Summary
protected  org.json.JSONArray getJSONArray(String url, Map<String,String> params)
           
protected  org.json.JSONObject getJSONObject(String url, Map<String,String> params)
           
protected  void testForNavigationLinks(org.json.JSONObject data, String href, String... propertyNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTest

public AbstractTest()
Method Detail

getJSONObject

protected org.json.JSONObject getJSONObject(String url,
                                            Map<String,String> params)
                                     throws Exception
Throws:
Exception

getJSONArray

protected org.json.JSONArray getJSONArray(String url,
                                          Map<String,String> params)
                                   throws Exception
Throws:
Exception

testForNavigationLinks

protected void testForNavigationLinks(org.json.JSONObject data,
                                      String href,
                                      String... propertyNames)
                               throws Exception
Throws:
Exception


Copyright © 2012. All Rights Reserved.