Class LoggingNTest.TestBase
java.lang.Object
info.ejava.assignments.logging.rentals.LoggingNTest.TestBase
- Direct Known Subclasses:
LoggingNTest.app_debug_profile
,LoggingNTest.repo_only
,LoggingNTest.root_logger
- Enclosing class:
- LoggingNTest
@DirtiesContext
@ExtendWith(org.springframework.boot.test.system.OutputCaptureExtension.class)
@TestInstance(PER_CLASS)
class LoggingNTest.TestBase
extends Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.springframework.boot.CommandLineRunner
protected org.springframework.boot.test.system.CapturedOutput
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
run
(org.springframework.boot.test.system.CapturedOutput output)
-
Field Details
-
appCommand
@Autowired private org.springframework.boot.CommandLineRunner appCommand -
output
protected org.springframework.boot.test.system.CapturedOutput output
-
-
Constructor Details
-
TestBase
TestBase()
-
-
Method Details
-
run
- Throws:
Exception
-