/** * Assert that the update from {@link #update} has or has not taken place. * This calls {@link #resetDefaultOptions()}, and the next call to {@link #serviceRequest(String...)} * will need to be setup after this call. * @param expected The expected result * @throws IOException */ protected void checkUpdate(boolean expected) throws IOException { resetDefaultOptions(); assertTrue(serviceRequest("query",askIfUpdated).contains(Boolean.toString(expected))); }
@Override public void setUp() throws Exception { super.setUp(); client = new DefaultHttpClient(newInstance()); resetDefaultOptions(); } @Override
/** * Assert that the update from {@link #update} has or has not taken place. * This calls {@link #resetDefaultOptions()}, and the next call to {@link #serviceRequest(String...)} * will need to be setup after this call. * @param expected The expected result * @throws IOException */ protected void checkUpdate(boolean expected) throws IOException { resetDefaultOptions(); assertTrue(serviceRequest("query",askIfUpdated).contains(Boolean.toString(expected))); }
@Override public void setUp() throws Exception { super.setUp(); client = new DefaultHttpClient(newInstance()); resetDefaultOptions(); } @Override