Home
last modified time | relevance | path

Searched defs:immunizationJson (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/phr/validations/
DFhirResourceValidatorTest.java74 JSONObject immunizationJson = new JSONObject(FHIR_DATA_IMMUNIZATION); in testValidateFhirResource_invalidTypeInt_throws() local
85 JSONObject immunizationJson = new JSONObject(FHIR_DATA_IMMUNIZATION); in testValidateFhirResource_validResource_succeeds() local
98 JSONObject immunizationJson = in testValidateFhirResource_primitiveTypeFieldValueAndExtension_succeeds() local
117 JSONObject immunizationJson = in testValidateFhirResource_onlyRequiredPrimitiveTypeExtensionField_succeeds() local
202 JSONObject immunizationJson = in testValidateFhirResource_onlyRequiredPrimitiveTypeValueField_succeeds() local
220 JSONObject immunizationJson = in testValidateFhirResource_missingRequiredPrimitiveTypeField_throws() local
242 JSONObject immunizationJson = in testValidateFhirResource_unknownField_throws() local
260 JSONObject immunizationJson = in testValidateFhirResource_unknownFieldWithUnderscore_throws() local
285 JSONObject immunizationJson = in testValidateFhirResource_nonPrimitiveFieldWithUnderscore_throws() local
306 JSONObject immunizationJson = in testValidateFhirResource_missingRequiredField_throws() local
[all …]
DFhirObjectTypeValidatorTest.java231 JSONObject immunizationJson = new JSONObject(DEFAULT_IMMUNIZATION_JSON); in testValidate_byImmunizationResourceType_succeeds() local
249 JSONObject immunizationJson = new JSONObject(DEFAULT_IMMUNIZATION_JSON); in testValidate_missingRequiredPrimitiveField_throws() local
282 JSONObject immunizationJson = new JSONObject(DEFAULT_IMMUNIZATION_JSON); in testValidate_missingRequiredComplexTypeField_throws() local
309 JSONObject immunizationJson = in testValidate_primitiveTypeExtensionForRequiredField_succeeds() local
343 JSONObject immunizationJson = in testValidate_oneRequiredMultiTypeFieldPresent_succeeds() local
376 JSONObject immunizationJson = new JSONObject(DEFAULT_IMMUNIZATION_JSON); in testValidate_requiredMultiTypeFieldMissing_throws() local
417 JSONObject immunizationJson = in testValidate_moreThanOneMultiTypeFieldPresent_throws() local
447 JSONObject immunizationJson = in testValidate_unknownField_throws() local
474 JSONObject immunizationJson = in testValidate_complexTypeFieldNotJsonObject_throws() local
503 JSONObject immunizationJson = in testValidate_complexTypeFieldIsNull_throws() local
[all …]
DMedicalResourceValidatorTest.java286 String immunizationJson = new ImmunizationBuilder().set("id", JSONObject.NULL).toJson(); in testValidateAndCreateInternalRequest_nullId_throws() local
298 String immunizationJson = new ImmunizationBuilder().set("id", 123).toJson(); in testValidateAndCreateInternalRequest_nonStringId_throws() local
310 String immunizationJson = new ImmunizationBuilder().set("id", "null").toJson(); in testValidateAndCreateInternalRequest_nullString_succeeds() local
361 String immunizationJson = in testValidateAndCreateInternalRequest_nullResourceType_throws() local
/packages/modules/HealthFitness/tests/cts/phr/src/android/healthconnect/cts/phr/apis/
DUpsertMedicalResourcesCtsTest.java1101 String immunizationJson = new ImmunizationBuilder().set("id", JSONObject.NULL).toJson(); in testUpsertMedicalResources_nullResourceId_throws() local
1120 String immunizationJson = new ImmunizationBuilder().set("id", "null").toJson(); in testUpsertMedicalResources_nullStringResourceId_succeeds() local
1139 String immunizationJson = new ImmunizationBuilder().setTextNarrative().toJson(); in testUpsertMedicalResources_resourceHasTextNarrativeSet_succeeds() local
1157 String immunizationJson = new ImmunizationBuilder().set("id", 123).toJson(); in testUpsertMedicalResources_nonStringResourceId_throws() local