diff options
author | ruperts <ruperts@google.com> | 2017-10-18 00:58:29 +0200 |
---|---|---|
committer | Jakob Buchgraber <buchgr@google.com> | 2017-10-18 10:28:27 +0200 |
commit | 841880dc66bfd0702a08105835a445cb3dc271c9 (patch) | |
tree | 758c9178d16f161ed19313a7f0d082c19a4a6db5 /src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java | |
parent | 34a9fea78f201caed8ace5c714a0cf288cb97c65 (diff) |
Actions now have the option of returning an ActionResult, containing a (possibly empty) set of SpawnResults created during execution of the Action.
RELNOTES: None.
PiperOrigin-RevId: 172529328
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java')
-rw-r--r-- | src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java b/src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java index 1458fdf690..1849284908 100644 --- a/src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java +++ b/src/test/java/com/google/devtools/build/lib/actions/ExecutableSymlinkActionTest.java @@ -67,7 +67,8 @@ public class ExecutableSymlinkActionTest { Artifact input = new Artifact(inputFile, inputRoot); Artifact output = new Artifact(outputFile, outputRoot); ExecutableSymlinkAction action = new ExecutableSymlinkAction(NULL_ACTION_OWNER, input, output); - action.execute(createContext()); + ActionResult actionResult = action.execute(createContext()); + assertThat(actionResult.spawnResults()).isEmpty(); assertThat(outputFile.resolveSymbolicLinks()).isEqualTo(inputFile); } |