|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ref_send.test.Logic
public final class Logic
Test condition operations.
Method Summary | ||
---|---|---|
static Promise<?> |
join(Eventual _,
java.lang.Object... tests)
Fulfills a promise after each listed promise is fulfilled. |
|
static
|
was(T expected)
Creates a when block that compares against an expected value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T> Do<T,Promise<?>> was(T expected)
T
- referent typeexpected
- expected valuepublic static Promise<?> join(Eventual _, java.lang.Object... tests)
_
- eventual operatortests
- each promise to test
|
ref_send API 2.17 defensive programming in Java |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1998-2009 Waterken Inc. under the terms of the MIT X license.