Skip to content

Commit

Permalink
chore: E2E tests refactor (#1169)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood authored Mar 28, 2024
1 parent b83338b commit b2ab647
Show file tree
Hide file tree
Showing 50 changed files with 1,162 additions and 1,946 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package org.eclipse.tractusx.edc.lifecycle;

import org.eclipse.tractusx.edc.tests.TractusxIatpParticipantBase;
import org.eclipse.tractusx.edc.tests.participant.TractusxIatpParticipantBase;

import java.net.URI;
import java.util.HashMap;
Expand All @@ -42,7 +42,7 @@ public Map<String, String> iatpConfiguration(TractusxIatpParticipantBase... othe
}

public static class Builder extends TractusxIatpParticipantBase.Builder<DimParticipant, Builder> {

protected Builder() {
super(new DimParticipant());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

package org.eclipse.tractusx.edc.lifecycle;

import org.eclipse.tractusx.edc.tests.TractusxParticipantBase;
import org.eclipse.tractusx.edc.tests.participant.TractusxParticipantBase;

import java.util.HashMap;
import java.util.Map;
Expand All @@ -29,7 +29,7 @@
* Extension of {@link TractusxParticipantBase} with MIW specific configuration
*/
public class MiwParticipant extends TractusxParticipantBase {

protected String miwUri;
protected String oauth2Uri;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

@DimIntegrationTest
@Disabled
public class DimCatalogTest {
public class DimCatalogIntegrationTest {

protected static final DimParticipant SOKRATES = configureParticipant(SOKRATES_NAME);
protected static final DimParticipant PLATO = configureParticipant(PLATO_NAME);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.eclipse.tractusx.edc.lifecycle.DimParticipant;
import org.eclipse.tractusx.edc.lifecycle.ParticipantRuntime;
import org.eclipse.tractusx.edc.tag.DimIntegrationTest;
import org.eclipse.tractusx.edc.tests.TractusxParticipantBase;
import org.eclipse.tractusx.edc.tests.participant.TractusxParticipantBase;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.extension.RegisterExtension;

Expand All @@ -33,7 +33,7 @@

@DimIntegrationTest
@Disabled
public class DimHttpPullTransferTest extends HttpConsumerPullBaseTest {
public class DimHttpPullTransferIntegrationTest extends HttpConsumerPullBaseTest {

protected static final DimParticipant SOKRATES = configureParticipant(SOKRATES_NAME);
protected static final DimParticipant PLATO = configureParticipant(PLATO_NAME);
Expand All @@ -45,12 +45,12 @@ public class DimHttpPullTransferTest extends HttpConsumerPullBaseTest {
protected static final ParticipantRuntime SOKRATES_RUNTIME = dimRuntime(SOKRATES.getName(), SOKRATES.iatpConfiguration(PLATO));

@Override
protected TractusxParticipantBase plato() {
public TractusxParticipantBase plato() {
return PLATO;
}

@Override
protected TractusxParticipantBase sokrates() {
public TractusxParticipantBase sokrates() {
return SOKRATES;
}
}

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit b2ab647

Please sign in to comment.