Class LoggingAppendersNTest.appenders_profile

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

@Nested @SpringBootTest @DirtiesContext @ActiveProfiles("appenders") @ExtendWith(org.springframework.boot.test.system.OutputCaptureExtension.class) @TestInstance(PER_CLASS) class LoggingAppendersNTest.appenders_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_profile

      appenders_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_trace_console

      @Test void has_no_trace_console()
    • has_no_debug_console

      @Test void has_no_debug_console()
    • has_no_trace_file

      @Test void has_no_trace_file()
    • has_no_debug_file

      @Test void has_no_debug_file()
    • has_no_repo_logs_in_console

      @Test void has_no_repo_logs_in_console()
    • has_no_repo_logs_in_logfile

      @Test void has_no_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()
    • has_svc_logs_in_console

      @Test void has_svc_logs_in_console()
    • has_svc_logs_in_logfile

      @Test void has_svc_logs_in_logfile()
    • has_no_line_numbers_in_logfile

      @Test void has_no_line_numbers_in_logfile()