Skip to content

Add ServiceExtensionManager to DevTools. #54

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

Merged
merged 17 commits into from
Dec 14, 2018

Conversation

kenzieschmoll
Copy link
Member

Adds and restores service extensions from service.dart.

Follow up CLs:

  • Use manager to set states and make calls in timeline.dart and device.dart
  • Currently the initial start in profile mode is not WAI because EvalOnDartLibrary.eval is throwing an error. Will fix this in a follow-up CL.

Copy link
Contributor

@jacob314 jacob314 left a comment

Choose a reason for hiding this comment

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

Looks like it is on the right track. Can you add some tests? The DevTools project is setup to b e reasonable to write actual tests. The test should use a real VMService connected to a flutter app so we can verify the service extension reporting actual works as expected. It is fine for the tests to feel a bit more like integration tests than unittests. You will have to be a little bit careful dealing with testing the async behavior in the tests. Let me know if something doesn't seem like it is working.

Copy link
Contributor

@jacob314 jacob314 left a comment

Choose a reason for hiding this comment

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

Go ahead and land and we'll polish after landing.

@kenzieschmoll
Copy link
Member Author

Will add tests in follow up CL.

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.

2 participants