Package berlin.yuna.wiserjunit.model.bdd
Class BddCore
- java.lang.Object
-
- berlin.yuna.wiserjunit.model.bdd.BddCore
-
public class BddCore extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> Bdd<E>and(UncheckedSupplier<E> supplier)static <E> Bdd<E>and(String message, UncheckedSupplier<E> supplier)static <E> Bdd<E>and(String message, E variable)protected static <E> Bdd<E>bdd(Bdd.BddType type, E variable)protected static <E> Bdd<E>bdd(Bdd.BddType type, String message, E variable)protected static <F> Bdd<F>bddSupplier(Bdd.BddType type, String message, UncheckedSupplier<F> function)static <E> Bdd<E>but(UncheckedSupplier<E> supplier)static <E> Bdd<E>but(E variable)static <E> Bdd<E>but(String message, UncheckedSupplier<E> supplier)static <E> Bdd<E>but(String message, E variable)static <E> Bdd<E>feature(String message)protected static StringformatBdd(int emoji, Bdd<?> bdd)protected static List<Bdd<?>>getParents(Bdd<?> bdd)static <E> Bdd<E>given(UncheckedSupplier<E> supplier)static <E> Bdd<E>given(E variable)static <E> Bdd<E>given(String message, UncheckedSupplier<E> supplier)static <E> Bdd<E>given(String message, E variable)static <T> Bdd<T>handleHamcrestMatcher(Bdd<T> result, Iterable<org.hamcrest.Matcher<?>> matchers, Object input)static RuntimeExceptionhandleUnchecked(Exception t, Error e, Function<Exception,RuntimeException> handler)static BddExceptionrenderException(Bdd<?> bdd, String message)static BddExceptionrenderException(Bdd<?> bdd, String suffix, Throwable throwable)static BddExceptionrenderException(Bdd<?> bdd, Throwable throwable)static <E> Bdd<E>summary(String message)static <E> Bdd<E>then(UncheckedSupplier<E> supplier)static <E> Bdd<E>then(E variable)static <E> Bdd<E>then(String message, UncheckedSupplier<E> supplier)static <E> Bdd<E>then(String message, E variable)static <E> Bdd<E>when(UncheckedSupplier<E> supplier)static <E> Bdd<E>when(E variable)static <E> Bdd<E>when(String message, UncheckedSupplier<E> supplier)static <E> Bdd<E>when(String message, E variable)static <E> Bdd<E>where(UncheckedSupplier<E> supplier)static <E> Bdd<E>where(E variable)static <E> Bdd<E>where(String message, UncheckedSupplier<E> supplier)static <E> Bdd<E>where(String message, E variable)
-
-
-
Method Detail
-
given
public static <E> Bdd<E> given(E variable)
-
given
public static <E> Bdd<E> given(UncheckedSupplier<E> supplier)
-
given
public static <E> Bdd<E> given(String message, UncheckedSupplier<E> supplier)
-
and
public static <E> Bdd<E> and(UncheckedSupplier<E> supplier)
-
and
public static <E> Bdd<E> and(String message, UncheckedSupplier<E> supplier)
-
but
public static <E> Bdd<E> but(E variable)
-
but
public static <E> Bdd<E> but(UncheckedSupplier<E> supplier)
-
but
public static <E> Bdd<E> but(String message, UncheckedSupplier<E> supplier)
-
when
public static <E> Bdd<E> when(E variable)
-
when
public static <E> Bdd<E> when(UncheckedSupplier<E> supplier)
-
when
public static <E> Bdd<E> when(String message, UncheckedSupplier<E> supplier)
-
then
public static <E> Bdd<E> then(E variable)
-
then
public static <E> Bdd<E> then(UncheckedSupplier<E> supplier)
-
then
public static <E> Bdd<E> then(String message, UncheckedSupplier<E> supplier)
-
where
public static <E> Bdd<E> where(E variable)
-
where
public static <E> Bdd<E> where(UncheckedSupplier<E> supplier)
-
where
public static <E> Bdd<E> where(String message, UncheckedSupplier<E> supplier)
-
renderException
public static BddException renderException(Bdd<?> bdd, Throwable throwable)
-
renderException
public static BddException renderException(Bdd<?> bdd, String message)
-
renderException
public static BddException renderException(Bdd<?> bdd, String suffix, Throwable throwable)
-
bdd
protected static <E> Bdd<E> bdd(Bdd.BddType type, E variable)
-
bdd
protected static <E> Bdd<E> bdd(Bdd.BddType type, String message, E variable)
-
bddSupplier
protected static <F> Bdd<F> bddSupplier(Bdd.BddType type, String message, UncheckedSupplier<F> function)
-
handleHamcrestMatcher
public static <T> Bdd<T> handleHamcrestMatcher(Bdd<T> result, Iterable<org.hamcrest.Matcher<?>> matchers, Object input)
-
handleUnchecked
public static RuntimeException handleUnchecked(Exception t, Error e, Function<Exception,RuntimeException> handler)
-
-