Skip to content

Commit

Permalink
Compilefix - and enumare rules explicitely
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Aug 19, 2024
1 parent 62f92c1 commit 9e903db
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
9 changes: 8 additions & 1 deletion rewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,13 @@ recipeList:
- org.openrewrite.staticanalysis.WhileInsteadOfFor
# - org.openrewrite.staticanalysis.WriteOctalValuesAsDecimal

# - org.openrewrite.java.testing.junit5.JUnit5BestPractices -- cannot be used directly, because one recipe is not working (see below)
- org.openrewrite.java.testing.cleanup.AssertLiteralBooleanToFailRecipe
- org.openrewrite.java.testing.cleanup.RemoveTestPrefix
# - org.openrewrite.java.testing.cleanup.TestsShouldNotBePublic -- does not work due to https://github.com/openrewrite/rewrite-testing-frameworks/issues/458
- org.openrewrite.java.testing.junit5.CleanupAssertions
- org.openrewrite.java.testing.junit5.JUnit5BestPractices
- org.openrewrite.java.testing.junit5.AddParameterizedTestAnnotation
- org.openrewrite.java.testing.junit5.RemoveDuplicateTestTemplates
- org.openrewrite.java.testing.junit5.RemoveTryCatchFailBlocks
- org.openrewrite.java.testing.junit5.LifecycleNonPrivate
- org.openrewrite.java.testing.junit5.StaticImports
Original file line number Diff line number Diff line change
Expand Up @@ -157,25 +157,25 @@ void searchByEmptyQueryFindsNothing() throws Exception {
@Test
@Disabled("Year search is currently broken, because the API returns mutliple years.")
@Override
void supportsYearSearch() {
public void supportsYearSearch() {
}

@Test
@Disabled("Year range search is not natively supported by the API, but can be emulated by multiple single year searches.")
@Override
void supportsYearRangeSearch() {
public void supportsYearRangeSearch() {
}

@Test
@Disabled("401 as of 2024-08-18")
@Override
void supportsAuthorSearch() {
public void supportsAuthorSearch() {
}

@Test
@Disabled("401 as of 2024-08-18")
@Override
void supportsJournalSearch() {
public void supportsJournalSearch() {
}

@Test
Expand Down

0 comments on commit 9e903db

Please sign in to comment.