1
|
|
package com.github.dakusui.actionunit.actions.cmd; |
2
|
|
|
3
|
|
import com.github.dakusui.actionunit.actions.ContextVariable; |
4
|
|
|
5
|
|
import java.util.function.Function; |
6
|
|
import java.util.function.IntFunction; |
7
|
|
|
8
|
|
public interface PlaceHolderFormatter extends Function<ContextVariable[], IntFunction<String>> { |
9
|
|
|
10
|
|
/** |
11
|
|
* |
12
|
|
*/ |
13
|
2
1. lambda$null$0 : replaced return value with "" for com/github/dakusui/actionunit/actions/cmd/PlaceHolderFormatter::lambda$null$0 → KILLED
2. lambda$static$1 : replaced return value with null for com/github/dakusui/actionunit/actions/cmd/PlaceHolderFormatter::lambda$static$1 → KILLED
|
PlaceHolderFormatter DEFAULT_PLACE_HOLDER_FORMATTER = variables -> i -> String.format("{{%s}}", i); |
14
|
|
|
15
|
|
/** |
16
|
|
* |
17
|
|
*/ |
18
|
2
1. lambda$null$2 : replaced return value with "" for com/github/dakusui/actionunit/actions/cmd/PlaceHolderFormatter::lambda$null$2 → KILLED
2. lambda$static$3 : replaced return value with null for com/github/dakusui/actionunit/actions/cmd/PlaceHolderFormatter::lambda$static$3 → KILLED
|
PlaceHolderFormatter PLACE_HOLDER_FORMATTER_BY_NAME = variables -> i -> String.format("{{%s}}", variables[i].variableName()); |
19
|
|
} |
| | Mutations |
13 |
|
1.1 Location : lambda$null$0 Killed by : com.github.dakusui.actionunit.ut.ContextFunctionsHelperUnitTest.test(com.github.dakusui.actionunit.ut.ContextFunctionsHelperUnitTest) replaced return value with "" for com/github/dakusui/actionunit/actions/cmd/PlaceHolderFormatter::lambda$null$0 → KILLED 2.2 Location : lambda$static$1 Killed by : com.github.dakusui.actionunit.ut.ContextFunctionsHelperUnitTest.test(com.github.dakusui.actionunit.ut.ContextFunctionsHelperUnitTest) replaced return value with null for com/github/dakusui/actionunit/actions/cmd/PlaceHolderFormatter::lambda$static$1 → KILLED
|
18 |
|
1.1 Location : lambda$null$2 Killed by : com.github.dakusui.actionunit.ut.actions.cmd.CmdTest$AsAction.givenEchoVariable_i_usingManuallyWrittenPlaceHolderByName$whenPerformAsActionInsideHelloWorldLoop$thenBothHelloAndWorldFoundInOutput(com.github.dakusui.actionunit.ut.actions.cmd.CmdTest$AsAction) replaced return value with "" for com/github/dakusui/actionunit/actions/cmd/PlaceHolderFormatter::lambda$null$2 → KILLED 2.2 Location : lambda$static$3 Killed by : com.github.dakusui.actionunit.ut.actions.cmd.CmdTest$AsAction.givenEchoVariable_i_usingManuallyWrittenPlaceHolderByName$whenPerformAsActionInsideHelloWorldLoop$thenBothHelloAndWorldFoundInOutput(com.github.dakusui.actionunit.ut.actions.cmd.CmdTest$AsAction) replaced return value with null for com/github/dakusui/actionunit/actions/cmd/PlaceHolderFormatter::lambda$static$3 → KILLED
|