aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java/com/google/devtools')
-rw-r--r--src/test/java/com/google/devtools/build/lib/actions/util/ActionsTestUtil.java1
-rw-r--r--src/test/java/com/google/devtools/build/lib/exec/util/FakeOwner.java3
-rw-r--r--src/test/java/com/google/devtools/build/lib/runtime/ExperimentalStateTrackerTest.java27
3 files changed, 24 insertions, 7 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/actions/util/ActionsTestUtil.java b/src/test/java/com/google/devtools/build/lib/actions/util/ActionsTestUtil.java
index 6ff3e3bc21..af9d68f79f 100644
--- a/src/test/java/com/google/devtools/build/lib/actions/util/ActionsTestUtil.java
+++ b/src/test/java/com/google/devtools/build/lib/actions/util/ActionsTestUtil.java
@@ -211,6 +211,7 @@ public final class ActionsTestUtil {
"dummy-configuration-mnemonic",
null,
"dummy-configuration",
+ null,
null);
public static final ArtifactOwner NULL_ARTIFACT_OWNER =
diff --git a/src/test/java/com/google/devtools/build/lib/exec/util/FakeOwner.java b/src/test/java/com/google/devtools/build/lib/exec/util/FakeOwner.java
index 20ec2b5af9..cf17e08f2e 100644
--- a/src/test/java/com/google/devtools/build/lib/exec/util/FakeOwner.java
+++ b/src/test/java/com/google/devtools/build/lib/exec/util/FakeOwner.java
@@ -52,6 +52,7 @@ public final class FakeOwner implements ActionExecutionMetadata {
mnemonic,
/*targetKind=*/ null,
"configurationChecksum",
+ /* configuration=*/ null,
"additionalProgressInfo");
}
@@ -150,4 +151,4 @@ public final class FakeOwner implements ActionExecutionMetadata {
public boolean shouldReportPathPrefixConflict(ActionAnalysisMetadata action) {
throw new UnsupportedOperationException();
}
-} \ No newline at end of file
+}
diff --git a/src/test/java/com/google/devtools/build/lib/runtime/ExperimentalStateTrackerTest.java b/src/test/java/com/google/devtools/build/lib/runtime/ExperimentalStateTrackerTest.java
index 6212a7f7e4..09b5dda3fb 100644
--- a/src/test/java/com/google/devtools/build/lib/runtime/ExperimentalStateTrackerTest.java
+++ b/src/test/java/com/google/devtools/build/lib/runtime/ExperimentalStateTrackerTest.java
@@ -431,8 +431,9 @@ public class ExperimentalStateTrackerTest extends FoundationTestCase {
"/home/user/bazel/out/abcdef/some/very/very/long/path/for/some/library/directory/foo.jar");
Label label =
Label.parseAbsolute("//some/very/very/long/path/for/some/library/directory:libfoo");
- ActionOwner owner = ActionOwner.create(
- label, ImmutableList.<AspectDescriptor>of(), null, null, null, "fedcba", null);
+ ActionOwner owner =
+ ActionOwner.create(
+ label, ImmutableList.<AspectDescriptor>of(), null, null, null, "fedcba", null, null);
when(action.getOwner()).thenReturn(owner);
clock.advanceMillis(TimeUnit.SECONDS.toMillis(3));
@@ -563,8 +564,15 @@ public class ExperimentalStateTrackerTest extends FoundationTestCase {
ConfiguredTarget targetFooTest = Mockito.mock(ConfiguredTarget.class);
when(targetFooTest.getLabel()).thenReturn(labelFooTest);
ActionOwner fooOwner =
- ActionOwner.create(labelFooTest,
- ImmutableList.<AspectDescriptor>of(), null, null, null, "abcdef", null);
+ ActionOwner.create(
+ labelFooTest,
+ ImmutableList.<AspectDescriptor>of(),
+ null,
+ null,
+ null,
+ "abcdef",
+ null,
+ null);
Label labelBarTest = Label.parseAbsolute("//baz:bartest");
ConfiguredTarget targetBarTest = Mockito.mock(ConfiguredTarget.class);
@@ -573,8 +581,15 @@ public class ExperimentalStateTrackerTest extends FoundationTestCase {
when(filteringComplete.getTestTargets())
.thenReturn(ImmutableSet.of(targetFooTest, targetBarTest));
ActionOwner barOwner =
- ActionOwner.create(labelBarTest,
- ImmutableList.<AspectDescriptor>of(), null, null, null, "fedcba", null);
+ ActionOwner.create(
+ labelBarTest,
+ ImmutableList.<AspectDescriptor>of(),
+ null,
+ null,
+ null,
+ "fedcba",
+ null,
+ null);
stateTracker.testFilteringComplete(filteringComplete);