aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Nathan Harmata <nharmata@google.com>2015-10-28 21:18:35 +0000
committerGravatar Laszlo Csomor <laszlocsomor@google.com>2015-10-29 07:47:40 +0000
commit3b8deab01acb9a7a39e9c79ec47f918ed0e0677f (patch)
tree59b17b85d48a4d21bb516c2bb44613801822f300 /src
parent4b5ebc05bcac417f29a909a9005adc3542c33257 (diff)
Make some things in GraphConcurrencyTest protected so subclasses can use them.
-- MOS_MIGRATED_REVID=106533345
Diffstat (limited to 'src')
-rw-r--r--src/test/java/com/google/devtools/build/skyframe/GraphConcurrencyTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/java/com/google/devtools/build/skyframe/GraphConcurrencyTest.java b/src/test/java/com/google/devtools/build/skyframe/GraphConcurrencyTest.java
index 3eb94a3f1b..7995daf008 100644
--- a/src/test/java/com/google/devtools/build/skyframe/GraphConcurrencyTest.java
+++ b/src/test/java/com/google/devtools/build/skyframe/GraphConcurrencyTest.java
@@ -48,8 +48,8 @@ import java.util.concurrent.TimeUnit;
public abstract class GraphConcurrencyTest {
private static final SkyFunctionName SKY_FUNCTION_NAME = SkyFunctionName.FOR_TESTING;
- private ProcessableGraph graph;
- private TestRunnableWrapper wrapper;
+ protected ProcessableGraph graph;
+ protected TestRunnableWrapper wrapper;
// This code should really be in a @Before method, but @Before methods are executed from the
// top down, and this class's @Before method calls #getGraph, so makeGraph must have already
@@ -67,7 +67,7 @@ public abstract class GraphConcurrencyTest {
this.wrapper = new TestRunnableWrapper("GraphConcurrencyTest");
}
- private SkyKey key(String name) {
+ protected SkyKey key(String name) {
return new SkyKey(SKY_FUNCTION_NAME, name);
}