cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1328907 - in /cxf/branches/2.5.x-fixes: ./ tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java
Date Sun, 22 Apr 2012 17:12:07 GMT
Author: sergeyb
Date: Sun Apr 22 17:12:07 2012
New Revision: 1328907

URL: http://svn.apache.org/viewvc?rev=1328907&view=rev
Log:
Merged revisions 1328903 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1328903 | sergeyb | 2012-04-22 18:04:47 +0100 (Sun, 22 Apr 2012) | 1 line
  
  [CXF-4256] Reverting the temp test code 
........

Modified:
    cxf/branches/2.5.x-fixes/   (props changed)
    cxf/branches/2.5.x-fixes/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java

Propchange: cxf/branches/2.5.x-fixes/
------------------------------------------------------------------------------
  Merged /cxf/trunk:r1328903

Propchange: cxf/branches/2.5.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.5.x-fixes/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java?rev=1328907&r1=1328906&r2=1328907&view=diff
==============================================================================
--- cxf/branches/2.5.x-fixes/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java
(original)
+++ cxf/branches/2.5.x-fixes/tools/wadlto/jaxrs/src/test/java/org/apache/cxf/tools/wadlto/jaxrs/JAXRSContainerTest.java
Sun Apr 22 17:12:07 2012
@@ -32,42 +32,9 @@ import org.junit.Test;
 
 public class JAXRSContainerTest extends ProcessorTestBase {
 
-    public enum Theid {
-        ONE("one"),
-        TWO("two");
-        private String value;
-        private Theid(String v) {
-            this.value = v;
-        }
-        public static Theid fromString(String value) {
-            if (value != null) {
-                for (Theid v : Theid.values()) {
-                    if (value.equalsIgnoreCase(v.value)) {
-                        return v;
-                    }
-                }
-            }
-            throw new IllegalArgumentException();
-        }
-    }
-    
-    @Test    
-    public void test1() {
-        try {
-        assertSame(Theid.ONE, Theid.fromString("on"));
-        fail();
-        } catch (IllegalArgumentException ex) {
-            
-        }
-    }
-    
-    
     @Test    
     public void testCodeGenInterfaces() {
         try {
-            
-            
-            
             JAXRSContainer container = new JAXRSContainer(null);
 
             ToolContext context = new ToolContext();



Mime
View raw message