Skip to content
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

Improve testability of structs in Dart #1048

Merged
merged 2 commits into from
Aug 26, 2021

Conversation

DanielKamkha
Copy link
Contributor

@DanielKamkha DanielKamkha commented Aug 19, 2021

Updated DartStruct template to improve testability: updated instance methods to be redirects to $prototype, similarly to how
it's done already for static methods.

Updated smoke tests. Functional tests don't need to be updated because there is
no change in user-facing functionality.

Resolves: #1028
Signed-off-by: Daniel Kamkha daniel.kamkha@here.com

@DanielKamkha DanielKamkha self-assigned this Aug 19, 2021
@DanielKamkha DanielKamkha marked this pull request as draft August 19, 2021 13:32
@DanielKamkha DanielKamkha added bug Something isn't working dart labels Aug 19, 2021
@DanielKamkha DanielKamkha force-pushed the dart-testable-struct-methods branch from fe50441 to 38557ca Compare August 20, 2021 07:10
Updated DartStruct template to improve testability: updated instance methods to
be redirects to `$prototype`, similarly to how it's done already for static
methods.

Updated smoke tests. Functional tests don't need to be updated because there is
no change in user-facing functionality.

Resolves: #1028
Signed-off-by: Daniel Kamkha <daniel.kamkha@here.com>
@DanielKamkha DanielKamkha force-pushed the dart-testable-struct-methods branch from 38557ca to f6ad127 Compare August 23, 2021 08:27
@DanielKamkha DanielKamkha marked this pull request as ready for review August 23, 2021 09:50
@DanielKamkha DanielKamkha merged commit 94903b6 into master Aug 26, 2021
@DanielKamkha DanielKamkha deleted the dart-testable-struct-methods branch August 26, 2021 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dart
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate Dart "testable" code for Flutter testability
2 participants