Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 76C8C10B1E for ; Sat, 13 Jul 2013 21:30:03 +0000 (UTC) Received: (qmail 30646 invoked by uid 500); 13 Jul 2013 21:30:03 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 30598 invoked by uid 500); 13 Jul 2013 21:30:03 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 30572 invoked by uid 99); 13 Jul 2013 21:30:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jul 2013 21:30:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Jul 2013 21:30:01 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 352BD2388B3A; Sat, 13 Jul 2013 21:29:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1502888 - /cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java Date: Sat, 13 Jul 2013 21:29:40 -0000 To: commits@cxf.apache.org From: dkulp@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130713212940.352BD2388B3A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dkulp Date: Sat Jul 13 21:29:39 2013 New Revision: 1502888 URL: http://svn.apache.org/r1502888 Log: Don't compare the prefix Modified: cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java Modified: cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java URL: http://svn.apache.org/viewvc/cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java?rev=1502888&r1=1502887&r2=1502888&view=diff ============================================================================== --- cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java (original) +++ cxf/trunk/rt/databinding/jaxb/src/test/java/org/apache/cxf/jaxb/JAXBEncoderDecoderTest.java Sat Jul 13 21:29:39 2013 @@ -84,7 +84,6 @@ public class JAXBEncoderDecoderTest exte @Before public void setUp() throws Exception { - context = JAXBContext.newInstance(new Class[] { GreetMe.class, GreetMeResponse.class, @@ -218,7 +217,7 @@ public class JAXBEncoderDecoderTest exte String xmlResult = stringWriter.toString(); // the following is a bit of a crock, but, to tell the truth, this test case most exists // so that it could be examined inside the debugger to see how JAXB works. - assertTrue(xmlResult.contains("ns3:string2")); + assertTrue(xmlResult.contains(":string2>cord