/* * (non-Javadoc) * * @see junit.framework.TestCase#setUp() */ @Override protected void setUp() throws Exception { // make sure the cache is cleaned up front to not find items from previous // runs LastFmCache cache = new LastFmCache(); cache.clearCache(); super.setUp(); }
/* (non-Javadoc) * @see org.jajuk.JajukTestCase#setUp() */ @Override protected void setUp() throws Exception { try { // initialize the actions ActionManager.getInstance(); } catch (HeadlessException e) { // this is thrown in automated tests on Hudson/Sonar } super.setUp(); }