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 26
26
import java .util .List ;
27
27
import java .util .Optional ;
28
28
29
- import org .junit .AfterClass ;
29
+ import org .junit .After ;
30
30
import org .junit .Assert ;
31
- import org .junit .BeforeClass ;
31
+ import org .junit .Before ;
32
32
import org .junit .Test ;
33
33
import org .springframework .jdbc .datasource .SingleConnectionDataSource ;
34
34
import org .utplsql .sqldev .coverage .CodeCoverageReporter ;
40
40
41
41
public class CodeCoverageReporterTest extends AbstractJdbcTest {
42
42
43
- @ BeforeClass
44
- public static void setup () {
43
+ @ Before
44
+ public void setup () {
45
45
StringBuilder sb = new StringBuilder ();
46
46
sb .append ("CREATE OR REPLACE FUNCTION f RETURN INTEGER IS\n " );
47
47
sb .append ("BEGIN\n " );
@@ -118,8 +118,8 @@ public void produceReportAndCloseConnection() {
118
118
content .contains ("<h3>SCOTT.F</h3><h4><span class=\" green\" >100 %</span> lines covered</h4>" ));
119
119
}
120
120
121
- @ AfterClass
122
- public static void teardown () {
121
+ @ After
122
+ public void teardown () {
123
123
executeAndIgnore (jdbcTemplate , "DROP PACKAGE test_f" );
124
124
executeAndIgnore (jdbcTemplate , "DROP FUNCTION f" );
125
125
}
You can’t perform that action at this time.
0 commit comments