Author: scottbw
Date: Thu Feb 23 21:33:11 2012
New Revision: 1292968

URL: http://svn.apache.org/viewvc?rev=1292968&view=rev
Log:
Removed an unused test (was checking get widget by service type) and unused 
import

Modified:
    
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetsControllerTest.java

Modified: 
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetsControllerTest.java
URL: 
http://svn.apache.org/viewvc/incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetsControllerTest.java?rev=1292968&r1=1292967&r2=1292968&view=diff
==============================================================================
--- 
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetsControllerTest.java
 (original)
+++ 
incubator/wookie/trunk/src-tests/org/apache/wookie/tests/functional/WidgetsControllerTest.java
 Thu Feb 23 21:33:11 2012
@@ -28,7 +28,6 @@ import org.apache.commons.httpclient.met
 import org.apache.commons.httpclient.methods.multipart.FilePart;
 import org.apache.commons.httpclient.methods.multipart.MultipartRequestEntity;
 import org.apache.commons.httpclient.methods.multipart.Part;
-import org.jdom.Element;
 import org.junit.Test;
 
 /**
@@ -86,21 +85,6 @@ public class WidgetsControllerTest exten
                get.releaseConnection();
        }
        
-       /**
-        * Tests a GET which does not matche an existing widget id gives us a 
404
-        * @throws IOException 
-        * @throws HttpException 
-        */
-       @Test
-       public void getWidgetType_noneexistant() throws HttpException, 
IOException{
-               HttpClient client = new HttpClient();
-               GetMethod get = new 
GetMethod(TEST_WIDGETS_SERVICE_URL_VALID+"/nosuchtype");
-               client.executeMethod(get);
-               int code = get.getStatusCode();
-               assertEquals(404,code);
-               get.releaseConnection();
-       }
-       
        @Test
        public void importWidget_unauthorized() throws HttpException, 
IOException{
     HttpClient client = new HttpClient();


Reply via email to