cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1197048 - in /cxf/trunk/tools/wadlto/jaxrs/src/test: java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java resources/wadl/multipleResources.xml
Date Thu, 03 Nov 2011 10:19:59 GMT
Author: sergeyb
Date: Thu Nov  3 10:19:58 2011
New Revision: 1197048

URL: http://svn.apache.org/viewvc?rev=1197048&view=rev
Log:
Adding a missing file, sorry

Added:
    cxf/trunk/tools/wadlto/jaxrs/src/test/resources/wadl/multipleResources.xml   (with props)
Modified:
    cxf/trunk/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java

Modified: cxf/trunk/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java?rev=1197048&r1=1197047&r2=1197048&view=diff
==============================================================================
--- cxf/trunk/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java
(original)
+++ cxf/trunk/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java
Thu Nov  3 10:19:58 2011
@@ -28,7 +28,6 @@ import org.apache.cxf.tools.common.Proce
 import org.apache.cxf.tools.common.ToolContext;
 import org.apache.cxf.tools.wadlto.WadlToolConstants;
 
-import org.junit.Ignore;
 import org.junit.Test;
 
 public class JAXRSContainerTest extends ProcessorTestBase {
@@ -301,7 +300,6 @@ public class JAXRSContainerTest extends 
     }
     
     @Test    
-    @Ignore("missing a file")
     public void testCodeGenNoIds2() {
         try {
             JAXRSContainer container = new JAXRSContainer(null);

Added: cxf/trunk/tools/wadlto/jaxrs/src/test/resources/wadl/multipleResources.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/tools/wadlto/jaxrs/src/test/resources/wadl/multipleResources.xml?rev=1197048&view=auto
==============================================================================
--- cxf/trunk/tools/wadlto/jaxrs/src/test/resources/wadl/multipleResources.xml (added)
+++ cxf/trunk/tools/wadlto/jaxrs/src/test/resources/wadl/multipleResources.xml Thu Nov  3
10:19:58 2011
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<application xmlns="http://wadl.dev.java.net/2009/02" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:prefix1="http://superbooks">
+
+ <resources base="http://localhost:8080/baz">
+   <resource path="/bookstore">
+     <method name="GET">
+      <response>
+       <representation mediaType="text/plain">
+        <param name="result" style="plain" type="xs:string"/>
+       </representation>
+      </response>
+    </method>
+   </resource>
+   <resource path="/books">
+     <method name="GET">
+      <response>
+       <representation mediaType="text/plain">
+        <param name="result" style="plain" type="xs:string"/>
+       </representation>
+      </response>
+    </method>
+   </resource>
+ </resources>  
+</application>

Propchange: cxf/trunk/tools/wadlto/jaxrs/src/test/resources/wadl/multipleResources.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cxf/trunk/tools/wadlto/jaxrs/src/test/resources/wadl/multipleResources.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: cxf/trunk/tools/wadlto/jaxrs/src/test/resources/wadl/multipleResources.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message