gordonad / powermock

Automatically exported from code.google.com/p/powermock
0 stars 0 forks source link

setup and teardown are not executed when test extends TestCase #47

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When the test class extends TestCase the setUp and TearDown metods are not
executed when running with the PowerMockRunner. A work-around exists (use
the @Before and @After annotations and change the mehtods to public
instread of protected).

Original issue reported on code.google.com by johan.ha...@gmail.com on 28 Oct 2008 at 12:44

GoogleCodeExporter commented 8 years ago

Original comment by johan.ha...@gmail.com on 28 Oct 2008 at 12:44

GoogleCodeExporter commented 8 years ago

Original comment by johan.ha...@gmail.com on 31 Oct 2008 at 8:01

GoogleCodeExporter commented 8 years ago
setUp and tearDown are now executed when test extends TestCase

Original comment by johan.ha...@gmail.com on 5 Nov 2008 at 1:05