public class TestLoggerExtension extends Object implements org.junit.jupiter.api.extension.TestWatcher, org.junit.jupiter.api.extension.BeforeEachCallback
Constructor and Description |
---|
TestLoggerExtension() |
Modifier and Type | Method and Description |
---|---|
void |
beforeEach(org.junit.jupiter.api.extension.ExtensionContext context) |
void |
testFailed(org.junit.jupiter.api.extension.ExtensionContext context,
Throwable cause) |
void |
testSuccessful(org.junit.jupiter.api.extension.ExtensionContext context) |
public void beforeEach(org.junit.jupiter.api.extension.ExtensionContext context)
beforeEach
in interface org.junit.jupiter.api.extension.BeforeEachCallback
public void testSuccessful(org.junit.jupiter.api.extension.ExtensionContext context)
testSuccessful
in interface org.junit.jupiter.api.extension.TestWatcher
public void testFailed(org.junit.jupiter.api.extension.ExtensionContext context, Throwable cause)
testFailed
in interface org.junit.jupiter.api.extension.TestWatcher
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.