1# Copyright (C) 2021 The Dagger Authors. 2# 3# Licensed under the Apache License, Version 2.0 (the "License"); 4# you may not use this file except in compliance with the License. 5# You may obtain a copy of the License at 6# 7# http://www.apache.org/licenses/LICENSE-2.0 8# 9# Unless required by applicable law or agreed to in writing, software 10# distributed under the License is distributed on an "AS IS" BASIS, 11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12# See the License for the specific language governing permissions and 13# limitations under the License. 14 15load("//:build_defs.bzl", "DOCLINT_HTML_AND_SYNTAX") 16load("//:test_defs.bzl", "GenJavaTests") 17 18package(default_visibility = ["//:src"]) 19 20# TODO(b/203233586): Replace with GenJavaTest 21GenJavaTests( 22 name = "OptionalBindingComponentsEmptyTest", 23 srcs = [ 24 "OptionalBindingComponentsWithInaccessibleTypes.java", 25 "OptionalBindingComponentsWithInaccessibleTypesTest.java", 26 ], 27 javacopts = DOCLINT_HTML_AND_SYNTAX, 28 require_jdk7_syntax = False, 29 test_only_deps = [ 30 "//third_party/java/guava/base", 31 "//third_party/java/guava/collect", 32 "//third_party/java/junit", 33 "//third_party/java/truth", 34 ], 35 deps = [ 36 "//:dagger_with_compiler", 37 "//javatests/dagger/functional/jdk8:optional_binding_components", 38 "//third_party/java/auto:value", 39 "//third_party/java/jsr305_annotations", 40 ], 41) 42