13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
- package com .diffplug .spotless .maven .java ;
16
+ package com .diffplug .spotless .maven .test ;
17
17
18
18
import org .assertj .core .api .Assertions ;
19
19
import org .junit .jupiter .api .Test ;
@@ -33,7 +33,7 @@ void testEnableDraft() throws Exception {
33
33
" <includeDraft>true</includeDraft>" ,
34
34
"</cleanthat>" );
35
35
36
- runTest ("MultipleMutators.dirty.java " , "MultipleMutators.clean.onlyOptionalIsPresent.java " );
36
+ runTest ("MultipleMutators.dirty.test " , "MultipleMutators.clean.onlyOptionalIsPresent.test " );
37
37
}
38
38
39
39
@ Test
@@ -45,7 +45,7 @@ void testLiteralsFirstInComparisons() throws Exception {
45
45
" </mutators>" ,
46
46
"</cleanthat>" );
47
47
48
- runTest ("LiteralsFirstInComparisons.dirty.java " , "LiteralsFirstInComparisons.clean.java " );
48
+ runTest ("LiteralsFirstInComparisons.dirty.test " , "LiteralsFirstInComparisons.clean.test " );
49
49
}
50
50
51
51
@ Test
@@ -59,7 +59,7 @@ void testMultipleMutators_defaultIsJdk7() throws Exception {
59
59
" </mutators>" ,
60
60
"</cleanthat>" );
61
61
62
- runTest ("MultipleMutators.dirty.java " , "MultipleMutators.clean.onlyLiteralsFirst.java " );
62
+ runTest ("MultipleMutators.dirty.test " , "MultipleMutators.clean.onlyLiteralsFirst.test " );
63
63
}
64
64
65
65
@ Test
@@ -73,7 +73,7 @@ void testMultipleMutators_Jdk11IntroducedOptionalisPresent() throws Exception {
73
73
" </mutators>" ,
74
74
"</cleanthat>" );
75
75
76
- runTest ("MultipleMutators.dirty.java " , "MultipleMutators.clean.java " );
76
+ runTest ("MultipleMutators.dirty.test " , "MultipleMutators.clean.test " );
77
77
}
78
78
79
79
@ Test
@@ -89,7 +89,7 @@ void testExcludeOptionalNotEmpty() throws Exception {
89
89
" </excludedMutators>" ,
90
90
"</cleanthat>" );
91
91
92
- runTest ("MultipleMutators.dirty.java " , "MultipleMutators.clean.onlyLiteralsFirst.java " );
92
+ runTest ("MultipleMutators.dirty.test " , "MultipleMutators.clean.onlyLiteralsFirst.test " );
93
93
}
94
94
95
95
@ Test
@@ -101,7 +101,7 @@ void testIncludeOnlyLiteralsFirstInComparisons() throws Exception {
101
101
" </mutators>" ,
102
102
"</cleanthat>" );
103
103
104
- runTest ("MultipleMutators.dirty.java " , "MultipleMutators.clean.onlyLiteralsFirst.java " );
104
+ runTest ("MultipleMutators.dirty.test " , "MultipleMutators.clean.onlyLiteralsFirst.test " );
105
105
}
106
106
107
107
private void runTest (String dirtyPath , String cleanPath ) throws Exception {
0 commit comments