Home
last modified time | relevance | path

Searched refs:writeAndMap (Results 1 – 25 of 29) sorted by relevance

12

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/mixins/
DTestMixinSerForClass.java76 result = writeAndMap(mapper, new LeafClass("abc")); in testClassMixInsTopLevel()
83 result = writeAndMap(mapper, new LeafClass("abc")); in testClassMixInsTopLevel()
91 result = writeAndMap(mapper, new LeafClass("abc")); in testClassMixInsTopLevel()
104 result = writeAndMap(mapper, bean); in testClassMixInsMidLevel()
112 result = writeAndMap(mapper, bean); in testClassMixInsMidLevel()
118 result = writeAndMap(mapper2, bean); in testClassMixInsMidLevel()
122 result = writeAndMap(mapper3, bean); in testClassMixInsMidLevel()
DTestMixinSerForMethods.java108 result = writeAndMap(mapper, bean); in testLeafMixin()
115 result = writeAndMap(mapper, bean); in testLeafMixin()
133 result = writeAndMap(mapper, bean); in testIntermediateMixin()
146 Map<String,Object> result = writeAndMap(mapper, new SimpleBean()); in testIntermediateMixin2()
177 Map<String,Object> result = writeAndMap(mapper, new SimpleBean()); in testCustomResolver()
DTestMixinSerForFields.java66 result = writeAndMap(mapper, bean); in testFieldMixInsTopLevel()
73 result = writeAndMap(mapper, bean); in testFieldMixInsTopLevel()
89 result = writeAndMap(mapper, new SubClass("1", "2")); in testMultipleFieldMixIns()
DTestMixinInheritance.java56 result = writeAndMap(mapper, new Beano()); in testMixinFieldInheritance()
69 result = writeAndMap(mapper, new Beano2()); in testMixinMethodInheritance()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DFieldSerializationTest.java141 Map<String,Object> result = writeAndMap(MAPPER, bean); in testSimpleAutoDetect()
152 Map<String,Object> result = writeAndMap(MAPPER, bean); in testSimpleAnnotation()
163 Map<String,Object> result = writeAndMap(MAPPER, bean); in testTransientAndStatic()
172 Map<String,Object> result = writeAndMap(MAPPER, bean); in testNoAutoDetect()
197 Map<String,Object> json = writeAndMap(MAPPER, bean); in testOkDupFields()
218 writeAndMap(MAPPER, new DupFieldBean()); in testFailureDueToDups()
227 writeAndMap(MAPPER, new DupFieldBean2()); in testFailureDueToDupField()
DTestAutoDetect.java58 Map<String,Object> result = writeAndMap(MAPPER, new ProtFieldBean()); in testProtectedViaAnnotations()
64 result = writeAndMap(MAPPER, new ProtMethodBean()); in testProtectedViaAnnotations()
78 Map<String,Object> result = writeAndMap(m, new FieldBean()); in testPrivateUsingGlobals()
88 result = writeAndMap(m, new MethodBean()); in testPrivateUsingGlobals()
102 Map<String,Object> result = writeAndMap(m, new FieldBean()); in testBasicSetup()
114 Map<String,Object> result = writeAndMap(m, new FieldBean()); in testMapperShortcutMethods()
DTestAnnotations.java169 Map<String,Object> result = writeAndMap(MAPPER, new SizeClassGetter()); in testSimpleGetter()
178 Map<String,Object> result = writeAndMap(MAPPER, new SizeClassGetter2()); in testSimpleGetter2()
186 Map<String,Object> result = writeAndMap(MAPPER, new SizeClassGetter3()); in testSimpleGetter3()
197 Map<String,Object> result = writeAndMap(MAPPER, new SubClassBean()); in testGetterInheritance()
DTestStatics.java50 Map<String,Object> result = writeAndMap(m, new FieldBean()); in testStaticFields()
58 Map<String,Object> result = writeAndMap(m, new GetterBean()); in testStaticMethods()
DTestAnnotationInheritance.java78 Map<String,Object> result = writeAndMap(m, new PojoSubclass()); in testSimpleGetterInheritance()
87 Map<String,Object> result = writeAndMap(m, new PojoImpl()); in testSimpleGetterInterfaceImpl()
DCyclicTypeSerTest.java61 Map<String,Object> map = writeAndMap(MAPPER, first); in testLinkedButNotCyclic()
81 writeAndMap(MAPPER, wrapper); in testSimpleDirectSelfReference()
DTestJsonSerialize.java139 Map<String,Object> result = writeAndMap(MAPPER, new WrapperClassForAs()); in testSimpleValueDefinition()
161 Map<String,Object> result = writeAndMap(MAPPER, new WrapperClassForStaticTyping()); in testStaticTypingForClass()
173 Map<String,Object> result = writeAndMap(MAPPER, new WrapperClassForStaticTyping2()); in testMixedTypingForClass()
DTestConfig.java124 Map<String,Object> result = writeAndMap(MAPPER, new AnnoBean()); in testAnnotationsDisabled()
130 result = writeAndMap(m2, new AnnoBean()); in testAnnotationsDisabled()
143 Map<String,Object> result = this.writeAndMap(mapper, new AnnoBean()); in testProviderConfig()
DTestJacksonTypes.java21 Map<String,Object> result = writeAndMap(mapper, loc); in testLocation()
DTestRootType.java85 Map<String,Object> result = writeAndMap(mapper, bean); in testSuperClass()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DTestSimpleSerializationIgnore.java78 Map<String,Object> result = writeAndMap(MAPPER, new SizeClassEnabledIgnore()); in testSimpleIgnore()
87 Map<String,Object> result = writeAndMap(MAPPER, new SizeClassDisabledIgnore()); in testDisabledIgnore()
100 Map<String,Object> result = writeAndMap(MAPPER, new BaseClassIgnore()); in testIgnoreOver()
105 result = writeAndMap(MAPPER, new SubClassNonIgnore()); in testIgnoreOver()
DJsonIncludeTest.java207 Map<String,Object> result = writeAndMap(MAPPER, new SimpleBean()); in testGlobal()
216 Map<String,Object> result = writeAndMap(MAPPER, new NoNullsBean()); in testNonNullByClass()
229 Map<String,Object> result = writeAndMap(MAPPER, bean); in testNonDefaultByClass()
250 Map<String,Object> result = writeAndMap(MAPPER, bean); in testMixedMethod()
257 result = writeAndMap(MAPPER, bean); in testMixedMethod()
DIgnorePropsForSerTest.java96 Map<String,Object> result = writeAndMap(MAPPER, value); in testExplicitIgnoralWithBean()
112 Map<String,Object> result = writeAndMap(MAPPER, value); in testExplicitIgnoralWithMap()
DIncludePropsForSerTest.java121 Map<String, Object> result = writeAndMap(MAPPER, value); in testExplicitIncludeWithBean()
138 Map<String, Object> result = writeAndMap(MAPPER, value); in testExplicitIncludeWithMap()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DVisibilityForSerializationTest.java87 Map<String,Object> result = writeAndMap(m, new GetterClass()); in testGlobalAutoDetection()
97 result = writeAndMap(m, new GetterClass()); in testGlobalAutoDetection()
106 Map<String,Object> result = writeAndMap(m, new DisabledGetterClass()); in testPerClassAutoDetection()
114 result = writeAndMap(m, new EnabledGetterClass()); in testPerClassAutoDetection()
127 Map<String,Object> result = writeAndMap(m, new EnabledIsGetterClass()); in testPerClassAutoDetectionForIsGetter()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
DCollectionSerializationTest.java200 Map<String,Object> result = writeAndMap(MAPPER, cb); in testEmptyBeanCollection()
212 Map<String,Object> result = writeAndMap(MAPPER, cb); in testNullBeanCollection()
223 Map<String,Object> result = writeAndMap(MAPPER, b); in testEmptyBeanEnumMap()
237 Map<String,Object> result = writeAndMap(MAPPER, b); in testNullBeanEnumMap()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DExistingPropertyTest.java238 Map<String,Object> result = writeAndMap(MAPPER, pinguo); in testExistingPropertySerializationFruits()
244 result = writeAndMap(MAPPER, mandarin); in testExistingPropertySerializationFruits()
303 Map<String,Object> result = writeAndMap(MAPPER, beelzebub); in testExistingPropertySerializationAnimals()
309 result = writeAndMap(MAPPER, rover); in testExistingPropertySerializationAnimals()
365 Map<String,Object> result = writeAndMap(MAPPER, camry); in testExistingPropertySerializationCars()
371 result = writeAndMap(MAPPER, accord); in testExistingPropertySerializationCars()
DTestTypedSerialization.java90 Map<String,Object> result = writeAndMap(MAPPER, new Cat("Beelzebub", "tabby")); in testSimpleClassAsProperty()
106 Map<String,Object> result = writeAndMap(m, new Cat("Venla", "black")); in testTypeAsWrapper()
125 Map<String,Object> result = writeAndMap(m, new AnimalWrapper(new Dog("Amadeus", 7))); in testTypeAsArray()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestFieldDeserialization.java137 writeAndMap(new ObjectMapper(), new DupFieldBean()); in testFailureDueToDups()
146 writeAndMap(new ObjectMapper(), new DupFieldBean2()); in testFailureDueToDups2()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/
DExceptionSerializationTest.java50 Map<String,Object> result = writeAndMap(MAPPER, new Exception(TEST)); in testSimple()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/views/
DTestViewSerialization.java86 Map<String,Object> map = writeAndMap(MAPPER, bean); in testSimple()

12