You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by wi...@apache.org on 2005/10/04 21:06:32 UTC
svn commit: r294897 - in
/webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl:
ManageableResourceImplTest.java notification/ChangeNotificationImplTest.java
Author: wire
Date: Tue Oct 4 12:06:22 2005
New Revision: 294897
URL: http://svn.apache.org/viewcvs?rev=294897&view=rev
Log:
Added Subscription Manager and renames SetPropertiesRequest class to ProeprtiesList
Modified:
webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/ManageableResourceImplTest.java
webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/notification/ChangeNotificationImplTest.java
Modified: webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/ManageableResourceImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/ManageableResourceImplTest.java?rev=294897&r1=294896&r2=294897&view=diff
==============================================================================
--- webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/ManageableResourceImplTest.java (original)
+++ webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/ManageableResourceImplTest.java Tue Oct 4 12:06:22 2005
@@ -9,7 +9,7 @@
import org.apache.ws.client.muse.client.impl.exceptions.FaultException;
import org.apache.ws.client.muse.client.impl.exceptions.UnexpectedServerResponseException;
-import org.apache.ws.client.muse.client.model.SetPropertiesRequest;
+import org.apache.ws.client.muse.client.model.PropertiesList;
import org.apache.ws.resource.properties.faults.InvalidResourcePropertyQNameFaultException;
import org.apache.ws.muws.v1_0.impl.advertiser.ResourceAdvertiserPropertyQNames;
import org.apache.ws.service.testresource.TestResourcePropertyQNames;
@@ -264,7 +264,7 @@
//now carry out update, delete and insert in one call.
//verify that those values were successfully changed.
//temp check that messages built properly
- SetPropertiesRequest tmpRequest = null;
+ PropertiesList tmpRequest = null;
//retrieve current property value
double newVal = testImpl.getPropertyAsDouble(TestResourcePropertyQNames.PRICE);
//initialize the SetPropertiesRequest instance
@@ -373,7 +373,7 @@
newValue = (propValue - .1);
String namePropValue=testImpl.getPropertyAsString(TestResourcePropertyQNames.NAME);
String newValue2 = namePropValue+"-modified";
- SetPropertiesRequest setRequest2 =
+ PropertiesList setRequest2 =
testImpl.createNewSetPropertiesRequest();
String[] priceUpdate = {String.valueOf(newValue)};
setRequest2.addUpdateRequest(TestResourcePropertyQNames.PRICE,priceUpdate);
@@ -397,7 +397,7 @@
int currentTestMetricCnt = existingNodes.length;
//insert a new TestMetric into the document
//create it
- SetPropertiesRequest tmpRequest =
+ PropertiesList tmpRequest =
testImpl.createNewSetPropertiesRequest();
double tstMetVal = 3.4;
String[] total = {""+tstMetVal};
@@ -429,7 +429,7 @@
public void testDeleteProperty() throws FaultException, URISyntaxException, IOException, XmlException, UnexpectedServerResponseException{
//create the setProperties request document
- SetPropertiesRequest tmpRequest = null;
+ PropertiesList tmpRequest = null;
XmlObject[] resourceProps = null;
double newValue = -1;
// DELETE: BEGIN
Modified: webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/notification/ChangeNotificationImplTest.java
URL: http://svn.apache.org/viewcvs/webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/notification/ChangeNotificationImplTest.java?rev=294897&r1=294896&r2=294897&view=diff
==============================================================================
--- webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/notification/ChangeNotificationImplTest.java (original)
+++ webservices/muse/trunk/client/src/test/org/apache/ws/client/muse/client/impl/notification/ChangeNotificationImplTest.java Tue Oct 4 12:06:22 2005
@@ -8,7 +8,7 @@
import org.apache.ws.client.muse.client.impl.wsrf.InsertOrUpdateRequest;
import org.apache.ws.client.muse.client.model.ChangeNotification;
import org.apache.ws.client.muse.client.model.Notification;
-import org.apache.ws.client.muse.client.model.SetPropertiesRequest;
+import org.apache.ws.client.muse.client.model.PropertiesList;
import org.apache.xmlbeans.XmlObject;
import junit.framework.TestCase;