Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the fundamental framework of REST invocation for test cases #2589

Merged
merged 6 commits into from Oct 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/src/test/scala/common/TestUtils.java
Expand Up @@ -212,7 +212,7 @@ public static class RunResult {
public final String stdout;
public final String stderr;

private RunResult(int exitCode, String stdout, String stderr) {
protected RunResult(int exitCode, String stdout, String stderr) {
this.exitCode = exitCode;
this.stdout = stdout;
this.stderr = stderr;
Expand Down
16 changes: 8 additions & 8 deletions tests/src/test/scala/common/Wsk.scala
Expand Up @@ -62,14 +62,14 @@ import whisk.utils.retry
* It also sets the apihost and apiversion explicitly to avoid ambiguity with
* a local property file if it exists.
*/
class Wsk() extends RunWskCmd {
implicit val action = new WskAction
implicit val trigger = new WskTrigger
implicit val rule = new WskRule
implicit val activation = new WskActivation
implicit val pkg = new WskPackage
implicit val namespace = new WskNamespace
implicit val api = new WskApi
class Wsk() extends RunWskCmd with BaseWsk {
override implicit val action = new WskAction
override implicit val trigger = new WskTrigger
override implicit val rule = new WskRule
override implicit val activation = new WskActivation
override implicit val pkg = new WskPackage
override implicit val namespace = new WskNamespace
override implicit val api = new WskApi
}

trait ListOrGetFromCollectionCLI extends BaseListOrGetFromCollection {
Expand Down