Skip to content

Commit

Permalink
refactor: make the annotation name for PostgreSQL tests consistent wi…
Browse files Browse the repository at this point in the history
…th the tag (#4005)

Signed-off-by: Masatake Iwasaki <[email protected]>
  • Loading branch information
iwasakims authored Mar 18, 2024
1 parent 39089d1 commit ae671e1
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
@IntegrationTest
@Testcontainers
@Tag("PostgresqlIntegrationTest")
public @interface PostgresqlDbIntegrationTest {
public @interface PostgresqlIntegrationTest {
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import jakarta.json.Json;
import jakarta.json.JsonObject;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.annotations.PostgresqlDbIntegrationTest;
import org.eclipse.edc.junit.annotations.PostgresqlIntegrationTest;
import org.jetbrains.annotations.NotNull;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Nested;
Expand Down Expand Up @@ -48,7 +48,7 @@ class InMemory extends Tests implements InMemoryRuntimes {
}

@Nested
@PostgresqlDbIntegrationTest
@PostgresqlIntegrationTest
class Postgres extends Tests implements PostgresRuntimes {

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import jakarta.json.Json;
import jakarta.json.JsonObject;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.annotations.PostgresqlDbIntegrationTest;
import org.eclipse.edc.junit.annotations.PostgresqlIntegrationTest;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Nested;
Expand Down Expand Up @@ -47,7 +47,7 @@ class InMemory extends Tests implements InMemoryRuntimes {
}

@Nested
@PostgresqlDbIntegrationTest
@PostgresqlIntegrationTest
class Postgres extends Tests implements PostgresRuntimes {

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import io.restassured.http.ContentType;
import jakarta.json.JsonObjectBuilder;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.annotations.PostgresqlDbIntegrationTest;
import org.eclipse.edc.junit.annotations.PostgresqlIntegrationTest;
import org.eclipse.edc.junit.extensions.EdcRuntimeExtension;
import org.eclipse.edc.spi.asset.AssetIndex;
import org.eclipse.edc.spi.types.domain.DataAddress;
Expand Down Expand Up @@ -56,7 +56,7 @@ class InMemory extends Tests implements InMemoryRuntime {
}

@Nested
@PostgresqlDbIntegrationTest
@PostgresqlIntegrationTest
class Postgres extends Tests implements PostgresRuntime {

Postgres() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import org.eclipse.edc.connector.policy.spi.PolicyDefinition;
import org.eclipse.edc.connector.policy.spi.store.PolicyDefinitionStore;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.annotations.PostgresqlDbIntegrationTest;
import org.eclipse.edc.junit.annotations.PostgresqlIntegrationTest;
import org.eclipse.edc.junit.extensions.EdcRuntimeExtension;
import org.eclipse.edc.policy.model.Policy;
import org.eclipse.edc.spi.asset.AssetIndex;
Expand Down Expand Up @@ -55,7 +55,7 @@ class InMemory extends Tests implements InMemoryRuntime {
}

@Nested
@PostgresqlDbIntegrationTest
@PostgresqlIntegrationTest
class Postgres extends Tests implements PostgresRuntime {

Postgres() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.eclipse.edc.connector.contract.spi.negotiation.store.ContractNegotiationStore;
import org.eclipse.edc.connector.contract.spi.types.negotiation.ContractNegotiation;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.annotations.PostgresqlDbIntegrationTest;
import org.eclipse.edc.junit.annotations.PostgresqlIntegrationTest;
import org.eclipse.edc.junit.extensions.EdcRuntimeExtension;
import org.eclipse.edc.policy.model.Policy;
import org.eclipse.edc.spi.types.domain.agreement.ContractAgreement;
Expand Down Expand Up @@ -50,7 +50,7 @@ class InMemory extends Tests implements InMemoryRuntime {
}

@Nested
@PostgresqlDbIntegrationTest
@PostgresqlIntegrationTest
class Postgres extends Tests implements PostgresRuntime {

Postgres() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.eclipse.edc.connector.contract.spi.offer.store.ContractDefinitionStore;
import org.eclipse.edc.connector.contract.spi.types.offer.ContractDefinition;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.annotations.PostgresqlDbIntegrationTest;
import org.eclipse.edc.junit.annotations.PostgresqlIntegrationTest;
import org.eclipse.edc.junit.extensions.EdcRuntimeExtension;
import org.eclipse.edc.sql.testfixtures.PostgresqlEndToEndInstance;
import org.junit.jupiter.api.BeforeAll;
Expand Down Expand Up @@ -57,7 +57,7 @@ class InMemory extends Tests implements InMemoryRuntime {
}

@Nested
@PostgresqlDbIntegrationTest
@PostgresqlIntegrationTest
class Postgres extends Tests implements PostgresRuntime {

Postgres() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.eclipse.edc.connector.contract.spi.types.negotiation.ContractNegotiation;
import org.eclipse.edc.connector.contract.spi.types.negotiation.ContractNegotiationStates;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.annotations.PostgresqlDbIntegrationTest;
import org.eclipse.edc.junit.annotations.PostgresqlIntegrationTest;
import org.eclipse.edc.junit.extensions.EdcRuntimeExtension;
import org.eclipse.edc.policy.model.Policy;
import org.eclipse.edc.spi.types.domain.agreement.ContractAgreement;
Expand Down Expand Up @@ -67,7 +67,7 @@ class InMemory extends Tests implements InMemoryRuntime {
}

@Nested
@PostgresqlDbIntegrationTest
@PostgresqlIntegrationTest
class Postgres extends Tests implements PostgresRuntime {

Postgres() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import org.eclipse.edc.connector.policy.spi.PolicyDefinition;
import org.eclipse.edc.connector.policy.spi.store.PolicyDefinitionStore;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.annotations.PostgresqlDbIntegrationTest;
import org.eclipse.edc.junit.annotations.PostgresqlIntegrationTest;
import org.eclipse.edc.junit.extensions.EdcRuntimeExtension;
import org.eclipse.edc.policy.model.Policy;
import org.eclipse.edc.sql.testfixtures.PostgresqlEndToEndInstance;
Expand Down Expand Up @@ -59,7 +59,7 @@ class InMemory extends Tests implements InMemoryRuntime {
}

@Nested
@PostgresqlDbIntegrationTest
@PostgresqlIntegrationTest
class Postgres extends Tests implements PostgresRuntime {

Postgres() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import org.eclipse.edc.connector.transfer.spi.types.TransferProcess;
import org.eclipse.edc.jsonld.util.JacksonJsonLd;
import org.eclipse.edc.junit.annotations.EndToEndTest;
import org.eclipse.edc.junit.annotations.PostgresqlDbIntegrationTest;
import org.eclipse.edc.junit.annotations.PostgresqlIntegrationTest;
import org.eclipse.edc.junit.extensions.EdcRuntimeExtension;
import org.eclipse.edc.spi.types.domain.DataAddress;
import org.eclipse.edc.spi.types.domain.callback.CallbackAddress;
Expand Down Expand Up @@ -68,7 +68,7 @@ class InMemory extends Tests implements InMemoryRuntime {
}

@Nested
@PostgresqlDbIntegrationTest
@PostgresqlIntegrationTest
class Postgres extends Tests implements PostgresRuntime {

Postgres() {
Expand Down

0 comments on commit ae671e1

Please sign in to comment.