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

public void testIsSearchable ( ) { try { assertTrue ( rsmd . isSearchable ( 1 ) ) ; assertTrue ( rsmd . isSearchable ( 2 ) ) ; assertTrue ( rsmd . isSearchable ( 3 ) ) ; } catch ( SQLException e1 ) { fail ( "ResultSetMetaDataTest.isReadOnly" + e1 . getMessage ( ) ) ; e1 . printStackTrace ( ) ; } try { rsmd . isSearchable ( 0 ) ; fail ( "SQLException is not thrown" ) ; } catch ( SQLException e ) { } }
tests fail : always returns false . exceptions fail , feature only partially implemented . missing : test for searchable field .
