Search in sources :

Example 21 with RenamingDelegatingContext

use of android.test.RenamingDelegatingContext in project android-jigsaw-puzzle by julesbond007.

the class ImageDaoTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    RenamingDelegatingContext context = new RenamingDelegatingContext(getContext(), "test_");
    dao = new ImageDaoImpl(context);
}
Also used : RenamingDelegatingContext(android.test.RenamingDelegatingContext) ImageDaoImpl(com.jigdraw.draw.dao.impl.ImageDaoImpl)

Example 22 with RenamingDelegatingContext

use of android.test.RenamingDelegatingContext in project android-jigsaw-puzzle by julesbond007.

the class JigsawServiceTest method setUp.

@Override
public void setUp() throws Exception {
    super.setUp();
    RenamingDelegatingContext context = new RenamingDelegatingContext(getContext(), "test_");
    service = new JigsawServiceImpl(context);
}
Also used : JigsawServiceImpl(com.jigdraw.draw.service.impl.JigsawServiceImpl) RenamingDelegatingContext(android.test.RenamingDelegatingContext)

Aggregations

RenamingDelegatingContext (android.test.RenamingDelegatingContext)22 ComponentName (android.content.ComponentName)4 Intent (android.content.Intent)4 Context (android.content.Context)3 IsolatedContext (android.test.IsolatedContext)2 MockContentResolver (android.test.mock.MockContentResolver)2 MockContext (android.test.mock.MockContext)2 GregorianCalendar (java.util.GregorianCalendar)2 MeetingDAO (net.johnpwood.android.standuptimer.dao.MeetingDAO)2 TeamDAO (net.johnpwood.android.standuptimer.dao.TeamDAO)2 Meeting (net.johnpwood.android.standuptimer.model.Meeting)2 Team (net.johnpwood.android.standuptimer.model.Team)2 ContentProvider (android.content.ContentProvider)1 ImageDaoImpl (com.jigdraw.draw.dao.impl.ImageDaoImpl)1 LongParcelable (com.jigdraw.draw.model.LongParcelable)1 JigsawServiceImpl (com.jigdraw.draw.service.impl.JigsawServiceImpl)1 TestWellSqlConfig (org.wordpress.android.TestWellSqlConfig)1 Dispatcher (org.wordpress.android.fluxc.Dispatcher)1 WellSqlConfig (org.wordpress.android.fluxc.persistence.WellSqlConfig)1 SiteStore (org.wordpress.android.fluxc.store.SiteStore)1