11767c5feSopenharmony_ci// Copyright (C) 2012 The Libphonenumber Authors 21767c5feSopenharmony_ci// 31767c5feSopenharmony_ci// Licensed under the Apache License, Version 2.0 (the "License"); 41767c5feSopenharmony_ci// you may not use this file except in compliance with the License. 51767c5feSopenharmony_ci// You may obtain a copy of the License at 61767c5feSopenharmony_ci// 71767c5feSopenharmony_ci// http://www.apache.org/licenses/LICENSE-2.0 81767c5feSopenharmony_ci// 91767c5feSopenharmony_ci// Unless required by applicable law or agreed to in writing, software 101767c5feSopenharmony_ci// distributed under the License is distributed on an "AS IS" BASIS, 111767c5feSopenharmony_ci// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 121767c5feSopenharmony_ci// See the License for the specific language governing permissions and 131767c5feSopenharmony_ci// limitations under the License. 141767c5feSopenharmony_ci 151767c5feSopenharmony_ci#ifndef I18N_PHONENUMBERS_GEOCODING_TEST_DATA 161767c5feSopenharmony_ci#define I18N_PHONENUMBERS_GEOCODING_TEST_DATA 171767c5feSopenharmony_ci 181767c5feSopenharmony_ci#include "phonenumbers/base/basictypes.h" 191767c5feSopenharmony_ci#include "phonenumbers/geocoding/geocoding_data.h" 201767c5feSopenharmony_ci 211767c5feSopenharmony_cinamespace i18n { 221767c5feSopenharmony_cinamespace phonenumbers { 231767c5feSopenharmony_ci 241767c5feSopenharmony_ci// Returns a sorted array of country calling codes. 251767c5feSopenharmony_ciconst int* get_test_country_calling_codes(); 261767c5feSopenharmony_ci 271767c5feSopenharmony_ci// Returns the number of country calling codes in 281767c5feSopenharmony_ci// get_test_country_calling_codes() array. 291767c5feSopenharmony_ciint get_test_country_calling_codes_size(); 301767c5feSopenharmony_ci 311767c5feSopenharmony_ci// Returns the CountryLanguages record for country at index, index 321767c5feSopenharmony_ci// being in [0, get_test_country_calling_codes_size()). 331767c5feSopenharmony_ciconst CountryLanguages* get_test_country_languages(int index); 341767c5feSopenharmony_ci 351767c5feSopenharmony_ci// Returns a sorted array of prefix language code pairs like 361767c5feSopenharmony_ci// "1_de" or "82_ko". 371767c5feSopenharmony_ciconst char** get_test_prefix_language_code_pairs(); 381767c5feSopenharmony_ci 391767c5feSopenharmony_ci// Returns the number of elements in 401767c5feSopenharmony_ci// get_prefix_language_code_pairs() 411767c5feSopenharmony_ciint get_test_prefix_language_code_pairs_size(); 421767c5feSopenharmony_ci 431767c5feSopenharmony_ci// Returns the PrefixDescriptions for language/code pair at index, 441767c5feSopenharmony_ci// index being in [0, get_prefix_language_code_pairs_size()). 451767c5feSopenharmony_ciconst PrefixDescriptions* get_test_prefix_descriptions(int index); 461767c5feSopenharmony_ci 471767c5feSopenharmony_ci} // namespace phonenumbers 481767c5feSopenharmony_ci} // namespace i18n 491767c5feSopenharmony_ci 501767c5feSopenharmony_ci#endif // I18N_PHONENUMBERS_GEOCODING_TEST_DATA 51