Package ca.uhn.fhir.test.utilities
Class LoggingExtension
java.lang.Object
ca.uhn.fhir.test.utilities.LoggingExtension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension
public class LoggingExtension
extends Object
implements org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback
This JUnit rule generates log messages to delineate the start and finish of a JUnit test case and also to note any exceptions
that are thrown.
- Version:
- 1.0.0
- Author:
- Brian Matthews
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterEach(org.junit.jupiter.api.extension.ExtensionContext context) voidbeforeEach(org.junit.jupiter.api.extension.ExtensionContext context)
-
Constructor Details
-
LoggingExtension
public LoggingExtension()
-
-
Method Details
-
afterEach
- Specified by:
afterEachin interfaceorg.junit.jupiter.api.extension.AfterEachCallback
-
beforeEach
- Specified by:
beforeEachin interfaceorg.junit.jupiter.api.extension.BeforeEachCallback
-