Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@naudzghebre
Copy link
Contributor

[dart_component][hello_world] Add a hello world dart component.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

…wing PRs will incorporate this in an integration test
Copy link
Contributor

@akbiggs akbiggs left a comment

Choose a reason for hiding this comment

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

Sick!

{
program: {
data: "data/hello_world",
runner: "dart_jit_runner"
Copy link
Contributor

Choose a reason for hiding this comment

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

We don't specify the runner explicitly for the Flutter runner integration test so I wonder if this will create problems for you later, but I don't see any problem with specifying it explicitly. The only downside I can see is that you won't be able to run this component manually on release builds for example.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can change it in following PRs, it was asking for a runner to be listed when building.


group("tests") {
testonly = true
deps = [ "hello_world:hello_world_dart" ]
Copy link
Contributor

Choose a reason for hiding this comment

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

This is fine for now to build our target, but hello_world_dart should eventually become a dependency of our startup test instead of a dependency of the tests group (since it's not a unit test itself).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, just kept it around to get it building.

@naudzghebre naudzghebre merged commit 405b354 into flutter:main May 18, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 19, 2022
…t. Following PRs will incorporate this in an integration test (flutter/engine#33465)
houhuayong pushed a commit to houhuayong/engine that referenced this pull request Jun 21, 2022
…wing PRs will incorporate this in an integration test (flutter#33465)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants