Skip to content

Commit 2baf031

Browse files
committed
...
1 parent cf1f6b1 commit 2baf031

1 file changed

Lines changed: 2 additions & 17 deletions

File tree

src/test/java/com/fasterxml/jackson/core/filter/JsonPointerGeneratorFilteringTest.java

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@ private void _assert(String input, String pathExpr, boolean includeParent, Strin
115115
public void testArrayFiltering582WithoutObject() throws IOException {
116116
_testArrayFiltering582(0);
117117
}
118-
118+
119119
public void testArrayFiltering582WithoutSize() throws IOException {
120120
_testArrayFiltering582(1);
121121
}
122122

123123
public void testArrayFiltering582WithSize() throws IOException {
124124
_testArrayFiltering582(2);
125125
}
126-
126+
127127
private void _testArrayFiltering582(int mode) throws IOException
128128
{
129129
StringWriter output = new StringWriter();
@@ -151,19 +151,4 @@ private void _testArrayFiltering582(int mode) throws IOException
151151

152152
assertEquals("", output.toString());
153153
}
154-
155-
/*
156-
// for [core#582]: regression wrt array filtering
157-
public void arrayFilterOut_workaroundFix() throws IOException {
158-
159-
StringWriter output = new StringWriter();
160-
JsonGenerator jg = new JsonFactory().createGenerator(output);
161-
162-
FilteringGeneratorDelegate filteringGeneratorDelegate = new FixedFilteringGeneratorDelegate(jg, new JsonPointerBasedFilter("/noMatch"), true, true);
163-
164-
new ObjectMapper().writeValue(filteringGeneratorDelegate, ARRAY_WRAPPER);
165-
166-
Assert.assertEquals("", output.toString());
167-
}
168-
*/
169154
}

0 commit comments

Comments
 (0)