Back to project page soas.
The source code is released under:
Apache License
If you think the Android project soas listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.meg7.soas; // w w w . j ava2 s .c om import android.test.ApplicationTestCase; import android.test.suitebuilder.annotation.SmallTest; import com.android.volley.RequestQueue; import com.android.volley.toolbox.ImageLoader; /** * <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a> */ public class ApplicationTest extends ApplicationTestCase<SoasApplication> { public ApplicationTest() { super(SoasApplication.class); } @Override protected void setUp() throws Exception { super.setUp(); createApplication(); } @SmallTest public void testRequestQueuesCreation() throws Exception { RequestQueue requestQueue = SoasApplication.getRequestQueue(getContext()); assertNotNull(requestQueue); ImageLoader imageLoader = SoasApplication.getImageLoader(getContext()); assertNotNull(imageLoader); } }