Skip to content

Commit

Permalink
add doc for clientVariable
Browse files Browse the repository at this point in the history
  • Loading branch information
man-zhang committed May 18, 2022
1 parent d9bac98 commit 67afefb
Showing 1 changed file with 17 additions and 0 deletions.
Expand Up @@ -24,6 +24,23 @@ public class RPCActionDto {

/**
* a variable referring to client instance
*
* this info would be used in static init declaration referring
* to an actual client instance in the generated test
* then later, the variable could be used to process rpc function call
*
* eg, the variable is foo
* public class Test{
* private static Client foo;
* ...
* pubic void test(){
* response = foo.bar(request)
* }
* }
*
* TODO
* Note that the current test generation is proceeded in the driver
* if we move it to core, this info could be removed
*/
public String clientVariable;

Expand Down

0 comments on commit 67afefb

Please sign in to comment.