-
Notifications
You must be signed in to change notification settings - Fork 18
Add flutter_tizen_texture_registrar unittest #141
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
Conversation
@WonyoungChoi I habitually amend the contents of review. 😢 |
Signed-off-by: MuHong Byun <[email protected]>
* Remove redundant code Signed-off-by: MuHong Byun <[email protected]>
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.
You understand you're still trying to test an unimplemented class, right?
} | ||
|
||
bool ExternalTexturePixelGL::CopyPixelBuffer(size_t& width, size_t& height) { | ||
if (texture_callback_ && user_data_) { |
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.
user_data_
could be null I think.
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.
Yes, you're right!
To be honest, this is a trick to avoid build errors. 😢
I guess this TC tests the functionality of the |
Oh, if that's the case, I got it. |
Signed-off-by: MuHong Byun <[email protected]>
* Add flutter_tizen_texture_registrar unittest Signed-off-by: MuHong Byun <[email protected]> * Apply review's comment * Remove redundant code Signed-off-by: MuHong Byun <[email protected]> * Apply review's comment #2 Signed-off-by: MuHong Byun <[email protected]>
* Add flutter_tizen_texture_registrar unittest Signed-off-by: MuHong Byun <[email protected]> * Apply review's comment * Remove redundant code Signed-off-by: MuHong Byun <[email protected]> * Apply review's comment #2 Signed-off-by: MuHong Byun <[email protected]>
* Add flutter_tizen_texture_registrar unittest Signed-off-by: MuHong Byun <[email protected]> * Apply review's comment * Remove redundant code Signed-off-by: MuHong Byun <[email protected]> * Apply review's comment #2 Signed-off-by: MuHong Byun <[email protected]>
* Add flutter_tizen_texture_registrar unittest * Apply review's comment Signed-off-by: MuHong Byun <[email protected]>
* Add flutter_tizen_texture_registrar unittest * Apply review's comment Signed-off-by: MuHong Byun <[email protected]>
* Add flutter_tizen_texture_registrar unittest * Apply review's comment Signed-off-by: MuHong Byun <[email protected]>
* Add flutter_tizen_texture_registrar unittest * Apply review's comment Signed-off-by: MuHong Byun <[email protected]>
Signed-off-by: MuHong Byun <[email protected]>
…ackend. (#141) As we add more rendering backends, adding a new enum value to a single macro `INSTANTIATE_PLAYGROUND_SUITE` in `playground.h` will create a new test variant in any suite that uses playgrounds. The invocations will look like the following: ``` [ RUN ] Play/TypographerTest.CanCreateGlyphAtlas/Metal [ OK ] Play/TypographerTest.CanCreateGlyphAtlas/Metal (210 ms) [ RUN ] Play/TypographerTest.CanCreateGlyphAtlas/OpenGLES [ OK ] Play/TypographerTest.CanCreateGlyphAtlas/OpenGLES (xxx ms) ``` If you want to test just one backend, you may add a filter like so `--gtest_filter="*/Metal"` Right now, I have not added a the OpenGLES variant to the default test suite instantiation since there are so many failures (that is just a stub ATM). But, if the need arises to skip specific tests based on the backend in use (we won't support instancing in OpenGLES for example), the backend for the playground may be queried before deciding to GTEST_SKIP the invocation. One additional change in the patch that will be reworked soon is the Metal specificity of the source set generated after reflection. This will be made agnostic in the coming few patches. Right now, these headers are in the `mtl` folder.
Signed-off-by: MuHong Byun <[email protected]>
Contains follow things: