-
-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pass unit test * unit test and CLI E2E tests passed * REPL E2E tests are passed * fix tests * delete unnecessary files * add a test for fully-qualified service name * add a test for fully-qualified message name * tweak code/comments
- Loading branch information
Showing
57 changed files
with
1,075 additions
and
1,194 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
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
+-------+--------------------------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+--------------------------------+----------+ | ||
| kvs | map<TYPE_STRING, TYPE_MESSAGE | false | | ||
| | (Name)> | | | ||
+-------+--------------------------------+----------+ | ||
+-------+-----------------------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+-----------------------------+----------+ | ||
| kvs | map<string, message (Name)> | false | | ||
+-------+-----------------------------+----------+ | ||
|
10 changes: 5 additions & 5 deletions
10
e2e/testdata/fixtures/teste2e_oldrepl-desc_a_repeated_message.golden
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
+-------+---------------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+---------------------+----------+ | ||
| name | TYPE_MESSAGE (Name) | true | | ||
+-------+---------------------+----------+ | ||
+-------+----------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+----------------+----------+ | ||
| name | message (Name) | true | | ||
+-------+----------------+----------+ | ||
|
10 changes: 5 additions & 5 deletions
10
e2e/testdata/fixtures/teste2e_oldrepl-desc_simple_message.golden
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
+-------+-------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+-------------+----------+ | ||
| name | TYPE_STRING | false | | ||
+-------+-------------+----------+ | ||
+-------+--------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+--------+----------+ | ||
| name | string | false | | ||
+-------+--------+----------+ | ||
|
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 |
---|---|---|
@@ -1,24 +1,6 @@ | ||
+---------+---------------------------+-----------------------------+----------------+ | ||
| SERVICE | RPC | REQUEST TYPE | RESPONSE TYPE | | ||
+---------+---------------------------+-----------------------------+----------------+ | ||
| Example | Unary | SimpleRequest | SimpleResponse | | ||
| Example | UnaryMessage | UnaryMessageRequest | SimpleResponse | | ||
| Example | UnaryRepeated | UnaryRepeatedRequest | SimpleResponse | | ||
| Example | UnaryRepeatedMessage | UnaryRepeatedMessageRequest | SimpleResponse | | ||
| Example | UnaryRepeatedEnum | UnaryRepeatedEnumRequest | SimpleResponse | | ||
| Example | UnarySelf | UnarySelfRequest | SimpleResponse | | ||
| Example | UnaryMap | UnaryMapRequest | SimpleResponse | | ||
| Example | UnaryMapMessage | UnaryMapMessageRequest | SimpleResponse | | ||
| Example | UnaryOneof | UnaryOneofRequest | SimpleResponse | | ||
| Example | UnaryEnum | UnaryEnumRequest | SimpleResponse | | ||
| Example | UnaryBytes | UnaryBytesRequest | SimpleResponse | | ||
| Example | UnaryHeader | UnaryHeaderRequest | SimpleResponse | | ||
| Example | UnaryHeaderTrailer | SimpleRequest | SimpleResponse | | ||
| Example | UnaryHeaderTrailerFailure | SimpleRequest | SimpleResponse | | ||
| Example | UnaryWithMapResponse | SimpleRequest | MapResponse | | ||
| Example | UnaryEcho | UnaryMessageRequest | SimpleResponse | | ||
| Example | ClientStreaming | SimpleRequest | SimpleResponse | | ||
| Example | ServerStreaming | SimpleRequest | SimpleResponse | | ||
| Example | BidiStreaming | SimpleRequest | SimpleResponse | | ||
+---------+---------------------------+-----------------------------+----------------+ | ||
+-------------+ | ||
| NAME | | ||
+-------------+ | ||
| api.Example | | ||
+-------------+ | ||
|
5 changes: 5 additions & 0 deletions
5
...estdata/fixtures/teste2e_repl-call_unary_by_selecting_only_fully-qualified_service.golden
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,5 @@ | ||
|
||
{ | ||
"message": "kaguya" | ||
} | ||
|
6 changes: 6 additions & 0 deletions
6
e2e/testdata/fixtures/teste2e_repl-desc_a_fully-qualified_message.golden
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,6 @@ | ||
+-------+--------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+--------+----------+ | ||
| name | string | false | | ||
+-------+--------+----------+ | ||
|
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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
+-------+--------------------------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+--------------------------------+----------+ | ||
| kvs | map<TYPE_STRING, TYPE_MESSAGE | false | | ||
| | (Name)> | | | ||
+-------+--------------------------------+----------+ | ||
+-------+-----------------------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+-----------------------------+----------+ | ||
| kvs | map<string, message (Name)> | false | | ||
+-------+-----------------------------+----------+ | ||
|
10 changes: 5 additions & 5 deletions
10
e2e/testdata/fixtures/teste2e_repl-desc_a_repeated_message.golden
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
+-------+---------------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+---------------------+----------+ | ||
| name | TYPE_MESSAGE (Name) | true | | ||
+-------+---------------------+----------+ | ||
+-------+----------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+----------------+----------+ | ||
| name | message (Name) | true | | ||
+-------+----------------+----------+ | ||
|
10 changes: 5 additions & 5 deletions
10
e2e/testdata/fixtures/teste2e_repl-desc_simple_message.golden
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
+-------+-------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+-------------+----------+ | ||
| name | TYPE_STRING | false | | ||
+-------+-------------+----------+ | ||
+-------+--------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+--------+----------+ | ||
| name | string | false | | ||
+-------+--------+----------+ | ||
|
10 changes: 5 additions & 5 deletions
10
e2e/testdata/fixtures/teste2e_repl-desc_simple_message_in_empty_package.golden
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
+-------+-------------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+-------------+----------+ | ||
| name | TYPE_STRING | false | | ||
+-------+-------------+----------+ | ||
+-------+--------+----------+ | ||
| FIELD | TYPE | REPEATED | | ||
+-------+--------+----------+ | ||
| name | string | false | | ||
+-------+--------+----------+ | ||
|
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 |
---|---|---|
@@ -1,24 +1,6 @@ | ||
+---------+---------------------------+-----------------------------+----------------+ | ||
| SERVICE | RPC | REQUEST TYPE | RESPONSE TYPE | | ||
+---------+---------------------------+-----------------------------+----------------+ | ||
| Example | Unary | SimpleRequest | SimpleResponse | | ||
| Example | UnaryMessage | UnaryMessageRequest | SimpleResponse | | ||
| Example | UnaryRepeated | UnaryRepeatedRequest | SimpleResponse | | ||
| Example | UnaryRepeatedMessage | UnaryRepeatedMessageRequest | SimpleResponse | | ||
| Example | UnaryRepeatedEnum | UnaryRepeatedEnumRequest | SimpleResponse | | ||
| Example | UnarySelf | UnarySelfRequest | SimpleResponse | | ||
| Example | UnaryMap | UnaryMapRequest | SimpleResponse | | ||
| Example | UnaryMapMessage | UnaryMapMessageRequest | SimpleResponse | | ||
| Example | UnaryOneof | UnaryOneofRequest | SimpleResponse | | ||
| Example | UnaryEnum | UnaryEnumRequest | SimpleResponse | | ||
| Example | UnaryBytes | UnaryBytesRequest | SimpleResponse | | ||
| Example | UnaryHeader | UnaryHeaderRequest | SimpleResponse | | ||
| Example | UnaryHeaderTrailer | SimpleRequest | SimpleResponse | | ||
| Example | UnaryHeaderTrailerFailure | SimpleRequest | SimpleResponse | | ||
| Example | UnaryWithMapResponse | SimpleRequest | MapResponse | | ||
| Example | UnaryEcho | UnaryMessageRequest | SimpleResponse | | ||
| Example | ClientStreaming | SimpleRequest | SimpleResponse | | ||
| Example | ServerStreaming | SimpleRequest | SimpleResponse | | ||
| Example | BidiStreaming | SimpleRequest | SimpleResponse | | ||
+---------+---------------------------+-----------------------------+----------------+ | ||
+-------------+ | ||
| NAME | | ||
+-------------+ | ||
| api.Example | | ||
+-------------+ | ||
|
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.