Searched refs:AUTO_CLOSE_TARGET (Results 1 – 7 of 7) sorted by relevance
39 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()
33 AUTO_CLOSE_TARGET(JsonGenerator.Feature.AUTO_CLOSE_TARGET), enumConstant
80 AUTO_CLOSE_TARGET(true), enumConstant
269 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()
82 assertTrue(mapper.isEnabled(JsonGenerator.Feature.AUTO_CLOSE_TARGET)); in testGeneratorFeatures()83 assertTrue(mapper.isEnabled(StreamWriteFeature.AUTO_CLOSE_TARGET)); in testGeneratorFeatures()
1011 if (_ioContext.isResourceManaged() || isEnabled(Feature.AUTO_CLOSE_TARGET)) { in close()
1228 if (_ioContext.isResourceManaged() || isEnabled(Feature.AUTO_CLOSE_TARGET)) { in close()