diff options
author | nharmata <nharmata@google.com> | 2017-06-16 00:26:27 +0200 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2017-06-16 09:27:24 +0200 |
commit | bea67e9e7bc5b25dc0569bc429d92434a76b9a84 (patch) | |
tree | d0f71a262248ffe4676fd746a428fc1c1f6ce48e /src/test/java/com/google/devtools/build/skyframe/ErrorInfoSubject.java | |
parent | 0bd2102ea33f8c1bc40fbfb2acabcd46895011f3 (diff) |
A bunch of unrelated cleanups:
-Have SkylarkImportLookupFunction include causes in the SkyFunctionExceptions it throws.
-Better transitive skyframe error declarations in ASTFileLookupFunction.
-Have ErrorInfo differentiate between direct and transitive transience.
-Introduce ErrorInfoManager and have ParallelEvaluator/ParallelEvaluatorContext use it.
RELNOTES: None
PiperOrigin-RevId: 159163186
Diffstat (limited to 'src/test/java/com/google/devtools/build/skyframe/ErrorInfoSubject.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/skyframe/ErrorInfoSubject.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/skyframe/ErrorInfoSubject.java b/src/test/java/com/google/devtools/build/skyframe/ErrorInfoSubject.java index 455149445d..e3fd258b11 100644 --- a/src/test/java/com/google/devtools/build/skyframe/ErrorInfoSubject.java +++ b/src/test/java/com/google/devtools/build/skyframe/ErrorInfoSubject.java @@ -46,13 +46,13 @@ public class ErrorInfoSubject extends Subject<ErrorInfoSubject, ErrorInfo> { } public void isTransient() { - if (!getSubject().isTransient()) { + if (!getSubject().isTransitivelyTransient()) { fail("is transient"); } } public void isNotTransient() { - if (getSubject().isTransient()) { + if (getSubject().isTransitivelyTransient()) { fail("is not transient"); } } |