Home
last modified time | relevance | path

Searched refs:AUTO_CLOSE_TARGET (Results 1 – 7 of 7) sorted by relevance

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DGeneratorCloseTest.java39 assertTrue(f.isEnabled(JsonGenerator.Feature.AUTO_CLOSE_TARGET)); in testNoAutoCloseGenerator()
41 f.disable(JsonGenerator.Feature.AUTO_CLOSE_TARGET); in testNoAutoCloseGenerator()
42 assertFalse(f.isEnabled(JsonGenerator.Feature.AUTO_CLOSE_TARGET)); in testNoAutoCloseGenerator()
58 f.enable(JsonGenerator.Feature.AUTO_CLOSE_TARGET); in testCloseGenerator()
74 f.disable(JsonGenerator.Feature.AUTO_CLOSE_TARGET); in testNoAutoCloseOutputStream()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DStreamWriteFeature.java33 AUTO_CLOSE_TARGET(JsonGenerator.Feature.AUTO_CLOSE_TARGET), enumConstant
DJsonGenerator.java80 AUTO_CLOSE_TARGET(true), enumConstant
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DObjectWriterTest.java269 assertTrue(w.isEnabled(JsonGenerator.Feature.AUTO_CLOSE_TARGET)); in testGeneratorFeatures()
270 assertNotSame(w, w.without(JsonGenerator.Feature.AUTO_CLOSE_TARGET)); in testGeneratorFeatures()
271 assertNotSame(w, w.withoutFeatures(JsonGenerator.Feature.AUTO_CLOSE_TARGET)); in testGeneratorFeatures()
DObjectMapperTest.java82 assertTrue(mapper.isEnabled(JsonGenerator.Feature.AUTO_CLOSE_TARGET)); in testGeneratorFeatures()
83 assertTrue(mapper.isEnabled(StreamWriteFeature.AUTO_CLOSE_TARGET)); in testGeneratorFeatures()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/json/
DWriterBasedJsonGenerator.java1011 if (_ioContext.isResourceManaged() || isEnabled(Feature.AUTO_CLOSE_TARGET)) { in close()
DUTF8JsonGenerator.java1228 if (_ioContext.isResourceManaged() || isEnabled(Feature.AUTO_CLOSE_TARGET)) { in close()