-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go/oasis-test-runner: Refactor code to refer to scenario(s) consistently
go/oasis-test-runner/cmd: Rename --test flag to --scenario (-s for short version) for consistency. go/oasis-test-runner/env: - Rename TestInstanceInfo type to ScenarioInstanceInfo and its Test field to Scenario for consistency. - Rename Env's TestInfo() and WriteTestInfo() methods to ScenarioInfo() and WriteScenarioInfo() for consistency. go/oasis-node/cmd/common/metrics: Use "scenario" metrics label instead of "test" for consistency.
- Loading branch information
Showing
16 changed files
with
482 additions
and
272 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
go/oasis-test-runner/cmd: Rename `--test` flag to `--scenario` flag | ||
|
||
Rename the short version from `-t` to `-s`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
go/oasis-test-runner/env: Rename types, fields, functions to refer to scenario | ||
|
||
Rename `TestInstanceInfo` type to `ScenarioInstanceInfo` and its `Test` field | ||
to `Scenario`. | ||
|
||
Rename `Env`'s `TestInfo()` and `WriteTestInfo()` methods to `ScenarioInfo()` | ||
and `WriteScenarioInfo()` for consistency. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
go/oasis-node/cmd/common/metrics: Rename "scenario" metrics label to "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
go/oasis-test-runner: Refactor code to refer to scenario(s) consistently |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.