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 1212 * express or implied. See the License for the specific language governing
1313 * permissions and limitations under the License.
1414 */
15-
1615package com .diffblue .cover .annotations ;
1716
1817import static com .diffblue .cover .annotations .MockDecision .RECOMMENDED ;
4039 @ Retention (CLASS )
4140 @ Target ({PACKAGE , TYPE , METHOD })
4241 @interface Repeatable {
42+
43+ /**
44+ * @return the repeated {@link InTestsMock} annotations.
45+ */
4346 InTestsMock [] value ();
4447 }
4548
Original file line number Diff line number Diff line change 1212 * express or implied. See the License for the specific language governing
1313 * permissions and limitations under the License.
1414 */
15-
1615package com .diffblue .cover .annotations ;
1716
1817import static com .diffblue .cover .annotations .MockDecision .RECOMMENDED ;
4039 @ Retention (CLASS )
4140 @ Target ({PACKAGE , TYPE , METHOD })
4241 @interface Repeatable {
42+
43+ /**
44+ * @return the repeated {@link InTestsMockConstruction} annotations.
45+ */
4346 InTestsMockConstruction [] value ();
4447 }
4548
Original file line number Diff line number Diff line change 1212 * express or implied. See the License for the specific language governing
1313 * permissions and limitations under the License.
1414 */
15-
1615package com .diffblue .cover .annotations ;
1716
1817import static com .diffblue .cover .annotations .MockDecision .RECOMMENDED ;
4039 @ Retention (CLASS )
4140 @ Target ({PACKAGE , TYPE , METHOD })
4241 @interface Repeatable {
42+
43+ /**
44+ * @return the repeated {@link InTestsMockStatic} annotations.
45+ */
4346 InTestsMockStatic [] value ();
4447 }
4548
Original file line number Diff line number Diff line change 1212 * express or implied. See the License for the specific language governing
1313 * permissions and limitations under the License.
1414 */
15-
1615package com .diffblue .cover .annotations ;
1716
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+ */
1821public enum MockDecision {
22+
1923 /** Mocking is required, other instantiations are not permitted. */
2024 REQUIRED ,
2125
You can’t perform that action at this time.
0 commit comments