• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2022 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
16package {
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_test_host {
21    name: "cvd_db_instance_test",
22    srcs: [
23        "instance_record_test.cpp",
24    ],
25    test_options: {
26        unit_test: true,
27    },
28    defaults: ["cvd_and_fetch_cvd_defaults"],
29}
30
31cc_test_host {
32    name: "cvd_db_group_test",
33    srcs: [
34        "group_record_test.cpp",
35    ],
36    test_options: {
37        unit_test: true,
38    },
39    defaults: ["cvd_and_fetch_cvd_defaults"],
40}
41
42cc_test_host {
43    name: "cvd_db_test",
44    srcs: [
45        "instance_database_helper.cpp",
46        "instance_database_test.cpp",
47    ],
48    test_options: {
49        unit_test: true,
50    },
51    defaults: ["cvd_and_fetch_cvd_defaults"],
52}
53
54cc_test_host {
55    name: "cvd_selector_parser_test",
56    srcs: [
57        "parser_ids_helper.cpp",
58        "parser_ids_test.cpp",
59        "parser_names_helper.cpp",
60        "parser_names_test.cpp",
61    ],
62    test_options: {
63        unit_test: true,
64    },
65    defaults: ["cvd_and_fetch_cvd_defaults"],
66}
67
68cc_test_host {
69    name: "cvd_creation_analyzer_test",
70    srcs: [
71        "creation_analyzer_helper.cpp",
72        "creation_analyzer_test.cpp",
73    ],
74    test_options: {
75        unit_test: false,
76    },
77    defaults: ["cvd_and_fetch_cvd_defaults"],
78}
79
80cc_test_host {
81    name: "cvd_client_lexer_test",
82    srcs: [
83        "client_lexer_helper.cpp",
84        "client_lexer_test.cpp",
85    ],
86    test_options: {
87        unit_test: false,
88    },
89    defaults: ["cvd_and_fetch_cvd_defaults"],
90}
91
92cc_test_host {
93    name: "cvd_host_tool_target_test",
94    srcs: [
95        "host_tool_target_test.cpp",
96    ],
97    test_options: {
98        unit_test: false,
99    },
100    defaults: ["cvd_and_fetch_cvd_defaults"],
101}
102
103cc_test_host {
104    name: "cvd_flags_test",
105    srcs: [
106        "cvd_flags_helper.cpp",
107        "cvd_flags_test.cpp",
108    ],
109    test_options: {
110        unit_test: true,
111    },
112    defaults: ["cvd_and_fetch_cvd_defaults"],
113}
114