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 
17 #ifndef AIDL_TESTS_TEST_DATA_H_
18 #define AIDL_TESTS_TEST_DATA_H_
19 
20 namespace android {
21 namespace aidl {
22 namespace test_data {
23 
24 namespace example_interface {
25 
26 extern const char kCanonicalName[];
27 extern const char kJavaOutputPath[];
28 extern const char kInterfaceDefinition[];
29 extern const char kInterfaceDefinitionOutlining[];
30 extern const char* kImportedParcelables[];
31 extern const char* kImportedInterfaces[];
32 
33 extern const char kExpectedJavaDepsOutput[];
34 extern const char kExpectedJavaOutput[];
35 extern const char kExpectedJavaOutputOutlining[];
36 extern const char kExpectedJavaOutputWithTransactionNames[];
37 extern const char kExpectedJavaOutputWithTrace[];
38 extern const char kExpectedJavaOutputWithVersionAndHash[];
39 
40 }  // namespace example_interface
41 
42 namespace ping_responder {
43 
44 extern const char kCanonicalName[];
45 extern const char kInterfaceDefinition[];
46 
47 extern const char kCppOutputPath[];
48 extern const char kCppParcelableHeader[];
49 extern const char* kImportedParcelables[];
50 extern const char* kImportedInterfaces[];
51 
52 extern const char kGenHeaderDir[];
53 extern const char kGenInterfaceHeaderPath[];
54 extern const char kGenClientHeaderPath[];
55 extern const char kGenServerHeaderPath[];
56 
57 extern const char kExpectedCppDepsOutput[];
58 
59 extern const char kExpectedCppOutput[];
60 extern const char kExpectedIHeaderOutput[];
61 extern const char kExpectedBpHeaderOutput[];
62 extern const char kExpectedBnHeaderOutput[];
63 
64 extern const char kExpectedCppOutputWithVersionAndHash[];
65 extern const char kExpectedIHeaderOutputWithVersionAndHash[];
66 extern const char kExpectedBpHeaderOutputWithVersionAndHash[];
67 extern const char kExpectedBnHeaderOutputWithVersionAndHash[];
68 
69 }  // namespace ping_responder
70 
71 namespace string_constants {
72 
73 extern const char kCanonicalName[];
74 extern const char kInterfaceDefinition[];
75 
76 extern const char kJavaOutputPath[];
77 extern const char kExpectedJavaOutput[];
78 
79 extern const char kExpectedJavaOutputWithVersionAndHash[];
80 
81 extern const char kCppOutputPath[];
82 extern const char kGenHeaderDir[];
83 extern const char kGenInterfaceHeaderPath[];
84 extern const char kExpectedIHeaderOutput[];
85 extern const char kExpectedCppOutput[];
86 
87 extern const char kExpectedIHeaderOutputWithVersionAndHash[];
88 extern const char kExpectedCppOutputWithVersionAndHash[];
89 
90 }  // namespace string_constants
91 
92 }  // namespace test_data
93 }  // namespace aidl
94 }  // namespace android
95 
96 #endif // AIDL_TESTS_TEST_DATA_H_
97