|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.test.Utils
public class Utils
The class provides utility methods for Rio tests
| Constructor Summary | |
|---|---|
Utils()
|
|
| Method Summary | |
|---|---|
static void |
assertEqualContents(Collection c1,
Collection c2)
Asserts that two collections have equal contents. |
static void |
assertSameContents(Collection c1,
Collection c2)
Asserts that two collections have the same contents. |
static void |
checkSecurityPolicy()
|
static void |
close(WatchDataSource dataSource)
Calls the close() method on a WatchDataSource
proxy, ignoring all exceptions. |
static String |
getRioHome()
|
static String |
getTestClassDirectory()
|
static void |
setEnvironment()
|
static void |
sleep(long millis)
Causes the currently executing thread to sleep (temporarily cease execution) for the specified number of milliseconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Utils()
| Method Detail |
|---|
public static void setEnvironment()
public static void checkSecurityPolicy()
public static String getRioHome()
public static String getTestClassDirectory()
public static void close(WatchDataSource dataSource)
close() method on a WatchDataSource
proxy, ignoring all exceptions.
dataSource - the object on which to call close()public static void sleep(long millis)
millis - the length of time to sleep in milliseconds
public static void assertSameContents(Collection c1,
Collection c2)
c1 - Collectionc2 - Collection
public static void assertEqualContents(Collection c1,
Collection c2)
c1 - Collectionc2 - Collection
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||