From a3b9c976e4809933786e06dc182c62485cdf5f9c Mon Sep 17 00:00:00 2001
From: Mohamed Metwalli <mohamed.metwalli@sap.com>
Date: Tue, 29 Dec 2020 20:14:27 +0100
Subject: [PATCH] Define custom annotation for tests

---
 .../src/androidTest/java/testhelpers/Screenshot.kt        | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 Corona-Warn-App/src/androidTest/java/testhelpers/Screenshot.kt

diff --git a/Corona-Warn-App/src/androidTest/java/testhelpers/Screenshot.kt b/Corona-Warn-App/src/androidTest/java/testhelpers/Screenshot.kt
new file mode 100644
index 000000000..d152249f0
--- /dev/null
+++ b/Corona-Warn-App/src/androidTest/java/testhelpers/Screenshot.kt
@@ -0,0 +1,8 @@
+package testhelpers
+
+@kotlin.annotation.Retention(AnnotationRetention.RUNTIME)
+@Target(
+    AnnotationTarget.FUNCTION,
+    AnnotationTarget.CLASS
+)
+annotation class Screenshot
-- 
GitLab