Skip to content

Commit

Permalink
refactor: Remove test prefix from JUnit 5 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
2 people authored and app committed Feb 5, 2024
1 parent 65191b4 commit b68c430
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ void notNeedToUpgradeMavenCompilerPluginToSupportReleaseTag() {
}

@Test
void testAgentMainPreMainPublicApp() {
void agentMainPreMainPublicApp() {
rewriteRun(
version(
//language=java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void defaults(RecipeSpec spec) {

@DocumentExample
@Test
void testDataSource() {
void dataSource() {
rewriteRun(
//language=java
java(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public void defaults(RecipeSpec spec) {

@DocumentExample
@Test
void testCallableStatement() {
void callableStatement() {
rewriteRun(
//language=java
java(
Expand Down Expand Up @@ -2029,7 +2029,7 @@ public boolean isCloseOnCompletion() {
}

@Test
void testConnectionPoolDataSource() {
void connectionPoolDataSource() {
rewriteRun(
//language=java
java(
Expand Down Expand Up @@ -2119,7 +2119,7 @@ public java.util.logging.Logger getParentLogger() {
}

@Test
void testCommonDataSource() {
void commonDataSource() {
rewriteRun(
//language=java
java(
Expand Down Expand Up @@ -2195,7 +2195,7 @@ public java.util.logging.Logger getParentLogger() {
}

@Test
void testCommonDataSourceSub() {
void commonDataSourceSub() {
rewriteRun(
//language=java
java(
Expand Down Expand Up @@ -2267,7 +2267,7 @@ public java.util.logging.Logger getParentLogger() {
}

@Test
void testOnAbstractClassWithMissingMethod() {
void onAbstractClassWithMissingMethod() {
rewriteRun(
//language=java
java(
Expand Down Expand Up @@ -2307,7 +2307,7 @@ public void setLogWriter(PrintWriter out) throws SQLException {
}

@Test
void testConnection() {
void connection() {
rewriteRun(
spec -> spec.cycles(1).expectedCyclesThatMakeChanges(1),
//language=java
Expand Down Expand Up @@ -2791,7 +2791,7 @@ public void setSchema(java.lang.String schema) throws java.sql.SQLException {
}

@Test
void testDataSource() {
void dataSource() {
rewriteRun(
//language=java
java(
Expand Down Expand Up @@ -2905,7 +2905,7 @@ public java.util.logging.Logger getParentLogger() {
}

@Test
void testJRE7JdbcDriver() {
void jre7JdbcDriver() {
rewriteRun(
//language=java
java(
Expand Down Expand Up @@ -2997,7 +2997,7 @@ public java.util.logging.Logger getParentLogger() {
}

@Test
void testPreparedStatement() {
void preparedStatement() {
rewriteRun(
//language=java
java(
Expand Down

0 comments on commit b68c430

Please sign in to comment.