Skip to content

Commit

Permalink
Move failing test for #91 under failing
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Dec 11, 2019
1 parent 6e3acf2 commit 3ec1583
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package stax2.stream;
package failing;

import org.codehaus.stax2.LocationInfo;
import org.codehaus.stax2.XMLStreamReader2;
Expand All @@ -12,11 +12,12 @@
* Set of unit tests that checks that the {@link LocationInfo} implementation
* works as expected, provides proper values or -1 to indicate "don't know".
*/
public class TestExtLocationInfo
public class TestExtLocationInfo91
extends BaseStax2Test
{
final static String URI = "main.xml";
final static String INCL_URI = "include.xml";

/**
* This document fragment tries ensure that external entities works ok
*/
Expand All @@ -37,12 +38,10 @@ public class TestExtLocationInfo
"<include></include>"; // first char: 0; row 1
// EOF, fc: 19; row 1



// For [woodstox-core#91]
public void testLocationsWithExtEntity()
throws XMLStreamException
{

XMLResolver resolver = new XMLResolver() {
@Override
public Object resolveEntity(String publicID, String systemID, String baseURI, String namespace) throws XMLStreamException {
Expand Down

0 comments on commit 3ec1583

Please sign in to comment.