@Test public void testCanRemove() throws Exception { System.out.println("canRemove"); HttpSimpleTableControl instance = new HttpSimpleTableControl(); assertTrue(instance.canRemove()); instance.startHttpSimpleTable(); assertFalse(instance.canRemove()); instance.stopHttpSimpleTable(); assertTrue(instance.canRemove()); }
@Override public boolean canRemove() { return null == server; }
HttpSimpleTableControl extends AbstractTestElement { @Override public boolean canRemove() { return null == server; } }
HttpSimpleTableControl extends AbstractTestElement { @Override public boolean canRemove() { return null == server; } HttpSimpleTableControl(); }
HttpSimpleTableControl extends AbstractTestElement { @Override public boolean canRemove() { return null == server; } HttpSimpleTableControl(); void setPort(String port); int getPort(); String getPortString(); boolean getTimestamp(); void setTimestamp(boolean timestamp); String getDataDir(); void setDataDir(String dataDir); void startHttpSimpleTable(); void stopHttpSimpleTable(); @Override boolean canRemove(); boolean isServerAlive(); }
HttpSimpleTableControl extends AbstractTestElement { @Override public boolean canRemove() { return null == server; } HttpSimpleTableControl(); void setPort(String port); int getPort(); String getPortString(); boolean getTimestamp(); void setTimestamp(boolean timestamp); String getDataDir(); void setDataDir(String dataDir); void startHttpSimpleTable(); void stopHttpSimpleTable(); @Override boolean canRemove(); boolean isServerAlive(); static final int DEFAULT_PORT; static final String DEFAULT_PORT_S; static final String DEFAULT_DATA_DIR; static final boolean DEFAULT_TIMESTAMP; static final String DEFAULT_TIMESTAMP_S; static final String DEFAULT_LOG_LEVEL; static final String PORT; static final String DATA_DIR; static final String TIMESTAMP; }