diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/com/google/devtools/build/skyframe/NotifyingInMemoryGraph.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/java/com/google/devtools/build/skyframe/NotifyingInMemoryGraph.java b/src/test/java/com/google/devtools/build/skyframe/NotifyingInMemoryGraph.java index 58e24974b4..49128ca91d 100644 --- a/src/test/java/com/google/devtools/build/skyframe/NotifyingInMemoryGraph.java +++ b/src/test/java/com/google/devtools/build/skyframe/NotifyingInMemoryGraph.java @@ -64,6 +64,7 @@ public class NotifyingInMemoryGraph extends InMemoryGraph { SET_VALUE, MARK_DIRTY, IS_CHANGED, + GET_VALUE_WITH_METADATA, IS_DIRTY } @@ -124,5 +125,11 @@ public class NotifyingInMemoryGraph extends InMemoryGraph { graphListener.accept(myKey, EventType.IS_DIRTY, Order.BEFORE, this); return super.isDirty(); } + + @Override + public ValueWithMetadata getValueWithMetadata() { + graphListener.accept(myKey, EventType.GET_VALUE_WITH_METADATA, Order.BEFORE, this); + return super.getValueWithMetadata(); + } } } |