mirror of
https://github.com/RxReader/tencent_kit.git
synced 2025-07-03 11:46:08 +08:00
Enable alias parsing flutter_project_dir and Update Ci (#92)
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user