Skip to content
Permalink
Browse files

Code cleanup

  • Loading branch information...
Alex Stockinger
Alex Stockinger committed Aug 8, 2017
1 parent ff583c3 commit 7e8d37e3ae8d47acdba23ec0362a88a9967094e9
Showing with 1 addition and 8 deletions.
  1. +1 −8 junit5/src/main/java/fi/testee/junit5/TestEEfi.java
@@ -38,8 +38,7 @@
AfterEachCallback,
AfterAllCallback,
BeforeAllCallback,
BeforeEachCallback,
TestInstancePostProcessor {
BeforeEachCallback {
private static final ExtensionContext.Namespace NS = ExtensionContext.Namespace.create(randomUUID());

@Override
@@ -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"));
}

0 comments on commit 7e8d37e

Please sign in to comment.
You can’t perform that action at this time.