You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bi...@apache.org on 2008/05/18 02:18:01 UTC

svn commit: r657482 - in /cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis: AttributeBean.java SportsService.java SportsServiceImpl.java

Author: bimargulies
Date: Sat May 17 17:18:00 2008
New Revision: 657482

URL: http://svn.apache.org/viewvc?rev=657482&view=rev
Log:
Copy a class to avoid dependency from systest to Aegis test.

Added:
    cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AttributeBean.java   (with props)
Modified:
    cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsService.java
    cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsServiceImpl.java

Added: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AttributeBean.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AttributeBean.java?rev=657482&view=auto
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AttributeBean.java (added)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AttributeBean.java Sat May 17 17:18:00 2008
@@ -0,0 +1,50 @@
+/**
+ * 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.aegis;
+
+import javax.xml.bind.annotation.XmlAttribute;
+
+/**
+ * Test class for attribute forms.
+ */
+public class AttributeBean {
+    private String attrPlainString = "attrPlain";
+    private String attrExplicitString = "attrExplicit";
+
+    @XmlAttribute
+    public String getAttrPlainString() {
+        return attrPlainString;
+    }
+
+    public void setAttrPlainString(String plainString) {
+        this.attrPlainString = plainString;
+    }
+
+    @XmlAttribute (namespace = "urn:xyzzy")
+    public String getAttrExplicitString() {
+        return attrExplicitString;
+    }
+
+    public void setAttrExplicitString(String attrExplicitString) {
+        this.attrExplicitString = attrExplicitString;
+    }
+    
+
+}

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AttributeBean.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/AttributeBean.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Modified: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsService.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsService.java?rev=657482&r1=657481&r2=657482&view=diff
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsService.java (original)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsService.java Sat May 17 17:18:00 2008
@@ -24,8 +24,6 @@
 import javax.jws.WebService;
 import javax.xml.ws.WebServiceException;
 
-import org.apache.cxf.aegis.services.AttributeBean;
-
 @WebService(targetNamespace = "http://cxf.apache.org/systest/aegis/sports")
 public interface SportsService {
     Collection<Team> getTeams() throws WebServiceException;

Modified: cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsServiceImpl.java
URL: http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsServiceImpl.java?rev=657482&r1=657481&r2=657482&view=diff
==============================================================================
--- cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsServiceImpl.java (original)
+++ cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/SportsServiceImpl.java Sat May 17 17:18:00 2008
@@ -25,8 +25,6 @@
 
 import javax.xml.ws.WebServiceException;
 
-import org.apache.cxf.aegis.services.AttributeBean;
-
 /**
  * 
  */