mirror of
https://github.com/RxReader/tencent_kit.git
synced 2025-06-28 08:10:46 +08:00
.gitignore.metadataCHANGELOG.mdLICENSEREADME.mdanalysis_options.yaml
android
example
.gitignorepubspec.lockpubspec.yaml
android
integration_test
ios
Flutter
PodfilePodfile.lockRunner.xcodeproj
Runner
Assets.xcassets/AppIcon.appiconset
Icon-App-20x20@1x.pngIcon-App-20x20@2x.pngIcon-App-20x20@3x.pngIcon-App-29x29@1x.pngIcon-App-29x29@2x.pngIcon-App-29x29@3x.pngIcon-App-40x40@1x.pngIcon-App-40x40@2x.pngIcon-App-40x40@3x.pngIcon-App-60x60@2x.pngIcon-App-60x60@3x.pngIcon-App-76x76@1x.pngIcon-App-76x76@2x.pngIcon-App-83.5x83.5@2x.png
Info.plistRunnerTests
ios
lib
pubspec.yamltest
22
example/integration_test/plugin_integration_test.dart
Normal file
22
example/integration_test/plugin_integration_test.dart
Normal file
@ -0,0 +1,22 @@
|
||||
// This is a basic Flutter integration test.
|
||||
//
|
||||
// Since integration tests run in a full Flutter application, they can interact
|
||||
// with the host side of a plugin implementation, unlike Dart unit tests.
|
||||
//
|
||||
// For more information about Flutter integration tests, please see
|
||||
// https://docs.flutter.dev/cookbook/testing/integration/introduction
|
||||
|
||||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:integration_test/integration_test.dart';
|
||||
|
||||
import 'package:tencent_kit/tencent_kit.dart';
|
||||
|
||||
void main() {
|
||||
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
|
||||
|
||||
testWidgets('isQQInstalled test', (WidgetTester tester) async {
|
||||
// The version string depends on the host platform running the test, so
|
||||
// just assert that some non-empty string is returned.
|
||||
expect(await TencentKitPlatform.instance.isQQInstalled(), false);
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user