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

    Fields
    Modifier and Type
    Field
    Description
    private org.springframework.boot.CommandLineRunner
     
    protected org.springframework.boot.test.system.CapturedOutput
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    run(org.springframework.boot.test.system.CapturedOutput output)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      @BeforeAll void run(org.springframework.boot.test.system.CapturedOutput output) throws Exception
      Throws:
      Exception