object MetaFeatureBuilder
Builder which helps to create MetaFeature inter alia by using the MethodCallFormatter defined initially by the Reporter
fun <T, R> create(expect: Expect<T>, description: String, provider: (T) -> R): MetaFeature<R> fun <T, R> create(expect: Expect<T>, description: Translatable, provider: (T) -> R): MetaFeature<R> |
|
fun <T, R> createSubjectBased(expect: Expect<T>, provider: (T) -> MetaFeature<R>): MetaFeature<R>
creates a MetaFeature which is entirely based on the subject (i.e. also the description). |
|
fun <R> f0(expect: Expect<*>, f: KFunction0<R>): MetaFeature<R> |
|
fun <A1, R> f1(expect: Expect<*>, f: KFunction1<A1, R>, a1: A1): MetaFeature<R> |
|
fun <A1, A2, R> f2(expect: Expect<*>, f: KFunction2<A1, A2, R>, a1: A1, a2: A2): MetaFeature<R> |
|
fun <A1, A2, A3, R> f3(expect: Expect<*>, f: KFunction3<A1, A2, A3, R>, a1: A1, a2: A2, a3: A3): MetaFeature<R> |
|
fun <A1, A2, A3, A4, R> f4(expect: Expect<*>, f: KFunction4<A1, A2, A3, A4, R>, a1: A1, a2: A2, a3: A3, a4: A4): MetaFeature<R> |
|
fun <A1, A2, A3, A4, A5, R> f5(expect: Expect<*>, f: KFunction5<A1, A2, A3, A4, A5, R>, a1: A1, a2: A2, a3: A3, a4: A4, a5: A5): MetaFeature<R> |
|
fun <TProperty> property(property: KProperty0<TProperty>): MetaFeature<TProperty> |