axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject cvs commit: ws-axis/java/test/encoding TestDeser.java
Date Tue, 25 Jan 2005 06:52:39 GMT
gawor       2005/01/24 22:52:39

  Modified:    java/test/encoding TestDeser.java
  Log:
  test for qname on the wire with whitespace
  
  Revision  Changes    Path
  1.49      +11 -0     ws-axis/java/test/encoding/TestDeser.java
  
  Index: TestDeser.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/java/test/encoding/TestDeser.java,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- TestDeser.java	8 Jul 2004 08:51:58 -0000	1.48
  +++ TestDeser.java	25 Jan 2005 06:52:39 -0000	1.49
  @@ -271,6 +271,17 @@
                       new Short((short)3));
       }
   
  +    public void testQName() throws Exception {
  +        String ns = "http://test";
  +        String local = "bar";
  +
  +        deserialize("<result xmlns:foo=\"" + ns + "\" xsi:type=\"xsd:QName\">foo:"
+ local + "</result>",
  +                    new QName(ns, local));
  +
  +        deserialize("<result xmlns:foo=\"" + ns + "\" xsi:type=\"xsd:QName\">\n 
   foo:" + local + "   \r\n        </result>",
  +                    new QName(ns, local));
  +    }
  +
       public void testArray() throws Exception {
           Vector v = new Vector();
           v.addElement("abc");
  
  
  

Mime
View raw message