File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
plugin-gradle/src/test/java/com/diffplug/gradle/spotless Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 19
19
import static org .junit .jupiter .api .Assertions .assertEquals ;
20
20
import static org .junit .jupiter .api .Assertions .assertTrue ;
21
21
22
+ import org .junit .jupiter .api .Disabled ;
22
23
import org .junit .jupiter .api .Test ;
23
24
import org .owasp .encoder .Encode ;
24
25
26
+ import com .diffplug .spotless .tag .ForLintRefactor ;
27
+
25
28
class BiomeIntegrationTest extends GradleIntegrationHarness {
26
29
/**
27
30
* Tests that biome can be used as a JSON formatting step, using biome 1.8.3
@@ -373,6 +376,8 @@ void failureWhenExeNotFound() throws Exception {
373
376
* @throws Exception When a test failure occurs.
374
377
*/
375
378
@ Test
379
+ @ Disabled
380
+ @ ForLintRefactor
376
381
void failureWhenNotParseable () throws Exception {
377
382
setFile ("build.gradle" ).toLines (
378
383
"plugins {" ,
Original file line number Diff line number Diff line change @@ -62,6 +62,8 @@ void passesIfNoException() throws Exception {
62
62
}
63
63
64
64
@ Test
65
+ @ Disabled
66
+ @ ForLintRefactor
65
67
void anyExceptionShouldFail () throws Exception {
66
68
writeBuild (
67
69
" } // format" ,
@@ -111,6 +113,8 @@ void unlessExemptedByPath() throws Exception {
111
113
}
112
114
113
115
@ Test
116
+ @ Disabled
117
+ @ ForLintRefactor
114
118
void failsIfNeitherStepNorFileExempted () throws Exception {
115
119
writeBuild (
116
120
" ignoreErrorForStep 'nope'" ,
Original file line number Diff line number Diff line change 20
20
import java .io .File ;
21
21
import java .io .IOException ;
22
22
23
+ import org .junit .jupiter .api .Disabled ;
23
24
import org .junit .jupiter .api .Test ;
24
25
26
+ import com .diffplug .spotless .tag .ForLintRefactor ;
27
+
25
28
class KotlinExtensionTest extends GradleIntegrationHarness {
26
29
private static final String HEADER = "// License Header" ;
27
30
private static final String HEADER_WITH_YEAR = "// License Header $YEAR" ;
@@ -167,6 +170,8 @@ void testSetEditorConfigCanOverrideEditorConfigFile() throws IOException {
167
170
}
168
171
169
172
@ Test
173
+ @ Disabled
174
+ @ ForLintRefactor
170
175
void withCustomRuleSetApply () throws IOException {
171
176
setFile ("build.gradle.kts" ).toLines (
172
177
"plugins {" ,
You can’t perform that action at this time.
0 commit comments