mirror of
https://github.com/google/nomulus.git
synced 2025-07-22 10:46:10 +02:00
Move two enums from FlowRunner to FlowTestCase.
They are only needed in test code. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125126550
This commit is contained in:
parent
038d3d5031
commit
31ddced437
23 changed files with 37 additions and 86 deletions
|
@ -25,6 +25,7 @@ public class TestSessionMetadata extends SessionMetadata {
|
|||
|
||||
private final Map<String, Object> properties = new HashMap<>();
|
||||
private boolean isValid = true;
|
||||
private boolean isDryRun = false;
|
||||
private SessionSource sessionSource = SessionSource.NONE;
|
||||
|
||||
@Override
|
||||
|
@ -57,6 +58,15 @@ public class TestSessionMetadata extends SessionMetadata {
|
|||
sessionSource = source;
|
||||
}
|
||||
|
||||
public void setIsDryRun(boolean isDryRun) {
|
||||
this.isDryRun = isDryRun;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isDryRun() {
|
||||
return isDryRun;
|
||||
}
|
||||
|
||||
public boolean isValid() {
|
||||
return isValid;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue