1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 package org.mozilla.fenix.utils
7 // Annotations for testing.
10 * Annotate a class with [OpenClass] to open a class for mocking purposes while keeping it final in release builds
12 @Target(AnnotationTarget.ANNOTATION_CLASS)
13 annotation class OpenClass
16 * Annotate a class with [Mockable] to make it extensible in debug builds
19 @Target(AnnotationTarget.CLASS)
20 annotation class Mockable