diff --git a/modules/elasticsearch/src/test/java/org/elasticsearch/common/xcontent/xson/JsonVsSmileTests.java b/modules/elasticsearch/src/test/java/org/elasticsearch/common/xcontent/smile/JsonVsSmileTests.java similarity index 87% rename from modules/elasticsearch/src/test/java/org/elasticsearch/common/xcontent/xson/JsonVsSmileTests.java rename to modules/elasticsearch/src/test/java/org/elasticsearch/common/xcontent/smile/JsonVsSmileTests.java index cbaa2f2de6a..bbb21654b82 100644 --- a/modules/elasticsearch/src/test/java/org/elasticsearch/common/xcontent/xson/JsonVsSmileTests.java +++ b/modules/elasticsearch/src/test/java/org/elasticsearch/common/xcontent/smile/JsonVsSmileTests.java @@ -17,7 +17,7 @@ * under the License. */ -package org.elasticsearch.common.xcontent.xson; +package org.elasticsearch.common.xcontent.smile; import org.elasticsearch.common.io.FastByteArrayOutputStream; import org.elasticsearch.common.xcontent.XContentFactory; @@ -36,6 +36,15 @@ import static org.hamcrest.Matchers.*; */ public class JsonVsSmileTests { +// @Test public void testBinarySmileField() throws Exception { +// JsonGenerator gen = new SmileFactory().createJsonGenerator(new ByteArrayOutputStream()); +//// JsonGenerator gen = new JsonFactory().createJsonGenerator(new ByteArrayOutputStream(), JsonEncoding.UTF8); +// gen.writeStartObject(); +// gen.writeFieldName("field1"); +// gen.writeBinary(new byte[]{1, 2, 3}); +// gen.writeEndObject(); +// } + @Test public void compareParsingTokens() throws IOException { FastByteArrayOutputStream xsonOs = new FastByteArrayOutputStream(); XContentGenerator xsonGen = XContentFactory.xContent(XContentType.SMILE).createGenerator(xsonOs);