Searched refs:schemas (Results 1 – 4 of 4) sorted by relevance
915 AppSearchSchema[] schemas = request.getSchemas().toArray(new AppSearchSchema[0]); in testVerbatimTokenizerType() local916 assertThat(schemas).hasLength(1); in testVerbatimTokenizerType()917 List<AppSearchSchema.PropertyConfig> properties = schemas[0].getProperties(); in testVerbatimTokenizerType()941 AppSearchSchema[] schemas = request.getSchemas().toArray(new AppSearchSchema[0]); in testRfc822TokenizerType() local942 assertThat(schemas).hasLength(1); in testRfc822TokenizerType()943 List<AppSearchSchema.PropertyConfig> properties = schemas[0].getProperties(); in testRfc822TokenizerType()
865 Set<AppSearchSchema> schemas = mDb1.getSchemaAsync().get().getSchemas(); in testSetSchema_maxProperties_nestedSchemas() local866 assertThat(schemas).containsExactly(personSchema, orgSchema, addressSchema); in testSetSchema_maxProperties_nestedSchemas()935 List<AppSearchSchema> schemas = new ArrayList<>(response.getSchemas()); in testGetSchema_allPropertyTypes() local936 assertThat(schemas).containsExactly(inSchema, AppSearchEmail.SCHEMA); in testGetSchema_allPropertyTypes()938 if (schemas.get(0).getSchemaType().equals("Test")) { in testGetSchema_allPropertyTypes()939 outSchema = schemas.get(0); in testGetSchema_allPropertyTypes()941 outSchema = schemas.get(1); in testGetSchema_allPropertyTypes()
135 List<String> schemas = new ArrayList(response.getSchemas().size()); in globalGetSchema() local137 schemas.add(schema.toString()); in globalGetSchema()139 return schemas; in globalGetSchema()
183 Set<AppSearchSchema> schemas = getSchemaResponse.getSchemas(); in testHasEnterpriseAccess() local184 assertThat(schemas).hasSize(1); in testHasEnterpriseAccess()185 assertThat(schemas.iterator().next().getSchemaType()).isEqualTo(Person.SCHEMA_TYPE); in testHasEnterpriseAccess()