@@ -21,9 +21,6 @@ public class TestRunner {
2121 private List <String > includeObjects = new ArrayList <>();
2222 private List <String > excludeObjects = new ArrayList <>();
2323
24- public TestRunner () {
25- }
26-
2724 public TestRunner addPath (String path ) {
2825 this .pathList .add (path );
2926 return this ;
@@ -84,11 +81,11 @@ public void run(Connection conn) throws SQLException {
8481 OracleConnection oraConn = conn .unwrap (OracleConnection .class );
8582 Array pathArray = oraConn .createARRAY (CustomTypes .UT_VARCHAR2_LIST , this .pathList .toArray ());
8683 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 ());
9289
9390 CallableStatement callableStatement = null ;
9491 try {
@@ -101,11 +98,11 @@ public void run(Connection conn) throws SQLException {
10198 "END;" );
10299 callableStatement .setArray (1 , pathArray );
103100 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 );
109106 callableStatement .execute ();
110107 } finally {
111108 if (callableStatement != null )
0 commit comments