끝난 이클립스 합류 문구 · HOME 헤더 POP · 다국어 HOME 레이아웃 · 캠페인 표시 수정

This commit is contained in:
Sn-Kinos
2026-10-08 19:00:24 +09:00
parent a74edaef6b
commit 40b2c0e6f6
40 changed files with 1649 additions and 845 deletions
+13 -2
View File
@@ -1,3 +1,4 @@
import 'package:fancake/core/ui/clipboard_copy.dart';
import 'dart:async';
import 'dart:convert';
@@ -240,8 +241,18 @@ void main() {
null,
),
);
expect(await shareProfile(profile, '문구 복사'), isTrue);
expect(clip, profileShareText(profile));
// Android 12 이하는 앱이 알리고(true), 13+ 는 시스템이 알려 앱 토스트를 생략한다(false).
const device = MethodChannel('kr.co.fanuzu.app/device');
addTearDown(() {
tester.binding.defaultBinaryMessenger.setMockMethodCallHandler(device, null);
resetClipboardSdkCache();
});
for (final (sdk, announce) in [(32, true), (33, false)]) {
resetClipboardSdkCache();
tester.binding.defaultBinaryMessenger.setMockMethodCallHandler(device, (_) async => sdk);
expect(await shareProfile(profile, '문구 복사'), announce);
expect(clip, profileShareText(profile));
}
});
testWidgets('티어 카드를 누르면 행성별 티어로 넘어간다', (tester) async {