Author: rmannibucau
Date: Sat Mar 16 22:42:37 2013
New Revision: 1457327

URL: http://svn.apache.org/r1457327
Log:
assert should ignore header

Modified:
    
tomee/tomee/trunk/container/openejb-jee-accessors/src/test/java/org/apache/openejb/sxc/EjbJarXmlTest.java

Modified: 
tomee/tomee/trunk/container/openejb-jee-accessors/src/test/java/org/apache/openejb/sxc/EjbJarXmlTest.java
URL: 
http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-jee-accessors/src/test/java/org/apache/openejb/sxc/EjbJarXmlTest.java?rev=1457327&r1=1457326&r2=1457327&view=diff
==============================================================================
--- 
tomee/tomee/trunk/container/openejb-jee-accessors/src/test/java/org/apache/openejb/sxc/EjbJarXmlTest.java
 (original)
+++ 
tomee/tomee/trunk/container/openejb-jee-accessors/src/test/java/org/apache/openejb/sxc/EjbJarXmlTest.java
 Sat Mar 16 22:42:37 2013
@@ -60,7 +60,22 @@ public class EjbJarXmlTest extends TestC
         marshall.stop();
 
         final String result = new String(baos.toByteArray(), "UTF-8");
-        assertEquals(expected.trim(), result.trim());
+        assertEquals(expected.trim().replace("<!--\n" +
+                "  Licensed to the Apache Software Foundation (ASF) under one 
or more\n" +
+                "  contributor license agreements.  See the NOTICE file 
distributed with\n" +
+                "  this work for additional information regarding copyright 
ownership.\n" +
+                "  The ASF licenses this file to You under the Apache License, 
Version 2.0\n" +
+                "  (the \"License\"); you may not use this file except in 
compliance with\n" +
+                "  the License.  You may obtain a copy of the License at\n" +
+                "\n" +
+                "      http://www.apache.org/licenses/LICENSE-2.0\n"; +
+                "\n" +
+                "  Unless required by applicable law or agreed to in writing, 
software\n" +
+                "  distributed under the License is distributed on an \"AS 
IS\" BASIS,\n" +
+                "  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 
express or implied.\n" +
+                "  See the License for the specific language governing 
permissions and\n" +
+                "  limitations under the License.\n" +
+                "-->\n", ""), result.trim());
         test.stop();
     }
 


Reply via email to