From dfbb04688654552d9173467b70f1a2a3bb10b867 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Tue, 3 Oct 2023 08:32:07 +0200 Subject: [PATCH] fix(nextcloud): Fix coverage for exports Signed-off-by: jld3103 --- packages/nextcloud/bin/generate_exports.dart | 1 + packages/nextcloud/lib/comments.dart | 1 + packages/nextcloud/lib/core.dart | 1 + packages/nextcloud/lib/dashboard.dart | 1 + packages/nextcloud/lib/dav.dart | 1 + packages/nextcloud/lib/files.dart | 1 + packages/nextcloud/lib/files_external.dart | 1 + packages/nextcloud/lib/files_reminders.dart | 1 + packages/nextcloud/lib/files_sharing.dart | 1 + packages/nextcloud/lib/files_trashbin.dart | 1 + packages/nextcloud/lib/files_versions.dart | 1 + packages/nextcloud/lib/news.dart | 1 + packages/nextcloud/lib/notes.dart | 1 + packages/nextcloud/lib/notifications.dart | 1 + packages/nextcloud/lib/provisioning_api.dart | 1 + packages/nextcloud/lib/settings.dart | 1 + packages/nextcloud/lib/sharebymail.dart | 1 + packages/nextcloud/lib/theming.dart | 1 + packages/nextcloud/lib/updatenotification.dart | 1 + packages/nextcloud/lib/uppush.dart | 1 + packages/nextcloud/lib/user_status.dart | 1 + packages/nextcloud/lib/weather_status.dart | 1 + packages/nextcloud/lib/webdav.dart | 1 + 23 files changed, 23 insertions(+) diff --git a/packages/nextcloud/bin/generate_exports.dart b/packages/nextcloud/bin/generate_exports.dart index 63adaa0a..e99e187a 100644 --- a/packages/nextcloud/bin/generate_exports.dart +++ b/packages/nextcloud/bin/generate_exports.dart @@ -31,6 +31,7 @@ void main() { } File('lib/$id.dart').writeAsStringSync(''' +// coverage:ignore-file import 'package:nextcloud/src/api/$id.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/comments.dart b/packages/nextcloud/lib/comments.dart index dfbc410d..17b6b7f7 100644 --- a/packages/nextcloud/lib/comments.dart +++ b/packages/nextcloud/lib/comments.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/comments.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/core.dart b/packages/nextcloud/lib/core.dart index f48993a4..91af885a 100644 --- a/packages/nextcloud/lib/core.dart +++ b/packages/nextcloud/lib/core.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/core.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/dashboard.dart b/packages/nextcloud/lib/dashboard.dart index cf0167e0..907e80aa 100644 --- a/packages/nextcloud/lib/dashboard.dart +++ b/packages/nextcloud/lib/dashboard.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/dashboard.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/dav.dart b/packages/nextcloud/lib/dav.dart index bb6ec898..12563da6 100644 --- a/packages/nextcloud/lib/dav.dart +++ b/packages/nextcloud/lib/dav.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/dav.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/files.dart b/packages/nextcloud/lib/files.dart index 97b070db..7e21e88c 100644 --- a/packages/nextcloud/lib/files.dart +++ b/packages/nextcloud/lib/files.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/files.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/files_external.dart b/packages/nextcloud/lib/files_external.dart index 86a33b72..6bd41852 100644 --- a/packages/nextcloud/lib/files_external.dart +++ b/packages/nextcloud/lib/files_external.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/files_external.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/files_reminders.dart b/packages/nextcloud/lib/files_reminders.dart index 41d1778c..98a63d81 100644 --- a/packages/nextcloud/lib/files_reminders.dart +++ b/packages/nextcloud/lib/files_reminders.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/files_reminders.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/files_sharing.dart b/packages/nextcloud/lib/files_sharing.dart index b156e540..d6b7f6a8 100644 --- a/packages/nextcloud/lib/files_sharing.dart +++ b/packages/nextcloud/lib/files_sharing.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/files_sharing.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/files_trashbin.dart b/packages/nextcloud/lib/files_trashbin.dart index 5b71e034..0e7913d8 100644 --- a/packages/nextcloud/lib/files_trashbin.dart +++ b/packages/nextcloud/lib/files_trashbin.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/files_trashbin.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/files_versions.dart b/packages/nextcloud/lib/files_versions.dart index 36d348d2..499c26e8 100644 --- a/packages/nextcloud/lib/files_versions.dart +++ b/packages/nextcloud/lib/files_versions.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/files_versions.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/news.dart b/packages/nextcloud/lib/news.dart index 559519a7..ed18359d 100644 --- a/packages/nextcloud/lib/news.dart +++ b/packages/nextcloud/lib/news.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/news.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/notes.dart b/packages/nextcloud/lib/notes.dart index 1f2e447e..9acd78f3 100644 --- a/packages/nextcloud/lib/notes.dart +++ b/packages/nextcloud/lib/notes.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/notes.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/notifications.dart b/packages/nextcloud/lib/notifications.dart index 4b4d8145..38c44efb 100644 --- a/packages/nextcloud/lib/notifications.dart +++ b/packages/nextcloud/lib/notifications.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/notifications.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/provisioning_api.dart b/packages/nextcloud/lib/provisioning_api.dart index 050f8d97..91b6a321 100644 --- a/packages/nextcloud/lib/provisioning_api.dart +++ b/packages/nextcloud/lib/provisioning_api.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/provisioning_api.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/settings.dart b/packages/nextcloud/lib/settings.dart index cdd22878..89123f5e 100644 --- a/packages/nextcloud/lib/settings.dart +++ b/packages/nextcloud/lib/settings.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/settings.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/sharebymail.dart b/packages/nextcloud/lib/sharebymail.dart index 0a08a931..33df3dbe 100644 --- a/packages/nextcloud/lib/sharebymail.dart +++ b/packages/nextcloud/lib/sharebymail.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/sharebymail.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/theming.dart b/packages/nextcloud/lib/theming.dart index 29bf633c..a4ac01ee 100644 --- a/packages/nextcloud/lib/theming.dart +++ b/packages/nextcloud/lib/theming.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/theming.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/updatenotification.dart b/packages/nextcloud/lib/updatenotification.dart index 35c2db5b..7514c3ee 100644 --- a/packages/nextcloud/lib/updatenotification.dart +++ b/packages/nextcloud/lib/updatenotification.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/updatenotification.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/uppush.dart b/packages/nextcloud/lib/uppush.dart index afcbe078..c89f02f0 100644 --- a/packages/nextcloud/lib/uppush.dart +++ b/packages/nextcloud/lib/uppush.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/uppush.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/user_status.dart b/packages/nextcloud/lib/user_status.dart index 140c224c..569c7474 100644 --- a/packages/nextcloud/lib/user_status.dart +++ b/packages/nextcloud/lib/user_status.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/user_status.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/weather_status.dart b/packages/nextcloud/lib/weather_status.dart index d1c7fb33..a9366eb9 100644 --- a/packages/nextcloud/lib/weather_status.dart +++ b/packages/nextcloud/lib/weather_status.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/api/weather_status.openapi.dart'; import 'package:nextcloud/src/client.dart'; diff --git a/packages/nextcloud/lib/webdav.dart b/packages/nextcloud/lib/webdav.dart index 0ff111e6..ecce9168 100644 --- a/packages/nextcloud/lib/webdav.dart +++ b/packages/nextcloud/lib/webdav.dart @@ -1,3 +1,4 @@ +// coverage:ignore-file import 'package:nextcloud/src/client.dart'; import 'package:nextcloud/src/webdav/client.dart';