org.kuali.student.enrollment.test.util
Class CrudInfoTester
java.lang.Object
org.kuali.student.enrollment.test.util.CrudInfoTester
public class CrudInfoTester
- extends Object
This class is a helper class for simplifying how CRUD tests can be written.
- Author:
- Kuali Student Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CrudInfoTester
public CrudInfoTester(String principalId,
String principalId2,
ContextInfo contextInfo)
CrudInfoTester
public CrudInfoTester()
getContextInfo
public ContextInfo getContextInfo()
setContextInfo
public void setContextInfo(ContextInfo contextInfo)
getPrincipalId
public String getPrincipalId()
setPrincipalId
public void setPrincipalId(String principalId)
getPrincipalId2
public String getPrincipalId2()
setPrincipalId2
public void setPrincipalId2(String principalId2)
getAttributeTester
public AttributeTester getAttributeTester()
setAttributeTester
public void setAttributeTester(AttributeTester attributeTester)
getMetaTester
public MetaTester getMetaTester()
setMetaTester
public void setMetaTester(MetaTester metaTester)
getListOfStringTester
public ListOfStringTester getListOfStringTester()
setListOfStringTester
public void setListOfStringTester(ListOfStringTester listOfStringTester)
getEntityInfoTester
public EntityInfoTester getEntityInfoTester()
setEntityInfoTester
public void setEntityInfoTester(EntityInfoTester entityInfoTester)
getIdEntityTester
public IdEntityTester getIdEntityTester()
setIdEntityTester
public void setIdEntityTester(IdEntityTester idEntityTester)
getRichTextTester
public RichTextTester getRichTextTester()
setRichTextTester
public void setRichTextTester(RichTextTester richTextTester)
initializeInfoForTestCreate
public void initializeInfoForTestCreate(EntityInfo expected,
String typeKey,
String stateKey)
throws Exception
- Throws:
Exception
testCreate
public void testCreate(EntityInfo expected,
EntityInfo actual)
throws Exception
- Throws:
Exception
initializeInfoForTestRead
public void initializeInfoForTestRead(EntityInfo expected)
throws Exception
- Throws:
Exception
testRead
public void testRead(EntityInfo expected,
EntityInfo actual)
throws Exception
- Throws:
Exception
initializeInfoForTestUpdate
public void initializeInfoForTestUpdate(EntityInfo expected,
String newStateKey)
throws Exception
- Throws:
Exception
testUpdate
public void testUpdate(EntityInfo expected,
EntityInfo actual)
throws Exception
- Throws:
Exception
testDelete
public void testDelete(EntityInfo expected,
EntityInfo actual,
StatusInfo deleteStatus)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.