Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ishikhman committed Aug 20, 2019
1 parent cbbb2c2 commit 7091c0f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public class SkyFunctionEnvironmentForTesting extends AbstractSkyFunctionEnviron
private final ExtendedEventHandler eventHandler;
private final SkyframeExecutor skyframeExecutor;

SkyFunctionEnvironmentForTesting(
// todo temporarily
public SkyFunctionEnvironmentForTesting(
ExtendedEventHandler eventHandler, SkyframeExecutor skyframeExecutor) {
this.eventHandler = eventHandler;
this.skyframeExecutor = skyframeExecutor;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
import com.google.devtools.build.lib.packages.RuleErrorConsumer;
import com.google.devtools.build.lib.rules.android.databinding.DataBinding;
import com.google.devtools.build.lib.skyframe.ConfiguredTargetKey;
import com.google.devtools.build.lib.skyframe.SkyFunctionEnvironmentForTesting;
import com.google.devtools.build.lib.vfs.FileSystem;
import com.google.devtools.build.lib.vfs.Path;
import com.google.devtools.build.lib.vfs.Root;
Expand Down Expand Up @@ -241,7 +242,7 @@ public RuleContext getRuleContextForActionTesting(ConfiguredTarget dummyTarget)
targetConfig.extendedSanityChecks(),
targetConfig.allowAnalysisFailures(),
eventHandler,
null),
new SkyFunctionEnvironmentForTesting(eventHandler, skyframeExecutor)),
new BuildConfigurationCollection(
ImmutableList.of(dummy.getConfiguration()), dummy.getHostConfiguration()));
}
Expand Down

0 comments on commit 7091c0f

Please sign in to comment.