dart-sdk/pkg/vm_service
Brian Quinlan b04c5a433e Adds tests and documentation for print line ending behavior
Bug:https://github.com/dart-lang/sdk/issues/53161
Change-Id: I3f13af3cb852b3656341922b9656ec91fc413eed
Tested: documentation + unit test only
CoreLibraryReviewExempt: Only adds documentation and adds a unit test to verify existing behavior
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/323426
Reviewed-by: Lasse Nielsen <lrn@google.com>
Commit-Queue: Brian Quinlan <bquinlan@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2023-10-17 22:10:38 +00:00
..
example [pkg/vm_service] use package:lints/recommended.yaml 2023-02-10 17:59:33 +00:00
java [deps] roll package:lints to the latest 2023-10-05 03:36:59 +00:00
lib Add wrapFuture VmService endpoint that can be overridden to add additional logic to each VM service RPC call, like logging or tracking values. 2023-10-12 18:36:52 +00:00
test Adds tests and documentation for print line ending behavior 2023-10-17 22:10:38 +00:00
tool [ package:vm_service ] Additional Observatory test migrations 2023-10-16 15:23:47 +00:00
.gitignore [vm service] generate the Java version of the library with the Dart version 2019-08-04 23:42:22 +00:00
analysis_options.yaml Bump package:lints to the latest; address instances of new lints. 2023-09-25 21:15:15 +00:00
CHANGELOG.md [ package:vm_service ] Additional Observatory test migrations 2023-10-16 15:23:47 +00:00
LICENSE Update LICENSE 2021-04-07 10:28:38 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml [ package:vm_service ] Additional Observatory test migrations 2023-10-16 15:23:47 +00:00
README.md Remove deprecated APIs from dart_io_extensions.dart and add new is*Available RPCs. 2023-10-11 22:22:12 +00:00

pub package package publisher

A library to access the VM Service Protocol.

Usage

See the example for a simple use of the library's API.

The VM Service Protocol spec can be found at github.com/dart-lang/sdk/runtime/vm/service/service.md.

Features and bugs

Please file feature requests and bugs at the issue tracker.

Running tests locally

  1. Build the SDK

    gclient sync -D && \
    ./tools/build.py -ax64 create_sdk
    

    Note: for a release build, add the -mrelease flag: ./tools/build.py -mrelease -ax64 create_sdk

  2. Run the tests

    • To run all the tests: python3 tools/test.py [ -mdebug | -mrelease ] -ax64 -j4 pkg/vm_service

    • To run a single test: dart pkg/vm_service/test/<test_name>.dart