blob: 401da51d0f71d28cbd46324b0b939d2371373b69 [file] [log] [blame]
// Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SHILL_MOBILE_OPERATOR_DB_TEST_PROTOS_INIT_TEST_SUCCESSFUL_INIT_H_
#define SHILL_MOBILE_OPERATOR_DB_TEST_PROTOS_INIT_TEST_SUCCESSFUL_INIT_H_
#ifndef IN_MOBILE_OPERATOR_INFO_UNITTEST_CC
#error "Must be included only from mobile_operator_info_unittest.cc."
#endif
// Following is the binary protobuf for the following (text representation)
// protobuf:
// mno {
// data {
// uuid: "muahahahaha"
// provider_type: CDMA
// country: "us"
// localized_name {
// name: "Faulkner"
// }
// sid: "0000"
// }
// }
//
// imvno {
// mccmnc: "00"
// mvno {
// data {
// uuid: "teeheehee"
// provider_type: CDMA
// country: "us"
// localized_name {
// name: "Falkner"
// }
// sid: "0000"
// }
// }
// }
//
// The binary data for the protobuf in this file was generated by writing the
// prototxt file init_test_successful_init.prototxt and then:
// protoc --proto_path .. --encode "shill.mobile_operator_db.MobileOperatorDB"
// ../mobile_operator_db.proto < init_test_successful_init.prototxt
// > init_test_successful_init.h.pbf
// cat init_test_successful_init.h.pbf | xxd -i
namespace shill {
namespace mobile_operator_db {
static const unsigned char init_test_successful_init[] {
0x0a, 0x28, 0x0a, 0x26, 0x0a, 0x0b, 0x6d, 0x75, 0x61, 0x68, 0x61, 0x68,
0x61, 0x68, 0x61, 0x68, 0x61, 0x10, 0x02, 0x1a, 0x02, 0x75, 0x73, 0x22,
0x0a, 0x0a, 0x08, 0x46, 0x61, 0x75, 0x6c, 0x6b, 0x6e, 0x65, 0x72, 0xca,
0x02, 0x04, 0x30, 0x30, 0x30, 0x30, 0x12, 0x2b, 0x0a, 0x02, 0x30, 0x30,
0x7a, 0x25, 0x12, 0x23, 0x0a, 0x09, 0x74, 0x65, 0x65, 0x68, 0x65, 0x65,
0x68, 0x65, 0x65, 0x10, 0x02, 0x1a, 0x02, 0x75, 0x73, 0x22, 0x09, 0x0a,
0x07, 0x46, 0x61, 0x6c, 0x6b, 0x6e, 0x65, 0x72, 0xca, 0x02, 0x04, 0x30,
0x30, 0x30, 0x30
};
} // namespace mobile_operator_db
} // namespace shill
#endif // SHILL_MOBILE_OPERATOR_DB_TEST_PROTOS_INIT_TEST_SUCCESSFUL_INIT_H_