File tree Expand file tree Collapse file tree 4 files changed +17
-4
lines changed
src/main/java/com/diffblue/cover/annotations Expand file tree Collapse file tree 4 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 12
12
* express or implied. See the License for the specific language governing
13
13
* permissions and limitations under the License.
14
14
*/
15
-
16
15
package com .diffblue .cover .annotations ;
17
16
18
17
import static com .diffblue .cover .annotations .MockDecision .RECOMMENDED ;
40
39
@ Retention (CLASS )
41
40
@ Target ({PACKAGE , TYPE , METHOD })
42
41
@interface Repeatable {
42
+
43
+ /**
44
+ * @return the repeated {@link InTestsMock} annotations.
45
+ */
43
46
InTestsMock [] value ();
44
47
}
45
48
Original file line number Diff line number Diff line change 12
12
* express or implied. See the License for the specific language governing
13
13
* permissions and limitations under the License.
14
14
*/
15
-
16
15
package com .diffblue .cover .annotations ;
17
16
18
17
import static com .diffblue .cover .annotations .MockDecision .RECOMMENDED ;
40
39
@ Retention (CLASS )
41
40
@ Target ({PACKAGE , TYPE , METHOD })
42
41
@interface Repeatable {
42
+
43
+ /**
44
+ * @return the repeated {@link InTestsMockConstruction} annotations.
45
+ */
43
46
InTestsMockConstruction [] value ();
44
47
}
45
48
Original file line number Diff line number Diff line change 12
12
* express or implied. See the License for the specific language governing
13
13
* permissions and limitations under the License.
14
14
*/
15
-
16
15
package com .diffblue .cover .annotations ;
17
16
18
17
import static com .diffblue .cover .annotations .MockDecision .RECOMMENDED ;
40
39
@ Retention (CLASS )
41
40
@ Target ({PACKAGE , TYPE , METHOD })
42
41
@interface Repeatable {
42
+
43
+ /**
44
+ * @return the repeated {@link InTestsMockStatic} annotations.
45
+ */
43
46
InTestsMockStatic [] value ();
44
47
}
45
48
Original file line number Diff line number Diff line change 12
12
* express or implied. See the License for the specific language governing
13
13
* permissions and limitations under the License.
14
14
*/
15
-
16
15
package com .diffblue .cover .annotations ;
17
16
17
+ /**
18
+ * A decision indicating that a particular annotation indicating that mocking should be required vs
19
+ * recommended vs allowed vs forbidden from mocking.
20
+ */
18
21
public enum MockDecision {
22
+
19
23
/** Mocking is required, other instantiations are not permitted. */
20
24
REQUIRED ,
21
25
You can’t perform that action at this time.
0 commit comments