Fakultas Ilmu Komputer UI

Commit d840a2d1 authored by Manuel Yoseph Ray's avatar Manuel Yoseph Ray
Browse files

commit before pull from staging

parent 07df05b1
Pipeline #83917 passed with stages
in 10 minutes and 24 seconds
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_keyboard_visibility","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility-5.0.0\\\\","dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-3.3.5\\\\","dependencies":[]},{"name":"image_picker","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker-0.7.4\\\\","dependencies":[]},{"name":"path_provider","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.1\\\\","dependencies":[]}],"android":[{"name":"flutter_keyboard_visibility","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility-5.0.0\\\\","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_plugin_android_lifecycle-2.0.1\\\\","dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-3.3.5\\\\","dependencies":[]},{"name":"image_picker","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker-0.7.4\\\\","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"path_provider","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.1\\\\","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-2.0.0\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.0.0\\\\","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.0.0\\\\","dependencies":[]}],"web":[{"name":"flutter_keyboard_visibility_web","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility_web-2.0.0\\\\","dependencies":[]},{"name":"image_picker_for_web","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker_for_web-2.0.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_web"]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"flutter_secure_storage","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle","image_picker_for_web"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2021-06-28 11:40:28.124276","version":"2.0.1"}
\ No newline at end of file
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_keyboard_visibility","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility-5.0.0\\\\","dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-3.3.5\\\\","dependencies":[]},{"name":"image_picker","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker-0.7.4\\\\","dependencies":[]},{"name":"path_provider","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.1\\\\","dependencies":[]}],"android":[{"name":"flutter_keyboard_visibility","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility-5.0.0\\\\","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_plugin_android_lifecycle-2.0.1\\\\","dependencies":[]},{"name":"flutter_secure_storage","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_secure_storage-3.3.5\\\\","dependencies":[]},{"name":"image_picker","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker-0.7.4\\\\","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"path_provider","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider-2.0.1\\\\","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_macos-2.0.0\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_linux-2.0.0\\\\","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\path_provider_windows-2.0.0\\\\","dependencies":[]}],"web":[{"name":"flutter_keyboard_visibility_web","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\flutter_keyboard_visibility_web-2.0.0\\\\","dependencies":[]},{"name":"image_picker_for_web","path":"C:\\\\src\\\\flutter\\\\.pub-cache\\\\hosted\\\\pub.dartlang.org\\\\image_picker_for_web-2.0.0\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_web"]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"flutter_secure_storage","dependencies":[]},{"name":"image_picker","dependencies":["flutter_plugin_android_lifecycle","image_picker_for_web"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]}],"date_created":"2021-06-28 12:02:11.344859","version":"2.0.1"}
\ No newline at end of file
This diff is collapsed.
......@@ -225,8 +225,6 @@ class _TransactionState extends State<Transaction> {
@override
Widget build(BuildContext context) {
double phoneWidth = MediaQuery.of(context).size.width - 32;
return new MaterialApp(
home: Scaffold(
body: SingleChildScrollView(
......
......@@ -8,20 +8,7 @@ void main() {
final tabMenungguKonfirmasiText =
find.byKey(Key('tabMenungguKonfirmasiText'));
final tabRiwayatText = find.byKey(Key('tabRiwayatText'));
final deposit = find.byKey(Key('deposit'));
final valueDeposit = find.byKey(Key('valueDeposit'));
final keteranganDeposit = find.byKey(Key('keteranganDeposit'));
final tanggalKadaluarsaDeposit =
find.byKey(Key('tanggalKadaluarsaDeposit'));
final keteranganTanggalKadaluarsaDeposit =
find.byKey(Key('keteranganTanggalKadaluarsaDeposit'));
final pembelian = find.byKey(Key('pembelian'));
final valuePembelian = find.byKey(Key('valuePembelian'));
final keteranganPembelian = find.byKey(Key('keteranganPembelian'));
final tanggalKadaluarsaPembelian =
find.byKey(Key('tanggalKadaluarsaPembelian'));
final keteranganTanggalKadaluarsaPembelian =
find.byKey(Key('keteranganTanggalKadaluarsaPembelian'));
// execute
await tester.pumpWidget(MaterialApp(home: Transaction()));
......@@ -29,15 +16,5 @@ void main() {
expect(tabMenungguKonfirmasiText, findsOneWidget);
expect(tabRiwayatText, findsOneWidget);
expect(deposit, findsOneWidget);
expect(valueDeposit, findsOneWidget);
expect(keteranganDeposit, findsOneWidget);
expect(tanggalKadaluarsaDeposit, findsOneWidget);
expect(keteranganTanggalKadaluarsaDeposit, findsOneWidget);
expect(pembelian, findsOneWidget);
expect(valuePembelian, findsOneWidget);
expect(keteranganPembelian, findsOneWidget);
expect(tanggalKadaluarsaPembelian, findsOneWidget);
expect(keteranganTanggalKadaluarsaPembelian, findsOneWidget);
});
}
......@@ -8,36 +8,11 @@ void main() {
final tabMenungguKonfirmasiText =
find.byKey(Key('tabMenungguKonfirmasiText'));
final tabRiwayatText = find.byKey(Key('tabRiwayatText'));
final deposit = find.byKey(Key('deposit'));
final valueDeposit = find.byKey(Key('valueDeposit'));
final keteranganDeposit = find.byKey(Key('keteranganDeposit'));
final tanggalKadaluarsaDeposit =
find.byKey(Key('tanggalKadaluarsaDeposit'));
final keteranganTanggalKadaluarsaDeposit =
find.byKey(Key('keteranganTanggalKadaluarsaDeposit'));
final pembelian = find.byKey(Key('pembelian'));
final valuePembelian = find.byKey(Key('valuePembelian'));
final keteranganPembelian = find.byKey(Key('keteranganPembelian'));
final tanggalKadaluarsaPembelian =
find.byKey(Key('tanggalKadaluarsaPembelian'));
final keteranganTanggalKadaluarsaPembelian =
find.byKey(Key('keteranganTanggalKadaluarsaPembelian'));
// execute
await tester.pumpWidget(MaterialApp(home: Transaction()));
// check outputs
expect(tabMenungguKonfirmasiText, findsOneWidget);
expect(tabRiwayatText, findsOneWidget);
expect(deposit, findsOneWidget);
expect(valueDeposit, findsOneWidget);
expect(keteranganDeposit, findsOneWidget);
expect(tanggalKadaluarsaDeposit, findsOneWidget);
expect(keteranganTanggalKadaluarsaDeposit, findsOneWidget);
expect(pembelian, findsOneWidget);
expect(valuePembelian, findsOneWidget);
expect(keteranganPembelian, findsOneWidget);
expect(tanggalKadaluarsaPembelian, findsOneWidget);
expect(keteranganTanggalKadaluarsaPembelian, findsOneWidget);
});
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment