Home
last modified time | relevance | path

Searched refs:registerModule (Results 1 – 25 of 59) sorted by relevance

123

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DSimpleModuleTest.java235 mapper.registerModule(mod); in testSimpleBeanSerializer()
272 mapper.registerModule(mod); in testSimpleBeanDeserializer()
283 mapper.registerModule(mod); in testSimpleEnumDeserializer()
301 mapper.registerModule(mod1); in testMultipleModules()
302 mapper.registerModule(mod2); in testMultipleModules()
309 mapper.registerModule(mod2); in testMultipleModules()
310 mapper.registerModule(mod1); in testMultipleModules()
323 mapper.registerModule(mod1); in testGetRegisteredModules()
324 mapper.registerModule(mod2); in testGetRegisteredModules()
347 mapper.registerModule(module); in testMixIns()
[all …]
DTestDuplicateRegistration.java37 mapper.registerModule(module); in testDuplicateRegistration()
38 mapper.registerModule(module); in testDuplicateRegistration()
39 mapper.registerModule(module); in testDuplicateRegistration()
44 mapper.registerModule(module); in testDuplicateRegistration()
DTestAbstractTypes.java94 mapper.registerModule(mod); in testCollectionDefaulting()
105 mapper.registerModule(mod); in testMapDefaultingBasic()
120 mapper.registerModule(mod); in testDefaultingRecursive()
145 mapper.registerModule(mod); in testInterfaceDefaulting()
154 .registerModule(mod); in testInterfaceDefaulting()
DTestTypeModifiers.java256 mapper.registerModule(new SimpleModule() { in testTypeResolutionForRecursive()
278 mapper.registerModule(new ModifierModule()); in testCollectionLikeSerialization()
286 mapper.registerModule(new ModifierModule()); in testMapLikeSerialization()
296 mapper.registerModule(new ModifierModule()); in testCollectionLikeDeserialization()
307 mapper.registerModule(new ModifierModule()); in testMapLikeDeserialization()
DTestCustomEnumKeyDeserializer.java174 ObjectMapper fancyObjectMapper = new ObjectMapper().registerModule(new TestEnumModule()); in testWithEnumKeys()
187 ObjectMapper mapper = new ObjectMapper().registerModule(new TestEnumModule()); in withTree749()
217 .registerModule(simpleModule); in testCustomEnumKeySerializerWithPolymorphic()
264 .registerModule(module); in testCustomEnumValueAndKeyViaModifier()
DTestKeyDeserializers.java37 mapper.registerModule(mod); in testKeyDeserializers()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DTestValueInstantiator.java343 mapper.registerModule(new MyModule(MyBean.class, new MyBeanInstantiator())); in testCustomBeanInstantiator()
352 mapper.registerModule(new MyModule(MyList.class, new MyListInstantiator())); in testCustomListInstantiator()
362 mapper.registerModule(new MyModule(MyMap.class, new MyMapInstantiator())); in testCustomMapInstantiator()
378 mapper.registerModule(new MyModule(MyBean.class, new MyDelegateBeanInstantiator())); in testDelegateBeanInstantiator()
387 mapper.registerModule(new MyModule(MyList.class, new MyDelegateListInstantiator())); in testDelegateListInstantiator()
397 mapper.registerModule(new MyModule(MyMap.class, new MyDelegateMapInstantiator())); in testDelegateMapInstantiator()
422 mapper.registerModule(new MyModule(CreatorBean.class, in testPropertyBasedBeanInstantiator()
449 mapper.registerModule(new MyModule(MyMap.class, new CreatorMapInstantiator())); in testPropertyBasedMapInstantiator()
466 mapper.registerModule(new MyModule(MysteryBean.class, in testBeanFromString()
484 mapper.registerModule(new MyModule(MysteryBean.class, in testBeanFromInt()
[all …]
DTestCustomValueInstDefaults.java381 mapper.registerModule(new BucketModule()); in testAllPresent()
397 mapper.registerModule(new BucketModule()); in testAllAbsent()
414 mapper.registerModule(new BucketModule()); in testMixedPresentAndAbsent()
457 mapper.registerModule(new BucketModule()); in testPresentZeroPrimitive()
473 mapper.registerModule(new BucketModule()); in testPresentNullReference()
491 mapper.registerModule(new BucketModule()); in testMoreThan32CreatorParams()
546 .registerModule(new ClassWith32Module()); in testClassWith32CreatorParams()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DBeanSerializerModifierTest.java260 mapper.registerModule(new SerializerModifierModule(new RemovingModifier("a")));
268 mapper.registerModule(new SerializerModifierModule(new ReorderingModifier()));
276 …mapper.registerModule(new SerializerModifierModule(new BuilderModifier(new BogusBeanSerializer(17)…
283 …mapper.registerModule(new SerializerModifierModule(new ReplacingModifier(new BogusBeanSerializer(1…
292 mapper.registerModule(new SimpleModule("test", Version.unknownVersion()) {
307 mapper.registerModule(new SimpleModule("test", Version.unknownVersion()) {
324 mapper.registerModule(new SimpleModule("test")
332 mapper.registerModule(new SimpleModule("test")
340 mapper.registerModule(new SimpleModule("test")
348 mapper.registerModule(new SimpleModule("test")
[all …]
DTestCustomSerializers.java226 mapper.registerModule(module); in testCustomLists()
246 mapper.registerModule(module); in testDelegating()
281 .registerModule(module); in testWithCustomElements()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestBeanDeserializer.java344 mapper.registerModule(new ModuleImpl(new RemovingModifier("a")));
354 …mapper.registerModule(new ModuleImpl(new ReplacingModifier(new BogusBeanDeserializer("foo", "bar")…
366 mapper.registerModule(new Issue476Module());
377 mapper.registerModule(new SimpleModule("test")
387 mapper.registerModule(new SimpleModule("test")
398 mapper.registerModule(new SimpleModule("test")
409 mapper.registerModule(new SimpleModule("test")
419 mapper.registerModule(new SimpleModule("test")
434 mapper.registerModule(new SimpleModule("test")
451 mapper.registerModule(new Issue1912Module());
DNullHandlingTest.java100 mapper.registerModule(module); in testAnySetterNulls()
126 mapper.registerModule(module); in testCustomRootNulls()
146 mapper.registerModule(module); in testListOfNulls()
171 mapper.registerModule(module); in testMapOfNulls()
DTestCustomDeserializers.java381 mapper.registerModule(module); in testDelegating()
401 mapper.registerModule(module); in testJsonNodeDelegating()
424 mapper.registerModule(module); in testContextReadValue()
448 ObjectMapper mapper = new ObjectMapper().registerModule( in testCustomStringDeser()
459 ObjectMapper mapper = new ObjectMapper().registerModule( in testDelegatingDeserializer()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/contextual/
DTestContextualSerialization.java230 mapper.registerModule(module); in testMethodAnnotations()
241 mapper.registerModule(module); in testClassAnnotations()
250 mapper.registerModule(module); in testWrappedBean()
260 mapper.registerModule(module); in testMethodAnnotationInArray()
271 mapper.registerModule(module); in testMethodAnnotationInList()
282 mapper.registerModule(module); in testMethodAnnotationInMap()
DTestContextualKeyTypes.java96 mapper.registerModule(module); in testSimpleKeySer()
115 mapper.registerModule(module); in testSimpleKeyDeser()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DTestIgnoredTypes.java86 mapper.registerModule(module); in testSingleWithMixins()
96 mapper.registerModule(module); in testListWithMixins()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/jdk/
DMapKeySerializationTest.java206 mapper.registerModule(mod); in testCustomForEnum()
236 mapper.registerModule(mod); in testCustomEnumInnerMapKey()
279 .registerModule(mod) in testUnWrappedMapWithKeySerializer()
298 mapper.registerModule(mod); in testUnWrappedMapWithDefaultType()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DUntypedDeserializationTest.java250 .registerModule(m); in testUntypedWithCustomScalarDesers()
271 .registerModule(m); in testNonVanilla()
293 .registerModule(m); in testUntypedWithListDeser()
310 .registerModule(m); in testUntypedWithMapDeser()
415 .registerModule(m); in testValueUpdateCustomUntyped()
506 .registerModule(m); in testPolymorphicUntypedCustom()
/external/exoplayer/tree/extensions/av1/src/main/java/com/google/android/exoplayer2/ext/av1/
DGav1Library.java25 ExoPlayerLibraryInfo.registerModule("goog.exo.gav1");
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/
DFlacLibrary.java27 ExoPlayerLibraryInfo.registerModule("goog.exo.flac");
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DExoPlayerLibraryInfo.java80 public static synchronized void registerModule(String name) { in registerModule() method in ExoPlayerLibraryInfo
/external/exoplayer/tree/extensions/opus/src/main/java/com/google/android/exoplayer2/ext/opus/
DOpusLibrary.java30 ExoPlayerLibraryInfo.registerModule("goog.exo.opus");
/external/exoplayer/tree/extensions/vp9/src/main/java/com/google/android/exoplayer2/ext/vp9/
DVpxLibrary.java30 ExoPlayerLibraryInfo.registerModule("goog.exo.vpx");
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DAbstractTypeMapping1186Test.java37 final ObjectMapper mapper = new ObjectMapper().registerModule(module); in testDeserializeMyContainer()
DTypeResolverTest.java46 mapper.registerModule(basicModule); in testSubtypeResolution()

123