You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2015/05/04 11:07:26 UTC
svn commit: r1677559 -
/webservices/axiom/trunk/modules/axiom-api/src/test/java/org/apache/axiom/om/impl/XMLStreamWriterFilterTestCase.java
Author: veithen
Date: Mon May 4 09:07:25 2015
New Revision: 1677559
URL: http://svn.apache.org/r1677559
Log:
AXIS2-4791: Remove nonsense test cases: creating an OMText with "" as content will not create a character reference in the output; instead the content will be escaped as "".
Modified:
webservices/axiom/trunk/modules/axiom-api/src/test/java/org/apache/axiom/om/impl/XMLStreamWriterFilterTestCase.java
Modified: webservices/axiom/trunk/modules/axiom-api/src/test/java/org/apache/axiom/om/impl/XMLStreamWriterFilterTestCase.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-api/src/test/java/org/apache/axiom/om/impl/XMLStreamWriterFilterTestCase.java?rev=1677559&r1=1677558&r2=1677559&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-api/src/test/java/org/apache/axiom/om/impl/XMLStreamWriterFilterTestCase.java (original)
+++ webservices/axiom/trunk/modules/axiom-api/src/test/java/org/apache/axiom/om/impl/XMLStreamWriterFilterTestCase.java Mon May 4 09:07:25 2015
@@ -39,10 +39,8 @@ import org.apache.axiom.soap.impl.builde
public class XMLStreamWriterFilterTestCase extends AbstractTestCase {
private char ILLEGAL_CHAR = 0x15;
- private String ILLEGAL_ENTITY = "";
private char NULL_CHAR = 0x00;
- private String NULL_ENTITY = "�";
private final OMMetaFactory omMetaFactory;
@@ -62,18 +60,6 @@ public class XMLStreamWriterFilterTestCa
testInsert(insert);
}
- public void test03() throws Exception {
-
- testInsert(ILLEGAL_ENTITY);
- }
-
- public void test04() throws Exception {
-
- testInsert(NULL_ENTITY);
- }
-
-
-
private void testInsert(String insert) throws Exception {
// Read XML