org.kuali.student.common.test.util
Class ListOfStringTester
java.lang.Object
org.kuali.student.common.test.util.ListOfStringTester
public class ListOfStringTester
- extends Object
Helps create a dynamic
- Author:
- nwright
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListOfStringTester
public ListOfStringTester()
checkExistsAnyOrder
public void checkExistsAnyOrder(List<String> expectedList,
List<String> actualList,
boolean failForExtraElements)
- Verify that the expected elements exist in the actual list.
order is not important
- Parameters:
expectedList
- actualList
- failForExtraElements
- true if we should fail if there are other elements in the actual list.
check
public void check(List<String> expectedList,
List<String> actualList)
dump
public void dump(List<String> expectedList,
List<String> actualList)
dump
public void dump(List<String> list)
generateRandomListOfStringIds
public static List<String> generateRandomListOfStringIds(int length,
int upperBound)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.