public void testIsWritable(){
  try {
    assertTrue(rsmd.isWritable(1));
    assertTrue(rsmd.isWritable(2));
    assertTrue(rsmd.isWritable(3));
  }
 catch (  SQLException e1) {
    fail("ResultSetMetaDataTest.isWritable" + e1.getMessage());
    e1.printStackTrace();
  }
  try {
    rsmd.isWritable(0);
    fail("SQLException is not thrown");
  }
 catch (  SQLException e) {
  }
}

public void testIsWritable ( ) { try { assertTrue ( rsmd . isWritable ( 1 ) ) ; assertTrue ( rsmd . isWritable ( 2 ) ) ; assertTrue ( rsmd . isWritable ( 3 ) ) ; } catch ( SQLException e1 ) { fail ( "ResultSetMetaDataTest.isWritable" + e1 . getMessage ( ) ) ; e1 . printStackTrace ( ) ; } try { rsmd . isWritable ( 0 ) ; fail ( "SQLException is not thrown" ) ; } catch ( SQLException e ) { } }
analogous to is readonly . exceptions and tests on non numeric fields fail , failing statements commented out . feature only partially implemented .
