Add a test case for evaluating an empty collection of SkyKeys PiperOrigin-RevId: 239862408
diff --git a/src/test/java/com/google/devtools/build/skyframe/MemoizingEvaluatorTest.java b/src/test/java/com/google/devtools/build/skyframe/MemoizingEvaluatorTest.java index 200cf3b..07953b2 100644 --- a/src/test/java/com/google/devtools/build/skyframe/MemoizingEvaluatorTest.java +++ b/src/test/java/com/google/devtools/build/skyframe/MemoizingEvaluatorTest.java
@@ -212,6 +212,12 @@ } @Test + public void evaluateEmptySet() throws InterruptedException { + tester.eval(false, new SkyKey[0]); + tester.eval(true, new SkyKey[0]); + } + + @Test public void invalidationWithNothingChanged() throws Exception { tester.set("x", new StringValue("y")).setWarning("fizzlepop"); StringValue value = (StringValue) tester.evalAndGet("x");