Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Stockinger committed Aug 8, 2017
1 parent ff583c3 commit 7e8d37e
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions junit5/src/main/java/fi/testee/junit5/TestEEfi.java
Expand Up @@ -38,8 +38,7 @@ public class TestEEfi implements
AfterEachCallback,
AfterAllCallback,
BeforeAllCallback,
BeforeEachCallback,
TestInstancePostProcessor {
BeforeEachCallback {
private static final ExtensionContext.Namespace NS = ExtensionContext.Namespace.create(randomUUID());

@Override
Expand Down Expand Up @@ -68,12 +67,6 @@ public void beforeAll(final ExtensionContext context) throws Exception {
context.getStore(NS).put(TestSetup.class, testSetup);
}

@Override
public void postProcessTestInstance(final Object testInstance, final ExtensionContext context) throws Exception {
final TestSetup testSetup = (TestSetup) context.getStore(NS).get(TestSetup.class);

}

private static Class<?> testClassOf(final ExtensionContext context) {
return context.getTestClass().orElseThrow(() -> new TestEEfiException("No test class found"));
}
Expand Down

0 comments on commit 7e8d37e

Please sign in to comment.