Skip to content

Commit

Permalink
Fix after testing
Browse files Browse the repository at this point in the history
Signed-off-by: David Kornel <[email protected]>
  • Loading branch information
kornys committed Feb 27, 2024
1 parent ada8dda commit 25a4ecc
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
20 changes: 20 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,26 @@
<artifactId>openshift-client-api</artifactId>
<version>${fabric8.version}</version>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>openshift-client</artifactId>
<version>${fabric8.version}</version>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<version>${fabric8.version}</version>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-model</artifactId>
<version>${fabric8.version}</version>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>generator-annotations</artifactId>
<version>${fabric8.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand Down
12 changes: 12 additions & 0 deletions test-frame-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@
<groupId>io.fabric8</groupId>
<artifactId>openshift-client-api</artifactId>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>openshift-client</artifactId>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
</dependency>
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-model</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
/**
* jUnit5 specific class which listening on test callbacks
*/
public class ResourceManagerContextHandler implements BeforeAllCallback, BeforeEachCallback, AfterAllCallback, AfterEachCallback {
public class ResourceManagerExtension implements BeforeAllCallback, BeforeEachCallback, AfterAllCallback, AfterEachCallback {

@Override
public void beforeAll(ExtensionContext extensionContext) throws Exception {
ResourceManager.getInstance();
ResourceManager.setTestContext(extensionContext);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
/**
* jUnit5 specific class which listening on test callbacks
*/
public class TestVisualSeparator implements BeforeEachCallback, AfterEachCallback {
Logger LOGGER = LoggerFactory.getLogger(TestVisualSeparator.class);
public class TestVisualSeparatorExtension implements BeforeEachCallback, AfterEachCallback {
Logger LOGGER = LoggerFactory.getLogger(TestVisualSeparatorExtension.class);
@Override
public void beforeEach(ExtensionContext extensionContext) throws Exception {
LoggerUtils.logSeparator();
Expand Down

0 comments on commit 25a4ecc

Please sign in to comment.