/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/mixins/ |
D | TestMixinSerForClass.java | 76 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()
|
D | TestMixinSerForMethods.java | 108 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()
|
D | TestMixinSerForFields.java | 66 result = writeAndMap(mapper, bean); in testFieldMixInsTopLevel() 73 result = writeAndMap(mapper, bean); in testFieldMixInsTopLevel() 89 result = writeAndMap(mapper, new SubClass("1", "2")); in testMultipleFieldMixIns()
|
D | TestMixinInheritance.java | 56 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/ |
D | FieldSerializationTest.java | 141 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()
|
D | TestAutoDetect.java | 58 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()
|
D | TestAnnotations.java | 169 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()
|
D | TestStatics.java | 50 Map<String,Object> result = writeAndMap(m, new FieldBean()); in testStaticFields() 58 Map<String,Object> result = writeAndMap(m, new GetterBean()); in testStaticMethods()
|
D | TestAnnotationInheritance.java | 78 Map<String,Object> result = writeAndMap(m, new PojoSubclass()); in testSimpleGetterInheritance() 87 Map<String,Object> result = writeAndMap(m, new PojoImpl()); in testSimpleGetterInterfaceImpl()
|
D | CyclicTypeSerTest.java | 61 Map<String,Object> map = writeAndMap(MAPPER, first); in testLinkedButNotCyclic() 81 writeAndMap(MAPPER, wrapper); in testSimpleDirectSelfReference()
|
D | TestJsonSerialize.java | 139 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()
|
D | TestConfig.java | 124 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()
|
D | TestJacksonTypes.java | 21 Map<String,Object> result = writeAndMap(mapper, loc); in testLocation()
|
D | TestRootType.java | 85 Map<String,Object> result = writeAndMap(mapper, bean); in testSuperClass()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/ |
D | TestSimpleSerializationIgnore.java | 78 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()
|
D | JsonIncludeTest.java | 207 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()
|
D | IgnorePropsForSerTest.java | 96 Map<String,Object> result = writeAndMap(MAPPER, value); in testExplicitIgnoralWithBean() 112 Map<String,Object> result = writeAndMap(MAPPER, value); in testExplicitIgnoralWithMap()
|
D | IncludePropsForSerTest.java | 121 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/ |
D | VisibilityForSerializationTest.java | 87 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/ |
D | CollectionSerializationTest.java | 200 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/ |
D | ExistingPropertyTest.java | 238 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()
|
D | TestTypedSerialization.java | 90 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/ |
D | TestFieldDeserialization.java | 137 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/ |
D | ExceptionSerializationTest.java | 50 Map<String,Object> result = writeAndMap(MAPPER, new Exception(TEST)); in testSimple()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/views/ |
D | TestViewSerialization.java | 86 Map<String,Object> map = writeAndMap(MAPPER, bean); in testSimple()
|