Author: jliu
Date: Thu Aug 2 00:26:43 2007
New Revision: 562034
URL: http://svn.apache.org/viewvc?view=rev&rev=562034
Log:
CXF-854:Class org.apache.cxf.systest.provider.AttachementServer needs to be
renamed to .AttachmentServer
Added:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentServer.java
(with props)
Removed:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachementServer.java
Modified:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentProviderXMLClientServerTest.java
Modified:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentProviderXMLClientServerTest.java
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentProviderXMLClientServerTest.java?view=diff&rev=562034&r1=562033&r2=562034
==============================================================================
---
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentProviderXMLClientServerTest.java
(original)
+++
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentProviderXMLClientServerTest.java
Thu Aug 2 00:26:43 2007
@@ -42,7 +42,7 @@
@BeforeClass
public static void startServers() throws Exception {
assertTrue("server did not launch correctly",
- launchServer(AttachementServer.class, true));
+ launchServer(AttachmentServer.class, true));
}
@Test
Added:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentServer.java
URL:
http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentServer.java?view=auto&rev=562034
==============================================================================
---
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentServer.java
(added)
+++
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentServer.java
Thu Aug 2 00:26:43 2007
@@ -0,0 +1,45 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.cxf.systest.provider;
+
+import javax.xml.ws.Endpoint;
+
+import org.apache.cxf.testutil.common.AbstractBusTestServerBase;
+
+public class AttachmentServer extends AbstractBusTestServerBase {
+
+ protected void run() {
+ Object implementor = new AttachmentStreamSourceXMLProvider();
+ String address = "http://localhost:9033/XMLServiceAttachment";
+ Endpoint.publish(address, implementor);
+ }
+
+ public static void main(String[] args) {
+ try {
+ AttachmentServer s = new AttachmentServer();
+ s.start();
+ } catch (Exception ex) {
+ ex.printStackTrace();
+ System.exit(-1);
+ } finally {
+ System.out.println("done!");
+ }
+ }
+}
\ No newline at end of file
Propchange:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentServer.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/provider/AttachmentServer.java
------------------------------------------------------------------------------
svn:keywords = Rev Date