mirror of
https://github.com/foss42/apidash.git
synced 2025-05-18 06:46:08 +08:00
25 lines
795 B
Dart
25 lines
795 B
Dart
import 'package:apidash/consts.dart';
|
|
import 'desktop/env_manager_test.dart';
|
|
import 'desktop/his_request_test.dart';
|
|
import 'desktop/req_editor_test.dart';
|
|
import 'mobile/env_manager_test.dart';
|
|
import 'mobile/his_request_test.dart';
|
|
import 'mobile/req_editor_test.dart';
|
|
|
|
Future<void> main() async {
|
|
if (kIsMobile) {
|
|
await runMobileReqIntegrationTest();
|
|
await runMobileEnvIntegrationTest();
|
|
await runMobileHisIntegrationTest();
|
|
} else if (kIsMobile || kIsDesktop) {
|
|
await runDesktopReqIntegrationTest();
|
|
await runDesktopEnvIntegrationTest();
|
|
await runDesktopHisIntegrationTest();
|
|
await runMobileReqIntegrationTest();
|
|
await runMobileEnvIntegrationTest();
|
|
await runMobileHisIntegrationTest();
|
|
} else {
|
|
throw Exception("Unsupported Platform");
|
|
}
|
|
}
|