Searched refs:FAIL_ON_EMPTY_BEANS (Results 1 – 20 of 20) sorted by relevance
251 newW = w.without(SerializationFeature.FAIL_ON_EMPTY_BEANS, in testFeatureSettings()254 assertFalse(newW.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testFeatureSettings()256 assertSame(newW, newW.without(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testFeatureSettings()257 assertSame(newW, newW.withoutFeatures(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testFeatureSettings()259 assertNotSame(w, w.withoutFeatures(SerializationFeature.FAIL_ON_EMPTY_BEANS, in testFeatureSettings()
346 m.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS); in testNonSerializabilityOfObject()348 assertTrue(MAPPER.writer().without(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testNonSerializabilityOfObject()350 assertFalse(MAPPER.writer().with(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testNonSerializabilityOfObject()358 assertFalse(MAPPER.writer().with(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testEmptyBeanSerializability()361 assertTrue(MAPPER.writer().without(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testEmptyBeanSerializability()
88 … assertTrue(mapper.getSerializationConfig().isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testEmptyWithFeature()89 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testEmptyWithFeature()
189 m.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, true); in testAnyOnly()195 m.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testAnyOnly()
87 assertTrue(cfg.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testDefaults()
32 if (provider.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)) { in serialize()44 if (provider.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)) { in serializeWithType()
72 FAIL_ON_EMPTY_BEANS(true), enumConstant
988 if (isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)) { in isUnknownTypeSerializer()
314 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, true); in testEmptyBean()319 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testEmptyBean()327 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testEmptyBean()
185 m.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testEmptyBean()
58 MAPPER.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
147 .disable(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testCreator541()
147 .configure( SerializationFeature.FAIL_ON_EMPTY_BEANS, false ) in createMapper()
17 … assertTrue(config.hasSerializationFeatures(SerializationFeature.FAIL_ON_EMPTY_BEANS.getMask())); in testSerConfig()
195 .configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false ) in createObjectMapper()
62 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testCheckSiblingContextFilter()
252 mapper.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS); in testIssue11()
254 if (!_config.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)) { in hasSerializerFor()
227 mapper.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
1122 #978: ObjectMapper#canSerialize(Object.class) returns false even though FAIL_ON_EMPTY_BEANS is disa…