|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.labs.minion.test.regression.TestUtils
public class TestUtils
Utility methods for the regression test package.
| Constructor Summary | |
|---|---|
TestUtils()
|
|
| Method Summary | |
|---|---|
static void |
permutations(int k,
java.util.List entryList,
java.lang.String file)
Writes to the given file all possible permutations of k entrys from the given list of entrys. |
static void |
writeEntries(Entry[] entryArray,
java.io.Writer writer)
Prints the given array of entries. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TestUtils()
| Method Detail |
|---|
public static void permutations(int k,
java.util.List entryList,
java.lang.String file)
throws java.io.IOException
k - the size of the resulting permutationentryList - the list of entrys to choose fromfile - the file to write to
java.io.IOException
public static void writeEntries(Entry[] entryArray,
java.io.Writer writer)
throws java.io.IOException
entryArray - the array of entries to print
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||