This class does not really contain actual tests per se. Rather it can be used to empirically verify the expected log output (see below). In order to see the log output, one would naturally need to ensure that the logger category for this class is enabled at {@code INFO} level.
INFO : org.springframework.test.context.junit4.spr4868.LifecycleBean - initializing INFO : org.springframework.test.context.junit4.spr4868.ExampleTest - beforeAllTests() INFO : org.springframework.test.context.junit4.spr4868.ExampleTest - setUp() INFO : org.springframework.test.context.junit4.spr4868.ExampleTest - test1() INFO : org.springframework.test.context.junit4.spr4868.ExampleTest - tearDown() INFO : org.springframework.test.context.junit4.spr4868.ExampleTest - beforeAllTests() INFO : org.springframework.test.context.junit4.spr4868.ExampleTest - setUp() INFO : org.springframework.test.context.junit4.spr4868.ExampleTest - test2() INFO : org.springframework.test.context.junit4.spr4868.ExampleTest - tearDown() INFO : org.springframework.test.context.junit4.spr4868.LifecycleBean - destroying@author Sam Brannen @since 3.2
|
|