-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 more test method in Filter::AlwaysFalse class #9718
Add more test method in Filter::AlwaysFalse class #9718
Conversation
✅ Deploy Preview for meta-velox canceled.
|
@bikramSingh91 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@@ -312,6 +312,10 @@ class AlwaysFalse final : public Filter { | |||
return false; | |||
} | |||
|
|||
bool testNull() const final { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we add tests for these methods? Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say this is too trivial to be tested
@bikramSingh91 merged this pull request in f536875. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
…9718) Summary: We now use alwaysFalse of Filter.h and some method not implemented causing runtime error. So, we'd like to implment some alwaysFalse method to avoid the error. Pull Request resolved: facebookincubator#9718 Reviewed By: Yuhta Differential Revision: D57072475 Pulled By: bikramSingh91 fbshipit-source-id: a8986387f044cdf6f21096d06c5fdfc070aba09a
…9718) Summary: We now use alwaysFalse of Filter.h and some method not implemented causing runtime error. So, we'd like to implment some alwaysFalse method to avoid the error. Pull Request resolved: facebookincubator#9718 Reviewed By: Yuhta Differential Revision: D57072475 Pulled By: bikramSingh91 fbshipit-source-id: a8986387f044cdf6f21096d06c5fdfc070aba09a
We now use alwaysFalse of Filter.h and some method not implemented causing runtime error. So, we'd like to implment some alwaysFalse method to avoid the error.