Search in sources :

Example 1 with TestFileOutErr

use of com.google.devtools.build.lib.testutil.TestFileOutErr in project bazel by bazelbuild.

the class ExecutableSymlinkActionTest method createExecutor.

@Before
public final void createExecutor() throws Exception {
    final Path inputDir = scratch.dir("/in");
    inputRoot = Root.asDerivedRoot(inputDir);
    outputRoot = Root.asDerivedRoot(scratch.dir("/out"));
    outErr = new TestFileOutErr();
    executor = new DummyExecutor(inputDir);
}
Also used : Path(com.google.devtools.build.lib.vfs.Path) TestFileOutErr(com.google.devtools.build.lib.testutil.TestFileOutErr) DummyExecutor(com.google.devtools.build.lib.actions.util.DummyExecutor) Before(org.junit.Before)

Aggregations

DummyExecutor (com.google.devtools.build.lib.actions.util.DummyExecutor)1 TestFileOutErr (com.google.devtools.build.lib.testutil.TestFileOutErr)1 Path (com.google.devtools.build.lib.vfs.Path)1 Before (org.junit.Before)1