}
}
public void testVerifyVersions()
throws SQLException {
DerbyVersion server = getServerVersion();
DerbyVersion client = getDriverVersion();
println("server=" + server.toString() + " <-> client=" +
client.toString());
String expS = getSystemProperty("derby.tests.compat.expectedServer");
String expC = getSystemProperty("derby.tests.compat.expectedClient");
assertNotNull("expected server property missing", expS);
assertNotNull("expected client property missing", expC);
DerbyVersion expectedServer = DerbyVersion.parseVersionString(expS);
DerbyVersion expectedClient = DerbyVersion.parseVersionString(expC);
assertEquals("server version mismatch", expectedServer, server);
assertEquals("client version mismatch", expectedClient, client);
}