Home
last modified time | relevance | path

Searched refs:animal (Results 1 – 25 of 167) sorted by relevance

1234567

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/builder/
DBuilderWithUnwrappedTest.java260 Animal animal = mapper.readValue(json, Animal.class); in testWithUnwrappedAndCreatorMultipleParametersAtBeginning() local
261 assertEquals(1234, animal.getId()); in testWithUnwrappedAndCreatorMultipleParametersAtBeginning()
262 assertNotNull(animal.getName()); in testWithUnwrappedAndCreatorMultipleParametersAtBeginning()
263 assertEquals("John", animal.getName().getFirst()); in testWithUnwrappedAndCreatorMultipleParametersAtBeginning()
264 assertEquals("Doe", animal.getName().getLast()); in testWithUnwrappedAndCreatorMultipleParametersAtBeginning()
265 assertEquals(30, animal.getAge()); in testWithUnwrappedAndCreatorMultipleParametersAtBeginning()
266 assertEquals(true, animal.isAlive()); in testWithUnwrappedAndCreatorMultipleParametersAtBeginning()
273 Animal animal = mapper.readValue(json, Animal.class); in testWithUnwrappedAndCreatorMultipleParametersInMiddle() local
274 assertEquals(1234, animal.getId()); in testWithUnwrappedAndCreatorMultipleParametersInMiddle()
275 assertNotNull(animal.getName()); in testWithUnwrappedAndCreatorMultipleParametersInMiddle()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DTestPolymorphicCreators.java102 …Animal animal = MAPPER.readValue("{ \"type\":\"dog\", \"name\":\"Fido\", \"barkVolume\" : 95.0 }",… in testManualPolymorphicDog() local
103 assertEquals(Dog.class, animal.getClass()); in testManualPolymorphicDog()
104 assertEquals("Fido", animal.name); in testManualPolymorphicDog()
105 assertEquals(95.0, ((Dog) animal).barkVolume); in testManualPolymorphicDog()
111 …Animal animal = MAPPER.readValue("{ \"name\" : \"Macavity\", \"type\":\"cat\", \"lives\":18, \"lik… in testManualPolymorphicCatBasic() local
112 assertEquals(Cat.class, animal.getClass()); in testManualPolymorphicCatBasic()
113 assertEquals("Macavity", animal.name); // ... there's no one like Macavity! in testManualPolymorphicCatBasic()
114 Cat cat = (Cat) animal; in testManualPolymorphicCatBasic()
123 …Animal animal = MAPPER.readValue("{ \"likesCream\":true, \"name\" : \"Venla\", \"type\":\"cat\" }"… in testManualPolymorphicCatWithReorder() local
124 assertEquals(Cat.class, animal.getClass()); in testManualPolymorphicCatWithReorder()
[all …]
DTestCreatorWithPolymorphic113.java41 private Animal animal; field in TestCreatorWithPolymorphic113.AnimalWrapper
44 public AnimalWrapper(@JsonProperty("animal") Animal animal) { in AnimalWrapper() argument
45 this.animal = animal; in AnimalWrapper()
49 return animal; in getAnimal()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestTypedContainerSerialization.java72 Animal animal; field in TestTypedContainerSerialization.Container1
75 return animal; in getAnimal()
78 public void setAnimal(Animal animal) { in setAnimal() argument
79 this.animal = animal; in setAnimal()
85 T animal; field in TestTypedContainerSerialization.Container2
88 return animal; in getAnimal()
91 public void setAnimal(T animal) { in setAnimal() argument
92 this.animal = animal; in setAnimal()
DTestWithGenerics.java35 private T animal; field in TestWithGenerics.ContainerWithGetter
37 public ContainerWithGetter(T a) { animal = a; } in ContainerWithGetter()
39 public T getAnimal() { return animal; } in getAnimal()
43 public T animal; field in TestWithGenerics.ContainerWithField
45 public ContainerWithField(T a) { animal = a; } in ContainerWithField()
DTestTypedSerialization.java56 public Animal animal; field in TestTypedSerialization.AnimalWrapper
58 public AnimalWrapper(Animal a) { animal = a; } in AnimalWrapper()
DTestTypedDeserialization.java95 public Animal animal; field in TestTypedDeserialization.AnimalContainer
222 Animal a = cont.animal; in testCagedAnimal()
DExistingPropertyTest.java116 public Animal animal; field in ExistingPropertyTest.AnimalWrapper
118 public AnimalWrapper(Animal a) { animal = a; } in AnimalWrapper()
341 Animal beelzebubExtracted = beelzebubWrapperDeserialized.animal; in testSimpleClassAsExistingPropertyDeserializationAnimals()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/
DHouseBean.java20 private Animal animal; field in HouseBean
31 return animal; in getAnimal()
34 public void setAnimal(Animal animal) { in setAnimal() argument
35 this.animal = animal; in setAnimal()
/external/flatbuffers/samples/android/jni/
Dmain.cpp33 auto animal = sample::GetAnimal(builder.GetBufferPointer()); in android_main() local
35 assert(animal->name()->str() == "Dog"); in android_main()
36 assert(animal->sound()->str() == "Bark"); in android_main()
37 (void)animal; // To silence "Unused Variable" warnings. in android_main()
DAndroid.mk35 ANDROID_SAMPLE_SCHEMA_FILES := $(ANDROID_SAMPLE_SCHEMA_DIR)/animal.fbs
/external/python/pybind11/tests/
Dtest_tagbased_polymorphic.py7 assert [type(animal) for animal in zoo] == [
14 assert [animal.name for animal in zoo] == [
/external/cldr/common/properties/
Dlabels.txt70 [��-����-����-����-����-����-��] ; Animals & Nature ; animal-mammal
71 [��-������������������-��] ; Animals & Nature ; animal-mammal
72 [����������] ; Animals & Nature ; animal-mammal
73 [������-����������������] ; Animals & Nature ; animal-bird
74 [��] ; Animals & Nature ; animal-bird
75 [��] ; Animals & Nature ; animal-amphibian
76 [����������������] ; Animals & Nature ; animal-reptile
77 [��������-��������������] ; Animals & Nature ; animal-marine
78 [��] ; Animals & Nature ; animal-marine
79 [����-����������������] ; Animals & Nature ; animal-bug
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/ext/
DExternalTypeId2588Test.java27 private final Animal animal; field in ExternalTypeId2588Test.Pet
31 @JsonProperty("animal") Animal animal) { in Pet() argument
33 this.animal = animal; in Pet()
DExternalTypeIdWithEnum1328Test.java32 private Animal animal; field in ExternalTypeIdWithEnum1328Test.AnimalAndType
38 public AnimalAndType(final AnimalType type, final Animal animal) { in AnimalAndType() argument
40 this.animal = animal; in AnimalAndType()
/external/pcre/dist2/testdata/
DgrepoutputCN6 The snowcat is not an animal
12 The snowcat is not an animal
24 The snowcat is not an animal
DgrepoutputC12 The snowcat is not an animal
24 The snowcat is not an animal
36 The snowcat is not an animal
Dgrepinputv8 The snowcat is not an animal
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestUpdateViaObjectReader.java90 protected AbstractAnimal animal; field in TestUpdateViaObjectReader.AnimalWrapper
92 public void setAnimal(AbstractAnimal animal) { in setAnimal() argument
93 this.animal = animal; in setAnimal()
/external/python/google-api-python-client/docs/
Dmedia.md3 …s on a farm, the insert method might allow you to upload an image of the animal when adding it to …
7 # Adds an animal to the farm.
11 # media_body: string or MediaUpload, Picture of the animal.
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/struct/
DTestUnwrapped.java92 public String animal; field in TestUnwrapped.Inner
229 inner.animal = "Zebra"; in testUnwrappedAsPropertyIndicator()
/external/grpc-grpc-java/protobuf-nano/
Dbuild.gradle21 exclude group: 'org.codehaus.mojo', module: 'animal-sniffer-annotations'
/external/python/pybind11/docs/advanced/
Dmisc.rst72 py::class_<Animal, PyAnimal> animal(m, "Animal");
73 animal
77 py::class_<Dog>(m, "Dog", animal)
80 m.def("call_go", [](Animal *animal) -> std::string {
83 return call_go(animal);
/external/grpc-grpc-java/protobuf/
Dbuild.gradle20 exclude group: 'org.codehaus.mojo', module: 'animal-sniffer-annotations'
/external/grpc-grpc-java/protobuf-lite/
Dbuild.gradle23 exclude group: 'org.codehaus.mojo', module: 'animal-sniffer-annotations'

1234567