-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathBUILD
More file actions
88 lines (82 loc) · 2.69 KB
/
Copy pathBUILD
File metadata and controls
88 lines (82 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("//testing/testrunner:cel_cc_test.bzl", "cel_cc_test")
package(default_visibility = ["//visibility:public"])
cc_library(
name = "simple_user_test",
testonly = True,
srcs = ["simple.cc"],
deps = [
"//checker:type_checker_builder",
"//checker:validation_result",
"//common:ast_proto",
"//common:decl",
"//common:type",
"//compiler",
"//compiler:compiler_factory",
"//compiler:standard_library",
"//internal:status_macros",
"//internal:testing_descriptor_pool",
"//runtime",
"//runtime:runtime_builder",
"//runtime:standard_runtime_builder_factory",
"//testing/testrunner:cel_expression_source",
"//testing/testrunner:cel_test_context",
"//testing/testrunner:cel_test_factories",
"@com_google_absl//absl/log:absl_check",
"@com_google_absl//absl/log:absl_log",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings:string_view",
"@com_google_cel_spec//proto/cel/expr:checked_cc_proto",
"@com_google_protobuf//:protobuf",
],
alwayslink = True,
)
cc_library(
name = "raw_expression_user_test",
testonly = True,
srcs = ["raw_expression_test.cc"],
deps = [
"//checker:type_checker_builder",
"//common:decl",
"//common:type",
"//compiler",
"//compiler:compiler_factory",
"//compiler:standard_library",
"//internal:status_macros",
"//internal:testing_descriptor_pool",
"//runtime",
"//runtime:runtime_builder",
"//runtime:standard_runtime_builder_factory",
"//testing/testrunner:cel_expression_source",
"//testing/testrunner:cel_test_context",
"//testing/testrunner:cel_test_factories",
"@com_google_absl//absl/log:absl_check",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings:string_view",
"@com_google_cel_spec//proto/cel/expr/conformance/test:suite_cc_proto",
"@com_google_protobuf//:protobuf",
],
)
cel_cc_test(
name = "simple_test",
filegroup = "//testing/testrunner/resources",
test_data_path = "//testing/testrunner/resources",
test_suite = "simple_tests.textproto",
deps = [
":simple_user_test",
],
)
cel_cc_test(
name = "simple_test_with_custom_test_suite",
filegroup = "//testing/testrunner/resources",
test_data_path = "//testing/testrunner/resources",
deps = [
":simple_user_test",
],
)
cel_cc_test(
name = "raw_expression_test_with_custom_test_suite",
deps = [
":raw_expression_user_test",
],
)