Last active
January 23, 2019 16:17
-
-
Save zawadz88/0540c36ac7f96d4a00df20496db77336 to your computer and use it in GitHub Desktop.
Custom annotation
This file contains hidden or 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
| package com.stepstone.base.test.runner.annotation | |
| /** | |
| * Used for narrowing down on which brands any given test/test suite should be executed. | |
| * | |
| * @see com.stepstone.base.test.runner.filter.FlavorFilter | |
| */ | |
| @Target(AnnotationTarget.FUNCTION, AnnotationTarget.CLASS) | |
| @Retention(AnnotationRetention.RUNTIME) | |
| annotation class TestFilter( | |
| val filters: Array<String> = [ | |
| FLAVOR_1, FLAVOR_2, FLAVOR_3, FLAVOR_4], | |
| val notFilters: Array<String> = []) | |
| const val FLAVOR_1 = "flavor1" | |
| const val FLAVOR_2 = "flavor2" | |
| const val FLAVOR_3 = "flavor3" | |
| const val FLAVOR_4 = "flavor4" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment