diff options
author | 2017-06-26 19:55:09 +0200 | |
---|---|---|
committer | 2017-06-27 10:06:09 +0200 | |
commit | 77ba65e96a62dfb740f1be844d484abc7f3286af (patch) | |
tree | b155b1168b945812e4a9732b69349036e528e4e3 /src/main/java/com/google/devtools/build/lib/query2/engine/TestsFunction.java | |
parent | 00b290c1b6ba1b0815201987dcb48b011c64cbda (diff) |
Refactor SkyQueryEnvironment to allow preprocessing or postprocessing targets
Refactor SkyQueryEnvironment and a few other query helpers to make it easier to
work with targets.
RELNOTES: None
PiperOrigin-RevId: 160165398
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/query2/engine/TestsFunction.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/query2/engine/TestsFunction.java | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/query2/engine/TestsFunction.java b/src/main/java/com/google/devtools/build/lib/query2/engine/TestsFunction.java index 15950d7114..0331d480c5 100644 --- a/src/main/java/com/google/devtools/build/lib/query2/engine/TestsFunction.java +++ b/src/main/java/com/google/devtools/build/lib/query2/engine/TestsFunction.java @@ -30,19 +30,18 @@ import java.util.List; import java.util.Set; /** - * A tests(x) filter expression, which returns all the tests in set x, - * expanding test_suite rules into their constituents. + * A tests(x) filter expression, which returns all the tests in set x, expanding test_suite rules + * into their constituents. * - * <p>Unfortunately this class reproduces a substantial amount of logic from - * {@code TestSuiteConfiguredTarget}, albeit in a somewhat simplified form. - * This is basically inevitable since the expansion of test_suites cannot be - * done during the loading phase, because it involves inter-package references. - * We make no attempt to validate the input, or report errors or warnings other - * than missing target. + * <p>Unfortunately this class reproduces a substantial amount of logic from {@code + * TestSuiteConfiguredTarget}, albeit in a somewhat simplified form. This is basically inevitable + * since the expansion of test_suites cannot be done during the loading phase, because it involves + * inter-package references. We make no attempt to validate the input, or report errors or warnings + * other than missing target. * * <pre>expr ::= TESTS '(' expr ')'</pre> */ -class TestsFunction implements QueryFunction { +public class TestsFunction implements QueryFunction { TestsFunction() { } |