Author: scottbw
Date: Thu Feb 23 23:36:27 2012
New Revision: 1293030
URL: http://svn.apache.org/viewvc?rev=1293030&view=rev
Log:
Use a different, non-existing widget to test uploading new widget via POST so
we can track successful creates vs updates
Added:
incubator/wookie/trunk/src-tests/testdata/upload-test.wgt (with props)
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=1293030&r1=1293029&r2=1293030&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 23:36:27 2012
@@ -142,9 +142,9 @@ public class WidgetsControllerTest exten
PostMethod post = new PostMethod(TEST_WIDGETS_SERVICE_URL_VALID);
//
- // We'll use a copy of the unsupported widget widget for testing
+ // Use upload test widget
//
- File file = new File("src-tests/testdata/notsupported.wgt");
+ File file = new File("src-tests/testdata/upload-test.wgt");
assertTrue(file.exists());
//
Added: incubator/wookie/trunk/src-tests/testdata/upload-test.wgt
URL:
http://svn.apache.org/viewvc/incubator/wookie/trunk/src-tests/testdata/upload-test.wgt?rev=1293030&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/wookie/trunk/src-tests/testdata/upload-test.wgt
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream