@ContextConfiguration(value="classpath:TestSpringBeans.xml") public class PreferenceDaoImplTest extends Object
Constructor and Description |
---|
PreferenceDaoImplTest() |
Modifier and Type | Method and Description |
---|---|
PreferenceDao |
getDao() |
javax.persistence.EntityManager |
getEntityManager() |
void |
preTest() |
void |
setDao(PreferenceDao dao) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
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() |
void |
testSetPreferenceWithBadId() |
void |
testSetPreferenceWithNull() |
public PreferenceDaoImplTest()
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 void testSetPreferenceWithNull()
public void testSetPreferenceWithBadId()
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
entityManager
- the entityManager to setpublic PreferenceDao getDao()
public void setDao(PreferenceDao dao)
dao
- the dao to setCopyright © 2011-2013 The Kuali Foundation. All Rights Reserved.