@Test public final void testHostInfoEquals() throws Exception { HostInfo expectedResults = new HostInfo("localhost",31000); TeiidURL url = new TeiidURL("mm: HostInfo actualResults = url.getHostInfo().get(0); assertEquals(expectedResults,actualResults); }
public List<HostInfo> getHostInfo() { return hosts; }
TeiidURL { public List<HostInfo> getHostInfo() { return hosts; } }
TeiidURL { public List<HostInfo> getHostInfo() { return hosts; } TeiidURL(String serverURL);  TeiidURL(String host, int port, boolean secure); }
TeiidURL { public List<HostInfo> getHostInfo() { return hosts; } TeiidURL(String serverURL);  TeiidURL(String host, int port, boolean secure); static boolean isValidServerURL(String serverURL); List<HostInfo> getHostInfo(); String getHosts(); String getPorts(); static int validatePort(String port); static String validatePort(int portNumber); String getAppServerURL(); String toString(); boolean equals(Object obj); int hashCode(); boolean isUsingSSL(); }
TeiidURL { public List<HostInfo> getHostInfo() { return hosts; } TeiidURL(String serverURL);  TeiidURL(String host, int port, boolean secure); static boolean isValidServerURL(String serverURL); List<HostInfo> getHostInfo(); String getHosts(); String getPorts(); static int validatePort(String port); static String validatePort(int portNumber); String getAppServerURL(); String toString(); boolean equals(Object obj); int hashCode(); boolean isUsingSSL(); static final String DOT_DELIMITER; static final String DOUBLE_SLASH_DELIMITER; static final String COMMA_DELIMITER; static final String COLON_DELIMITER; static final String BACKSLASH_DELIMITER; static final String DEFAULT_PROTOCOL; static final String SECURE_PROTOCOL; static final String INVALID_FORMAT_SERVER; }