File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
sqldev/src/test/java/org/utplsql/sqldev/test/coverage Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 2626import java .util .List ;
2727import java .util .Optional ;
2828
29- import org .junit .AfterClass ;
29+ import org .junit .After ;
3030import org .junit .Assert ;
31- import org .junit .BeforeClass ;
31+ import org .junit .Before ;
3232import org .junit .Test ;
3333import org .springframework .jdbc .datasource .SingleConnectionDataSource ;
3434import org .utplsql .sqldev .coverage .CodeCoverageReporter ;
4040
4141public class CodeCoverageReporterTest extends AbstractJdbcTest {
4242
43- @ BeforeClass
44- public static void setup () {
43+ @ Before
44+ public void setup () {
4545 StringBuilder sb = new StringBuilder ();
4646 sb .append ("CREATE OR REPLACE FUNCTION f RETURN INTEGER IS\n " );
4747 sb .append ("BEGIN\n " );
@@ -118,8 +118,8 @@ public void produceReportAndCloseConnection() {
118118 content .contains ("<h3>SCOTT.F</h3><h4><span class=\" green\" >100 %</span> lines covered</h4>" ));
119119 }
120120
121- @ AfterClass
122- public static void teardown () {
121+ @ After
122+ public void teardown () {
123123 executeAndIgnore (jdbcTemplate , "DROP PACKAGE test_f" );
124124 executeAndIgnore (jdbcTemplate , "DROP FUNCTION f" );
125125 }
You can’t perform that action at this time.
0 commit comments