Searched refs:AUTO_CLOSE_SOURCE (Results 1 – 9 of 9) sorted by relevance
28 assertTrue(sharedStreamFactory().isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testNoAutoCloseReader()31 .disable(StreamReadFeature.AUTO_CLOSE_SOURCE) in testNoAutoCloseReader()33 assertFalse(f.isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testNoAutoCloseReader()35 assertFalse(f.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testNoAutoCloseReader()60 .enable(StreamReadFeature.AUTO_CLOSE_SOURCE) in testAutoCloseReader()86 .disable(StreamReadFeature.AUTO_CLOSE_SOURCE) in testNoAutoCloseInputStream()
24 p.enable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in testConfig()25 assertTrue(p.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testConfig()26 p.disable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in testConfig()27 assertFalse(p.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testConfig()29 p.configure(JsonParser.Feature.AUTO_CLOSE_SOURCE, true); in testConfig()30 assertTrue(p.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testConfig()31 p.configure(JsonParser.Feature.AUTO_CLOSE_SOURCE, false); in testConfig()32 assertFalse(p.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testConfig()
17 assertTrue(JSON_F.isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testDefaultSettings()
31 AUTO_CLOSE_SOURCE(JsonParser.Feature.AUTO_CLOSE_SOURCE), enumConstant
72 AUTO_CLOSE_SOURCE(true), enumConstant
99 assertTrue(mapper.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testParserFeatures()100 assertTrue(mapper.isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testParserFeatures()103 mapper.disable(JsonParser.Feature.AUTO_CLOSE_SOURCE, in testParserFeatures()105 assertFalse(mapper.isEnabled(JsonParser.Feature.AUTO_CLOSE_SOURCE)); in testParserFeatures()106 assertFalse(mapper.isEnabled(StreamReadFeature.AUTO_CLOSE_SOURCE)); in testParserFeatures()
2178 p.enable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in _detectBindAndClose()2195 p.enable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in _detectBindAndReadValues()2209 p.enable(JsonParser.Feature.AUTO_CLOSE_SOURCE); in _detectBindAndCloseAsTree()
213 if (_ioContext.isResourceManaged() || isEnabled(Feature.AUTO_CLOSE_SOURCE)) { in _closeInput()
258 if (_ioContext.isResourceManaged() || isEnabled(Feature.AUTO_CLOSE_SOURCE)) { in _closeInput()