@@ -21,9 +21,6 @@ public class TestRunner {
21
21
private List <String > includeObjects = new ArrayList <>();
22
22
private List <String > excludeObjects = new ArrayList <>();
23
23
24
- public TestRunner () {
25
- }
26
-
27
24
public TestRunner addPath (String path ) {
28
25
this .pathList .add (path );
29
26
return this ;
@@ -84,11 +81,11 @@ public void run(Connection conn) throws SQLException {
84
81
OracleConnection oraConn = conn .unwrap (OracleConnection .class );
85
82
Array pathArray = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .pathList .toArray ());
86
83
Array reporterArray = oraConn .createARRAY (CustomTypes .UT_REPORTERS , this .reporterList .toArray ());
87
- Array coverageSchemes = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .coverageSchemes .toArray ());
88
- Array sourceFiles = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .sourceFiles .toArray ());
89
- Array testFiles = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .testFiles .toArray ());
90
- Array includeObjects = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .includeObjects .toArray ());
91
- Array excludeObjects = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .excludeObjects .toArray ());
84
+ Array coverageSchemesArray = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .coverageSchemes .toArray ());
85
+ Array sourceFilesArray = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .sourceFiles .toArray ());
86
+ Array testFilesArray = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .testFiles .toArray ());
87
+ Array includeObjectsArray = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .includeObjects .toArray ());
88
+ Array excludeObjectsArray = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .excludeObjects .toArray ());
92
89
93
90
CallableStatement callableStatement = null ;
94
91
try {
@@ -101,11 +98,11 @@ public void run(Connection conn) throws SQLException {
101
98
"END;" );
102
99
callableStatement .setArray (1 , pathArray );
103
100
callableStatement .setArray (2 , reporterArray );
104
- callableStatement .setArray (3 , coverageSchemes );
105
- callableStatement .setArray (4 , sourceFiles );
106
- callableStatement .setArray (5 , testFiles );
107
- callableStatement .setArray (6 , includeObjects );
108
- callableStatement .setArray (7 , excludeObjects );
101
+ callableStatement .setArray (3 , coverageSchemesArray );
102
+ callableStatement .setArray (4 , sourceFilesArray );
103
+ callableStatement .setArray (5 , testFilesArray );
104
+ callableStatement .setArray (6 , includeObjectsArray );
105
+ callableStatement .setArray (7 , excludeObjectsArray );
109
106
callableStatement .execute ();
110
107
} finally {
111
108
if (callableStatement != null )
0 commit comments