src/test/java/org/embulk/output/oracle/OracleOutputPluginTest.java in embulk-output-oracle-0.4.5 vs src/test/java/org/embulk/output/oracle/OracleOutputPluginTest.java in embulk-output-oracle-0.5.0

- old
+ new

@@ -65,11 +65,11 @@ // Load OracleOutputPluginTestImpl, Oracle JDBC Driver, embulk-output-oracle by another ClassLoader // in order to test for different driver versions. List<URL> urls = new ArrayList<URL>(); - File testRoot = new File(OracleOutputPluginTest.class.getResource("/dummy.txt").toURI()).getParentFile(); + File testRoot = new File(OracleOutputPluginTest.class.getResource("/oracle/").toURI()).getParentFile(); String pluginClassName = "org.embulk.output.OracleOutputPlugin"; URL pluginClassUrl = OracleOutputPluginTest.class.getResource("/" +pluginClassName.replace('.', '/') + ".class"); File root = new File(pluginClassUrl.toURI()).getParentFile().getParentFile().getParentFile().getParentFile(); urls.add(root.toURI().toURL()); @@ -133,10 +133,10 @@ { // cannot test with Oracle 11g JDBC driver for Oracle 12c, // because the driver returns sqlType=1111 for NCHAR/NVARCHAR2, // and ColumnSetterFactory#newCoalesceColumnSetter throws Exception. // even if setting {value_type: string} for NCHAR/NVARCHAR2, - // PreparedStatement#setNull(parameterIndex, sqlType=1111) throws Exception. + // PreparedStatement#setNull(parameterIndex, sqlType=1111) throws Exception. invoke(test12c, "testInsert"); } @Test public void testInsertCreate() throws Exception