@@ -28,8 +28,33 @@ void explore() throws SQLException {
28
28
DynamicTestRunnerStatement testRunnerStatement = DynamicTestRunnerStatement
29
29
.forVersion (Version .V3_1_7 , oracleConnection , options , callableStatement );
30
30
31
+ /*
32
+ "ut_runner.run(" +
33
+ "a_paths => ?, " +
34
+ "a_reporters => ?, " +
35
+ "a_color_console => " + colorConsoleStr + ", " +
36
+ "a_coverage_schemes => ?, " +
37
+ "a_source_file_mappings => ?, " +
38
+ "a_test_file_mappings => ?, " +
39
+ "a_include_objects => ?, " +
40
+ "a_exclude_objects => ?, " +
41
+ "a_fail_on_errors => " + failOnErrors + ", " +
42
+ "a_client_character_set => ?, " +
43
+ "a_random_test_order => " + randomExecutionOrder + ", " +
44
+ "a_random_test_order_seed => ?, "+
45
+ "a_tags => ?"+
46
+ "); " +
47
+ "END;";
48
+ */
31
49
assertThat (testRunnerStatement .getSql (), containsString ("a_paths => ?" ));
50
+ verify (callableStatement ).setArray (1 , null );
51
+ verify (oracleConnection ).createOracleArray (CustomTypes .UT_VARCHAR2_LIST , options .pathList .toArray ());
52
+
53
+ assertThat (testRunnerStatement .getSql (), containsString ("a_reporters => ?" ));
54
+ verify (callableStatement ).setArray (2 , null );
55
+ verify (oracleConnection ).createOracleArray (CustomTypes .UT_REPORTERS , options .reporterList .toArray ());
32
56
57
+ assertThat (testRunnerStatement .getSql (), containsString ("a_color_console => (case ? when 1 then true else false)" ));
33
58
verify (callableStatement ).setArray (1 , null );
34
59
verify (oracleConnection ).createOracleArray (CustomTypes .UT_VARCHAR2_LIST , options .pathList .toArray ());
35
60
}
0 commit comments