File tree Expand file tree Collapse file tree 3 files changed +32
-8
lines changed
config/pitest-suppressions
java/com/puppycrawl/tools/checkstyle/checks/javadoc
resources/com/puppycrawl/tools/checkstyle/checks/javadoc/javadocstyle Expand file tree Collapse file tree 3 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 369
369
<lineContent >index += 2;</lineContent >
370
370
</mutation >
371
371
372
- < mutation unstable = " false " >
373
- < sourceFile >JavadocStyleCheck.java</ sourceFile >
374
- < mutatedClass >com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck</ mutatedClass >
375
- < mutatedMethod >getCommentText</ mutatedMethod >
376
- < mutator >org.pitest.mutationtest.engine.gregor.mutators.experimental.NakedReceiverMutator</ mutator >
377
- < description >replaced call to java/lang/String::trim with receiver</ description >
378
- < lineContent >return builder.toString().trim();</ lineContent >
379
- </ mutation >
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
380
381
381
382
382
Original file line number Diff line number Diff line change @@ -781,4 +781,14 @@ public void testJavadocStyleCheck3() throws Exception {
781
781
getPath ("InputJavadocStyleCheck3.java" ),
782
782
expected );
783
783
}
784
+
785
+ @ Test
786
+ public void testJavadocStyleCheck4 () throws Exception {
787
+ final String [] expected = {
788
+ "12: " + getCheckMessage (MSG_NO_PERIOD ),
789
+ };
790
+ verifyWithInlineConfigParser (
791
+ getPath ("InputJavadocStyleCheck5.java" ),
792
+ expected );
793
+ }
784
794
}
Original file line number Diff line number Diff line change
1
+ /*
2
+ JavadocStyle
3
+ endOfSentenceFormat = \n
4
+
5
+
6
+ */
7
+
8
+ package com .puppycrawl .tools .checkstyle .checks .javadoc .javadocstyle ;
9
+
10
+ public class InputJavadocStyleCheck5 {
11
+
12
+ /** Set of all class field names. */
13
+ public String field ; // violation above 'First sentence should end with a period'
14
+ }
You can’t perform that action at this time.
0 commit comments