ops-console v1.0.2 (versionCode 8) 源码入库

This commit is contained in:
txh
2026-09-03 18:01:05 +08:00
commit 685fff27c8
170 changed files with 53049 additions and 0 deletions

17
test/widget_test.dart Normal file
View File

@@ -0,0 +1,17 @@
// This is a basic Flutter widget smoke test.
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:cloudhome_ops/main.dart';
void main() {
testWidgets('App builds without throwing', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const ProviderScope(child: OpsConsoleApp()));
await tester.pump();
// 只要渲染树成功构建,即认为 smoke test 通过。
expect(find.byType(ProviderScope), findsOneWidget);
});
}