Migrate channels to pkg:integration _test (#120833)
* migrate to integration_test framework * Update embedding
This commit is contained in:
committed by
GitHub
parent
cacef57b6e
commit
34102ca3bb
@@ -6,9 +6,7 @@ import 'dart:async';
|
||||
import 'dart:io' show Platform;
|
||||
import 'dart:typed_data';
|
||||
|
||||
import 'package:flutter/gestures.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_driver/driver_extension.dart';
|
||||
|
||||
import 'src/basic_messaging.dart';
|
||||
import 'src/method_calls.dart';
|
||||
@@ -16,9 +14,6 @@ import 'src/pair.dart';
|
||||
import 'src/test_step.dart';
|
||||
|
||||
void main() {
|
||||
enableFlutterDriverExtension();
|
||||
// TODO(goderbauer): Remove this once https://github.com/flutter/flutter/issues/116663 is diagnosed.
|
||||
debugPrintHitTestResults = true;
|
||||
runApp(const TestApp());
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ class TestStepResult {
|
||||
Text('Error: ${_toString(error)}'),
|
||||
const Text(' '),
|
||||
Text(
|
||||
status.toString().substring('TestStatus.'.length),
|
||||
status.name,
|
||||
key: ValueKey<String>(
|
||||
status == TestStatus.pending ? 'nostatus' : 'status'),
|
||||
style: bold,
|
||||
@@ -92,6 +92,11 @@ class TestStepResult {
|
||||
}
|
||||
|
||||
static bool deepEquals(dynamic a, dynamic b) => _deepEquals(a, b);
|
||||
|
||||
@override
|
||||
String toString() {
|
||||
return 'TestStepResult($status)';
|
||||
}
|
||||
}
|
||||
|
||||
Future<TestStepResult> resultOfHandshake(
|
||||
|
||||
Reference in New Issue
Block a user