From 9b94b676c4bf58b5601b76f683e25e33a4f5cf2a Mon Sep 17 00:00:00 2001 From: Jacob Richman Date: Wed, 10 Apr 2019 18:32:04 -0700 Subject: [PATCH] Commit for 0.0.15-dev.2 release. (#509) Commit for 0.0.15-dev.2 release. --- packages/devtools/lib/devtools.dart | 2 +- packages/devtools/lib/src/main.dart | 4 +- .../src/ui/fake_flutter/dart_ui/geometry.dart | 2 +- packages/devtools/pubspec.yaml | 4 +- .../test/inspector_controller_test.dart | 70 +++++++------- .../devtools/test/inspector_service_test.dart | 94 +++++++++---------- 6 files changed, 88 insertions(+), 88 deletions(-) diff --git a/packages/devtools/lib/devtools.dart b/packages/devtools/lib/devtools.dart index 7d0089aec3c..c1c2ea56717 100644 --- a/packages/devtools/lib/devtools.dart +++ b/packages/devtools/lib/devtools.dart @@ -5,4 +5,4 @@ /// The DevTools application version. // Note: when updating this, please update the corresponding version in the // pubspec. -const String version = '0.0.14'; +const String version = '0.0.15-dev.2'; diff --git a/packages/devtools/lib/src/main.dart b/packages/devtools/lib/src/main.dart index 6a2ca407bb8..380787eb94b 100644 --- a/packages/devtools/lib/src/main.dart +++ b/packages/devtools/lib/src/main.dart @@ -152,7 +152,7 @@ class PerfToolFramework extends Framework { ? 'This screen is disabled because you are not running a Flutter ' 'application' : 'This screen is disabled because you are running a profile build ' - 'of your application', + 'of your application', )); addScreen(TimelineScreen( disabled: !_isFlutterApp, @@ -160,7 +160,7 @@ class PerfToolFramework extends Framework { ? 'This screen is disabled because it is not yet ready for Flutter' ' Web' : 'This screen is disabled because you are not running a ' - 'Flutter application', + 'Flutter application', )); addScreen(MemoryScreen( disabled: _isFlutterWebApp, diff --git a/packages/devtools/lib/src/ui/fake_flutter/dart_ui/geometry.dart b/packages/devtools/lib/src/ui/fake_flutter/dart_ui/geometry.dart index b6b8338d179..0bdafb1498b 100644 --- a/packages/devtools/lib/src/ui/fake_flutter/dart_ui/geometry.dart +++ b/packages/devtools/lib/src/ui/fake_flutter/dart_ui/geometry.dart @@ -986,7 +986,7 @@ class Radius { return x == y ? 'Radius.circular(${x.toStringAsFixed(1)})' : 'Radius.elliptical(${x.toStringAsFixed(1)}, ' - '${y.toStringAsFixed(1)})'; + '${y.toStringAsFixed(1)})'; } } diff --git a/packages/devtools/pubspec.yaml b/packages/devtools/pubspec.yaml index c76013893a9..b7d4732cf87 100644 --- a/packages/devtools/pubspec.yaml +++ b/packages/devtools/pubspec.yaml @@ -3,7 +3,7 @@ description: A suite of web-based performance tooling for Dart and Flutter. # Note: when updating this version, please update the corresponding entry in # lib/devtools.dart. -version: 0.0.14 +version: 0.0.15-dev.2 author: Dart Team homepage: https://github.com/flutter/devtools @@ -44,7 +44,7 @@ dependencies: # path: ../../third_party/packages/plotly dev_dependencies: - build_runner: ^1.0.0 + build_runner: ^1.3.0 build_web_compilers: any matcher: ^0.12.3 test: ^1.0.0 diff --git a/packages/devtools/test/inspector_controller_test.dart b/packages/devtools/test/inspector_controller_test.dart index e9a2400f978..8f887c34da1 100644 --- a/packages/devtools/test/inspector_controller_test.dart +++ b/packages/devtools/test/inspector_controller_test.dart @@ -342,13 +342,13 @@ void main() async { tree.toStringDeep(), equalsIgnoringHashCodes( '▼[R] root ]\n' - ' ▼[M] MyApp\n' - ' ▼[M] MaterialApp\n' - ' ▼[S] Scaffold\n' - ' ├───▼[C] Center\n' - ' │ ▼[/icons/inspector/textArea.png] Text\n' - ' └─▼[A] AppBar\n' - ' ▼[/icons/inspector/textArea.png] Text\n', + ' ▼[M] MyApp\n' + ' ▼[M] MaterialApp\n' + ' ▼[S] Scaffold\n' + ' ├───▼[C] Center\n' + ' │ ▼[/icons/inspector/textArea.png] Text\n' + ' └─▼[A] AppBar\n' + ' ▼[/icons/inspector/textArea.png] Text\n', )); expect( @@ -464,13 +464,13 @@ void main() async { tree.toStringDeep(), equalsIgnoringHashCodes( '▼[R] root ]\n' - ' ▼[M] MyApp\n' - ' ▼[M] MaterialApp\n' - ' ▼[S] Scaffold <-- selected\n' - ' ├───▼[C] Center\n' - ' │ ▼[/icons/inspector/textArea.png] Text\n' - ' └─▼[A] AppBar\n' - ' ▼[/icons/inspector/textArea.png] Text\n', + ' ▼[M] MyApp\n' + ' ▼[M] MaterialApp\n' + ' ▼[S] Scaffold <-- selected\n' + ' ├───▼[C] Center\n' + ' │ ▼[/icons/inspector/textArea.png] Text\n' + ' └─▼[A] AppBar\n' + ' ▼[/icons/inspector/textArea.png] Text\n', )); await detailsTree.nextUiFrame; @@ -490,13 +490,13 @@ void main() async { tree.toStringDeep(), equalsIgnoringHashCodes( '▼[R] root ]\n' - ' ▼[M] MyApp\n' - ' ▼[M] MaterialApp\n' - ' ▼[S] Scaffold\n' - ' ├───▼[C] Center <-- selected\n' - ' │ ▼[/icons/inspector/textArea.png] Text\n' - ' └─▼[A] AppBar\n' - ' ▼[/icons/inspector/textArea.png] Text\n', + ' ▼[M] MyApp\n' + ' ▼[M] MaterialApp\n' + ' ▼[S] Scaffold\n' + ' ├───▼[C] Center <-- selected\n' + ' │ ▼[/icons/inspector/textArea.png] Text\n' + ' └─▼[A] AppBar\n' + ' ▼[/icons/inspector/textArea.png] Text\n', )); await detailsTree.nextUiFrame; @@ -513,13 +513,13 @@ void main() async { tree.toStringDeep(), equalsIgnoringHashCodes( '▼[R] root ]\n' - ' ▼[M] MyApp\n' - ' ▼[M] MaterialApp\n' - ' ▼[S] Scaffold <-- selected\n' - ' ├───▼[C] Center\n' - ' │ ▼[/icons/inspector/textArea.png] Text\n' - ' └─▼[A] AppBar\n' - ' ▼[/icons/inspector/textArea.png] Text\n', + ' ▼[M] MyApp\n' + ' ▼[M] MaterialApp\n' + ' ▼[S] Scaffold <-- selected\n' + ' ├───▼[C] Center\n' + ' │ ▼[/icons/inspector/textArea.png] Text\n' + ' └─▼[A] AppBar\n' + ' ▼[/icons/inspector/textArea.png] Text\n', )); // Verify that the details tree scrolled back as well. @@ -552,13 +552,13 @@ void main() async { tree.toStringDeep(), equalsIgnoringHashCodes( '▼[R] root ]\n' - ' ▼[M] MyApp\n' - ' ▼[M] MaterialApp\n' - ' ▼[S] Scaffold\n' - ' ├───▼[C] Center\n' - ' │ ▼[/icons/inspector/textArea.png] Text\n' - ' └─▼[A] AppBar\n' - ' ▼[/icons/inspector/textArea.png] Text\n', + ' ▼[M] MyApp\n' + ' ▼[M] MaterialApp\n' + ' ▼[S] Scaffold\n' + ' ├───▼[C] Center\n' + ' │ ▼[/icons/inspector/textArea.png] Text\n' + ' └─▼[A] AppBar\n' + ' ▼[/icons/inspector/textArea.png] Text\n', )); // TODO(jacobr): would be nice to have some tests that trigger a hot diff --git a/packages/devtools/test/inspector_service_test.dart b/packages/devtools/test/inspector_service_test.dart index 8534d830669..73dfcda0650 100644 --- a/packages/devtools/test/inspector_service_test.dart +++ b/packages/devtools/test/inspector_service_test.dart @@ -103,13 +103,13 @@ void main() async { treeToDebugString(root), equalsIgnoringHashCodes( '[root]\n' - ' └─MyApp\n' - ' └─MaterialApp\n' - ' └─Scaffold\n' - ' ├─Center\n' - ' │ └─Text\n' - ' └─AppBar\n' - ' └─Text\n', + ' └─MyApp\n' + ' └─MaterialApp\n' + ' └─Scaffold\n' + ' ├─Center\n' + ' │ └─Text\n' + ' └─AppBar\n' + ' └─Text\n', ), ); RemoteDiagnosticsNode nodeInSummaryTree = @@ -119,11 +119,11 @@ void main() async { treeToDebugString(nodeInSummaryTree), equalsIgnoringHashCodes( 'MaterialApp\n' - ' └─Scaffold\n' - ' ├─Center\n' - ' │ └─Text\n' - ' └─AppBar\n' - ' └─Text\n', + ' └─Scaffold\n' + ' ├─Center\n' + ' │ └─Text\n' + ' └─AppBar\n' + ' └─Text\n', ), ); RemoteDiagnosticsNode nodeInDetailsTree = @@ -149,22 +149,22 @@ void main() async { treeToDebugString(nodeInDetailsTree), equalsIgnoringHashCodes( 'Text\n' - ' │ data: "Hello, World!"\n' - ' │ textAlign: null\n' - ' │ textDirection: null\n' - ' │ locale: null\n' - ' │ softWrap: null\n' - ' │ overflow: null\n' - ' │ textScaleFactor: null\n' - ' │ maxLines: null\n' - ' │ dependencies: [DefaultTextStyle, MediaQuery]\n' - ' │\n' - ' └─RichText\n' - ' softWrap: wrapping at box width\n' - ' maxLines: unlimited\n' - ' text: "Hello, World!"\n' - ' dependencies: [_LocalizationsScope-[GlobalKey#00000], Directionality]\n' - ' renderObject: RenderParagraph#00000 relayoutBoundary=up2\n', + ' │ data: "Hello, World!"\n' + ' │ textAlign: null\n' + ' │ textDirection: null\n' + ' │ locale: null\n' + ' │ softWrap: null\n' + ' │ overflow: null\n' + ' │ textScaleFactor: null\n' + ' │ maxLines: null\n' + ' │ dependencies: [DefaultTextStyle, MediaQuery]\n' + ' │\n' + ' └─RichText\n' + ' softWrap: wrapping at box width\n' + ' maxLines: unlimited\n' + ' text: "Hello, World!"\n' + ' dependencies: [_LocalizationsScope-[GlobalKey#00000], Directionality]\n' + ' renderObject: RenderParagraph#00000 relayoutBoundary=up2\n', ), ); expect(nodeInDetailsTree.valueRef, equals(nodeInSummaryTree.valueRef)); @@ -178,7 +178,7 @@ void main() async { treeToDebugString(selection), equalsIgnoringHashCodes( 'Text\n' - ' └─RichText\n', + ' └─RichText\n', ), ); @@ -189,7 +189,7 @@ void main() async { treeToDebugString(selection), equalsIgnoringHashCodes( 'RenderParagraph#00000 relayoutBoundary=up2\n' - ' └─text: TextSpan\n', + ' └─text: TextSpan\n', ), ); @@ -212,7 +212,7 @@ void main() async { treeToDebugString(root), equalsIgnoringHashCodes( 'RenderView#00000\n' - ' └─child: RenderSemanticsAnnotations#00000\n', + ' └─child: RenderSemanticsAnnotations#00000\n', ), ); final child = findNodeMatching(root, 'RenderSemanticsAnnotations'); @@ -222,21 +222,21 @@ void main() async { treeToDebugString(childDetailsSubtree), equalsIgnoringHashCodes( 'child: RenderSemanticsAnnotations#00000\n' - ' │ parentData: \n' - ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n' - ' │ size: Size(800.0, 600.0)\n' - ' │\n' - ' └─child: RenderCustomPaint#00000\n' - ' │ parentData: (can use size)\n' - ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n' - ' │ size: Size(800.0, 600.0)\n' - ' │\n' - ' └─child: RenderPointerListener#00000\n' - ' parentData: (can use size)\n' - ' constraints: BoxConstraints(w=800.0, h=600.0)\n' - ' size: Size(800.0, 600.0)\n' - ' behavior: deferToChild\n' - ' listeners: down, up, cancel\n', + ' │ parentData: \n' + ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n' + ' │ size: Size(800.0, 600.0)\n' + ' │\n' + ' └─child: RenderCustomPaint#00000\n' + ' │ parentData: (can use size)\n' + ' │ constraints: BoxConstraints(w=800.0, h=600.0)\n' + ' │ size: Size(800.0, 600.0)\n' + ' │\n' + ' └─child: RenderPointerListener#00000\n' + ' parentData: (can use size)\n' + ' constraints: BoxConstraints(w=800.0, h=600.0)\n' + ' size: Size(800.0, 600.0)\n' + ' behavior: deferToChild\n' + ' listeners: down, up, cancel\n', ), ); @@ -249,7 +249,7 @@ void main() async { treeToDebugString(selection), equalsIgnoringHashCodes( 'RenderSemanticsAnnotations#00000\n' - ' └─child: RenderCustomPaint#00000\n', + ' └─child: RenderCustomPaint#00000\n', ), ); });