@@ -153,10 +153,6 @@ const FakeVmServiceRequest evictShader = FakeVmServiceRequest(
153
153
}
154
154
);
155
155
156
- const FakeVmServiceRequest serveObservatory = FakeVmServiceRequest (
157
- method: '_serveObservatory' ,
158
- );
159
-
160
156
final Uri testUri = Uri .parse ('foo://bar' );
161
157
162
158
void main () {
@@ -196,7 +192,6 @@ void main() {
196
192
testUsingContext ('ResidentRunner can attach to device successfully' , () => testbed.run (() async {
197
193
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
198
194
listViews,
199
- serveObservatory,
200
195
listViews,
201
196
]);
202
197
final Completer <DebugConnectionInfo > futureConnectionInfo = Completer <DebugConnectionInfo >.sync ();
@@ -220,7 +215,6 @@ void main() {
220
215
.createSync (recursive: true );
221
216
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
222
217
listViews,
223
- serveObservatory,
224
218
listViews,
225
219
]);
226
220
final FakeResidentCompiler residentCompiler = FakeResidentCompiler ()
@@ -312,7 +306,6 @@ void main() {
312
306
.createSync (recursive: true );
313
307
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
314
308
listViews,
315
- serveObservatory,
316
309
listViews,
317
310
]);
318
311
final FakeResidentCompiler residentCompiler = FakeResidentCompiler ()
@@ -337,7 +330,6 @@ void main() {
337
330
testUsingContext ('ResidentRunner can attach to device successfully with --fast-start' , () => testbed.run (() async {
338
331
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
339
332
listViews,
340
- serveObservatory,
341
333
listViews,
342
334
listViews,
343
335
FakeVmServiceRequest (
@@ -406,7 +398,6 @@ void main() {
406
398
testUsingContext ('ResidentRunner can handle an RPC exception from hot reload' , () => testbed.run (() async {
407
399
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
408
400
listViews,
409
- serveObservatory,
410
401
listViews,
411
402
listViews,
412
403
]);
@@ -440,7 +431,6 @@ void main() {
440
431
testUsingContext ('ResidentRunner fails its operation if the device initialization is not complete' , () => testbed.run (() async {
441
432
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
442
433
listViews,
443
- serveObservatory,
444
434
listViews,
445
435
]);
446
436
final Completer <DebugConnectionInfo > futureConnectionInfo = Completer <DebugConnectionInfo >.sync ();
@@ -462,7 +452,6 @@ void main() {
462
452
testUsingContext ('ResidentRunner can handle an reload-barred exception from hot reload' , () => testbed.run (() async {
463
453
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
464
454
listViews,
465
- serveObservatory,
466
455
listViews,
467
456
listViews,
468
457
]);
@@ -498,7 +487,6 @@ void main() {
498
487
testUsingContext ('ResidentRunner reports hot reload event with null safety analytics' , () => testbed.run (() async {
499
488
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
500
489
listViews,
501
- serveObservatory,
502
490
listViews,
503
491
listViews,
504
492
]);
@@ -546,7 +534,6 @@ void main() {
546
534
testUsingContext ('ResidentRunner does not reload sources if no sources changed' , () => testbed.run (() async {
547
535
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
548
536
listViews,
549
- serveObservatory,
550
537
listViews,
551
538
listViews,
552
539
FakeVmServiceRequest (
@@ -591,7 +578,6 @@ void main() {
591
578
testUsingContext ('ResidentRunner reports error with missing entrypoint file' , () => testbed.run (() async {
592
579
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
593
580
listViews,
594
- serveObservatory,
595
581
listViews,
596
582
listViews,
597
583
FakeVmServiceRequest (
@@ -652,7 +638,6 @@ void main() {
652
638
testUsingContext ('ResidentRunner resets compilation time on reload reject' , () => testbed.run (() async {
653
639
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
654
640
listViews,
655
- serveObservatory,
656
641
listViews,
657
642
listViews,
658
643
FakeVmServiceRequest (
@@ -717,7 +702,6 @@ void main() {
717
702
testUsingContext ('ResidentRunner can send target platform to analytics from hot reload' , () => testbed.run (() async {
718
703
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
719
704
listViews,
720
- serveObservatory,
721
705
listViews,
722
706
listViews,
723
707
FakeVmServiceRequest (
@@ -781,7 +765,6 @@ void main() {
781
765
testUsingContext ('ResidentRunner can perform fast reassemble' , () => testbed.run (() async {
782
766
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
783
767
listViews,
784
- serveObservatory,
785
768
FakeVmServiceRequest (
786
769
method: 'getVM' ,
787
770
jsonResponse: fakeVM.toJson (),
@@ -872,7 +855,6 @@ void main() {
872
855
testUsingContext ('ResidentRunner reports hot reload time details' , () => testbed.run (() async {
873
856
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
874
857
listViews,
875
- serveObservatory,
876
858
FakeVmServiceRequest (
877
859
method: 'getVM' ,
878
860
jsonResponse: fakeVM.toJson (),
@@ -962,7 +944,6 @@ void main() {
962
944
testUsingContext ('ResidentRunner can send target platform to analytics from full restart' , () => testbed.run (() async {
963
945
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
964
946
listViews,
965
- serveObservatory,
966
947
listViews,
967
948
listViews,
968
949
FakeVmServiceRequest (
@@ -1023,7 +1004,6 @@ void main() {
1023
1004
testUsingContext ('ResidentRunner can remove breakpoints and exception-pause-mode from paused isolate during hot restart' , () => testbed.run (() async {
1024
1005
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1025
1006
listViews,
1026
- serveObservatory,
1027
1007
listViews,
1028
1008
listViews,
1029
1009
FakeVmServiceRequest (
@@ -1097,7 +1077,6 @@ void main() {
1097
1077
testUsingContext ('ResidentRunner will alternative the name of the dill file uploaded for a hot restart' , () => testbed.run (() async {
1098
1078
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1099
1079
listViews,
1100
- serveObservatory,
1101
1080
listViews,
1102
1081
listViews,
1103
1082
FakeVmServiceRequest (
@@ -1220,7 +1199,6 @@ void main() {
1220
1199
testUsingContext ('ResidentRunner Can handle an RPC exception from hot restart' , () => testbed.run (() async {
1221
1200
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1222
1201
listViews,
1223
- serveObservatory,
1224
1202
listViews,
1225
1203
]);
1226
1204
final Completer <DebugConnectionInfo > futureConnectionInfo = Completer <DebugConnectionInfo >.sync ();
@@ -1653,7 +1631,6 @@ flutter:
1653
1631
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1654
1632
listViews,
1655
1633
listViews,
1656
- serveObservatory,
1657
1634
]);
1658
1635
residentRunner = ColdRunner (
1659
1636
< FlutterDevice > [
@@ -1696,7 +1673,6 @@ flutter:
1696
1673
testUsingContext ('HotRunner writes vm service file when providing debugging option' , () => testbed.run (() async {
1697
1674
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1698
1675
listViews,
1699
- serveObservatory,
1700
1676
listViews,
1701
1677
], wsAddress: testUri);
1702
1678
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
@@ -1719,7 +1695,6 @@ flutter:
1719
1695
testUsingContext ('HotRunner copies compiled app.dill to cache during startup' , () => testbed.run (() async {
1720
1696
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1721
1697
listViews,
1722
- serveObservatory,
1723
1698
listViews,
1724
1699
], wsAddress: testUri);
1725
1700
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
@@ -1748,7 +1723,6 @@ flutter:
1748
1723
testUsingContext ('HotRunner copies compiled app.dill to cache during startup with dart defines' , () => testbed.run (() async {
1749
1724
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1750
1725
listViews,
1751
- serveObservatory,
1752
1726
listViews,
1753
1727
], wsAddress: testUri);
1754
1728
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
@@ -1779,7 +1753,6 @@ flutter:
1779
1753
testUsingContext ('HotRunner copies compiled app.dill to cache during startup with null safety' , () => testbed.run (() async {
1780
1754
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1781
1755
listViews,
1782
- serveObservatory,
1783
1756
listViews,
1784
1757
], wsAddress: testUri);
1785
1758
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
@@ -1810,7 +1783,6 @@ flutter:
1810
1783
testUsingContext ('HotRunner copies compiled app.dill to cache during startup with track-widget-creation' , () => testbed.run (() async {
1811
1784
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1812
1785
listViews,
1813
- serveObservatory,
1814
1786
listViews,
1815
1787
], wsAddress: testUri);
1816
1788
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
@@ -1834,7 +1806,6 @@ flutter:
1834
1806
testUsingContext ('HotRunner does not copy app.dill if a dillOutputPath is given' , () => testbed.run (() async {
1835
1807
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1836
1808
listViews,
1837
- serveObservatory,
1838
1809
listViews,
1839
1810
], wsAddress: testUri);
1840
1811
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
@@ -1858,7 +1829,6 @@ flutter:
1858
1829
testUsingContext ('HotRunner copies compiled app.dill to cache during startup with --track-widget-creation' , () => testbed.run (() async {
1859
1830
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1860
1831
listViews,
1861
- serveObservatory,
1862
1832
listViews,
1863
1833
], wsAddress: testUri);
1864
1834
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
@@ -1886,7 +1856,6 @@ flutter:
1886
1856
testUsingContext ('HotRunner calls device dispose' , () => testbed.run (() async {
1887
1857
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1888
1858
listViews,
1889
- serveObservatory,
1890
1859
listViews,
1891
1860
], wsAddress: testUri);
1892
1861
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
@@ -1907,7 +1876,6 @@ flutter:
1907
1876
testUsingContext ('HotRunner handles failure to write vmservice file' , () => testbed.run (() async {
1908
1877
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1909
1878
listViews,
1910
- serveObservatory,
1911
1879
listViews,
1912
1880
]);
1913
1881
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
@@ -1932,7 +1900,6 @@ flutter:
1932
1900
testUsingContext ('ColdRunner writes vm service file when providing debugging option' , () => testbed.run (() async {
1933
1901
fakeVmServiceHost = FakeVmServiceHost (requests: < VmServiceExpectation > [
1934
1902
listViews,
1935
- serveObservatory,
1936
1903
], wsAddress: testUri);
1937
1904
globals.fs.file (globals.fs.path.join ('lib' , 'main.dart' )).createSync (recursive: true );
1938
1905
residentRunner = ColdRunner (
0 commit comments