Enable alias parsing flutter_project_dir and Update Ci (#92)

This commit is contained in:
wenchieh
2023-05-24 23:57:53 +08:00
committed by GitHub
parent bbce20d4f8
commit 3a62daf897
6 changed files with 19 additions and 8 deletions

View File

@ -9,16 +9,19 @@ void main() {
TestWidgetsFlutterBinding.ensureInitialized();
setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger
.setMockMethodCallHandler(channel, (MethodCall methodCall) async {
switch (methodCall.method) {
case 'isQQInstalled':
return true;
}
return null;
});
});
tearDown(() {
channel.setMockMethodCallHandler(null);
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger
.setMockMethodCallHandler(channel, null);
});
test('isQQInstalled', () async {