@ContextConfiguration(value="classpath:TestSpringBeans.xml") public class PreferenceServiceImplTest extends Object
Constructor and Description |
---|
PreferenceServiceImplTest() |
Modifier and Type | Method and Description |
---|---|
PreferenceDao |
getDao() |
javax.persistence.EntityManager |
getEntityManager() |
PreferenceService |
getService() |
void |
preTest() |
void |
setDao(PreferenceDao dao) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
void |
setService(PreferenceService service) |
static void |
setUpClass() |
static void |
tearDownClass() |
void |
testFindPreferencesByUsername() |
void |
testFindPreferencesWithEmptyUsername() |
void |
testFindPreferencesWithUsernameAndShortname() |
void |
testFindPreferencesWithWrongUsername() |
void |
testFindPreferencesWithWrongUsernameAndShortname() |
void |
testFindPreferenceWithID() |
void |
testFindPreferenceWithUsernameAndSender() |
void |
testFindPreferenceWithWrongUsernameAndSender() |
void |
testNothing() |
void |
testRemoveNullPreference() |
void |
testRemovePreferenceNotInDatabase() |
void |
testSaveNullPreference() |
void |
testSavePreference() |
public PreferenceServiceImplTest()
public static void setUpClass() throws Exception
Exception
public static void tearDownClass() throws Exception
Exception
public void preTest()
public void testNothing()
public void testFindPreferencesByUsername()
public void testFindPreferencesWithWrongUsername()
public void testFindPreferencesWithEmptyUsername()
public void testFindPreferencesWithUsernameAndShortname()
public void testFindPreferencesWithWrongUsernameAndShortname()
public void testFindPreferenceWithUsernameAndSender()
public void testFindPreferenceWithWrongUsernameAndSender()
public void testFindPreferenceWithID()
public void testSavePreference()
public void testSaveNullPreference()
public void testRemoveNullPreference()
public void testRemovePreferenceNotInDatabase()
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager
- the entityManager to setpublic PreferenceService getService()
public void setService(PreferenceService service)
service
- the service to setpublic PreferenceDao getDao()
public void setDao(PreferenceDao dao)
dao
- the dao to setCopyright © 2011-2013 The Kuali Foundation. All Rights Reserved.