This repository has been archived by the owner on Jan 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Issues, Layer, Tag, Tags annotations for Allure Server. (#50)
- Loading branch information
1 parent
03df03c
commit 7cd0244
Showing
5 changed files
with
101 additions
and
15 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
allure-android-commons/src/main/kotlin/io/qameta/allure/android/annotations/Issues.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.qameta.allure.android.annotations | ||
|
||
|
||
import java.lang.annotation.Inherited | ||
|
||
/** | ||
* Wrapper annotation for [Issue]. | ||
*/ | ||
@Inherited | ||
@MustBeDocumented | ||
@Retention(AnnotationRetention.RUNTIME) | ||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE) | ||
annotation class Issues(vararg val value: Issue) |
12 changes: 12 additions & 0 deletions
12
allure-android-commons/src/main/kotlin/io/qameta/allure/android/annotations/Layer.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.qameta.allure.android.annotations | ||
|
||
import java.lang.annotation.Inherited | ||
|
||
/** | ||
* Used to set layer for tests. | ||
*/ | ||
@Inherited | ||
@MustBeDocumented | ||
@Retention(AnnotationRetention.RUNTIME) | ||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE) | ||
annotation class Layer(val value: String) |
12 changes: 12 additions & 0 deletions
12
allure-android-commons/src/main/kotlin/io/qameta/allure/android/annotations/Tag.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.qameta.allure.android.annotations | ||
|
||
import java.lang.annotation.Inherited | ||
|
||
/** | ||
* Used to set tag for tests. | ||
*/ | ||
@Inherited | ||
@MustBeDocumented | ||
@Retention(AnnotationRetention.RUNTIME) | ||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE) | ||
annotation class Tag(val value: String) |
12 changes: 12 additions & 0 deletions
12
allure-android-commons/src/main/kotlin/io/qameta/allure/android/annotations/Tags.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.qameta.allure.android.annotations | ||
|
||
import java.lang.annotation.Inherited | ||
|
||
/** | ||
* Wrapper annotation for [Tag]. | ||
*/ | ||
@Inherited | ||
@MustBeDocumented | ||
@Retention(AnnotationRetention.RUNTIME) | ||
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.CLASS, AnnotationTarget.FILE) | ||
annotation class Tags(vararg val value: Tag) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters