test_data.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /*
  2. * Copyright (C) 2015, The Android Open Source Project
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #ifndef AIDL_TESTS_TEST_DATA_H_
  17. #define AIDL_TESTS_TEST_DATA_H_
  18. namespace android {
  19. namespace aidl {
  20. namespace test_data {
  21. namespace example_interface {
  22. extern const char kCanonicalName[];
  23. extern const char kJavaOutputPath[];
  24. extern const char kInterfaceDefinition[];
  25. extern const char kInterfaceDefinitionOutlining[];
  26. extern const char* kImportedParcelables[];
  27. extern const char* kImportedInterfaces[];
  28. extern const char kExpectedJavaDepsOutput[];
  29. extern const char kExpectedJavaOutput[];
  30. extern const char kExpectedJavaOutputOutlining[];
  31. extern const char kExpectedJavaOutputWithTransactionNames[];
  32. extern const char kExpectedJavaOutputWithTrace[];
  33. extern const char kExpectedJavaOutputWithVersion[];
  34. } // namespace example_interface
  35. namespace ping_responder {
  36. extern const char kCanonicalName[];
  37. extern const char kInterfaceDefinition[];
  38. extern const char kCppOutputPath[];
  39. extern const char kCppParcelableHeader[];
  40. extern const char* kImportedParcelables[];
  41. extern const char* kImportedInterfaces[];
  42. extern const char kGenHeaderDir[];
  43. extern const char kGenInterfaceHeaderPath[];
  44. extern const char kGenClientHeaderPath[];
  45. extern const char kGenServerHeaderPath[];
  46. extern const char kExpectedCppDepsOutput[];
  47. extern const char kExpectedCppOutput[];
  48. extern const char kExpectedIHeaderOutput[];
  49. extern const char kExpectedBpHeaderOutput[];
  50. extern const char kExpectedBnHeaderOutput[];
  51. extern const char kExpectedCppOutputWithVersion[];
  52. extern const char kExpectedIHeaderOutputWithVersion[];
  53. extern const char kExpectedBpHeaderOutputWithVersion[];
  54. extern const char kExpectedBnHeaderOutputWithVersion[];
  55. } // namespace ping_responder
  56. namespace string_constants {
  57. extern const char kCanonicalName[];
  58. extern const char kInterfaceDefinition[];
  59. extern const char kJavaOutputPath[];
  60. extern const char kExpectedJavaOutput[];
  61. extern const char kExpectedJavaOutputWithVersion[];
  62. extern const char kCppOutputPath[];
  63. extern const char kGenHeaderDir[];
  64. extern const char kGenInterfaceHeaderPath[];
  65. extern const char kExpectedIHeaderOutput[];
  66. extern const char kExpectedCppOutput[];
  67. extern const char kExpectedIHeaderOutputWithVersion[];
  68. extern const char kExpectedCppOutputWithVersion[];
  69. } // namespace string_constants
  70. } // namespace test_data
  71. } // namespace aidl
  72. } // namespace android
  73. #endif // AIDL_TESTS_TEST_DATA_H_