Class LoggingAppendersNTest.appenders_trace_profile

java.lang.Object
info.ejava.assignments.logging.rentals.LoggingAppendersNTest.appenders_trace_profile
Enclosing class:
LoggingAppendersNTest

@Nested @SpringBootTest @DirtiesContext @ActiveProfiles({"appenders","trace"}) @ExtendWith(org.springframework.boot.test.system.OutputCaptureExtension.class) @TestInstance(PER_CLASS) class LoggingAppendersNTest.appenders_trace_profile extends Object
  • Field Details

    • appCommand

      @Autowired private org.springframework.boot.CommandLineRunner appCommand
    • console

      private org.springframework.boot.test.system.CapturedOutput console
    • logfile

      private String logfile
    • startingPos

      private long startingPos
  • Constructor Details

    • appenders_trace_profile

      appenders_trace_profile()
  • Method Details

    • init

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

      @AfterAll void cleanup()
    • logfile_exists

      @Test void logfile_exists()
    • logfile_has_data

      @Test void logfile_has_data() throws IOException
      Throws:
      IOException
    • has_no_repo_logs_in_console

      @Test void has_no_repo_logs_in_console()
    • has_repo_logs_in_logfile

      @Test void has_repo_logs_in_logfile()
    • has_xy_logs_in_console

      @Test void has_xy_logs_in_console()
    • has_xy_logs_in_logfile

      @Test void has_xy_logs_in_logfile()
    • mdc_not_in_console

      @Test void mdc_not_in_console()
    • mdc_in_logfile

      @Test void mdc_in_logfile()
    • line_numbers_in_logfile

      @Test void line_numbers_in_logfile()