コード例 #1
0
  public void test_getURL() throws Exception {
    resultSet.next();

    resultSet.getURL(1);
    resultSet.getURL("1");

    {
      SQLException error = null;
      try {
        resultSet.getURL(0);
      } catch (SQLException ex) {
        error = ex;
      }
      Assert.assertNotNull(error);
    }

    {
      SQLException error = null;
      try {
        resultSet.getURL("0");
      } catch (SQLException ex) {
        error = ex;
      }
      Assert.assertNotNull(error);
    }
  }