@Test void testGetMajorVersion() throws Exception { assertEquals(1, DriverManager.getDriver("jdbc:environment:0").getMajorVersion()); }
@Override public int getMajorVersion() { return 1; }
EnvironmentDriver implements Driver { @Override public int getMajorVersion() { return 1; } }
EnvironmentDriver implements Driver { @Override public int getMajorVersion() { return 1; } EnvironmentDriver(); }
EnvironmentDriver implements Driver { @Override public int getMajorVersion() { return 1; } EnvironmentDriver(); @Override Connection connect(String url, Properties info); @Override boolean acceptsURL(String url); @Override DriverPropertyInfo[] getPropertyInfo(String url, Properties info); @Override int getMajorVersion(); @Override int getMinorVersion(); @Override boolean jdbcCompliant(); @Override Logger getParentLogger(); }
EnvironmentDriver implements Driver { @Override public int getMajorVersion() { return 1; } EnvironmentDriver(); @Override Connection connect(String url, Properties info); @Override boolean acceptsURL(String url); @Override DriverPropertyInfo[] getPropertyInfo(String url, Properties info); @Override int getMajorVersion(); @Override int getMinorVersion(); @Override boolean jdbcCompliant(); @Override Logger getParentLogger();  }