Skip to content

Add unit testing for HasRecvClientErrorWithStatus.#105

Merged
robshakir merged 6 commits intomainfrom
chk-unimpl-details
Jan 14, 2022
Merged

Add unit testing for HasRecvClientErrorWithStatus.#105
robshakir merged 6 commits intomainfrom
chk-unimpl-details

Conversation

@robshakir
Copy link
Copy Markdown
Member

    Add unit test for IgnoreDetails.
    
      * (M) chk/chk.go
      * (M) chk/chk_test.go
        - Fix implementation of IgnoreDetails to ensure that it allows
          details received from the server to be ignored rather than
          solely from the client.
        - Add unit test.
    Ignore details when chk.AllowUnimplemented() is specified.
    
      * (M) chk/chk.go
        - when chk.AllowUnimplemented() is specified, details of the error
          (which hasn't been explcitly implemented) are still checked -
          change the implementation to explicitly not require details to
          match in these cases.
      * (M) chk/chk_test.go
        - Add unit testing for HasRecvErrorWithStatus.

  * (M) chk/chk.go
    - when chk.AllowUnimplemented() is specified, details of the error
      (which hasn't been explcitly implemented) are still checked -
      change the implementation to explicitly not require details to
      match in these cases.
  * (M) chk/chk_test.go
    - Add unit testing for HasRecvErrorWithStatus.
  * (M) chk/chk.go
  * (M) chk/chk_test.go
    - Fix implementation of IgnoreDetails to ensure that it allows
      details received from the server to be ignored rather than
      solely from the client.
    - Add unit test.
Copy link
Copy Markdown
Contributor

@deep-gajjar5 deep-gajjar5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@robshakir
Copy link
Copy Markdown
Member Author

@deep-gajjar5 @sthesayi Could you PTAL/approve here please?

@robshakir robshakir merged commit 48763db into main Jan 14, 2022
@robshakir robshakir deleted the chk-unimpl-details branch January 14, 2022 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants