-
-
Notifications
You must be signed in to change notification settings - Fork 3
FactoryListProperty
class FactoryListProperty<T :
Any
> :
ForgeryProperty
<
List
<T>>
This class implements a ReadOnlyProperty, forging a random list of object with a factory provided to the forge.
T
- the type of the object to forge
clazz
- the class of the type to be forged
FactoryListProperty(clazz:
Class
<T>)
This class implements a ReadOnlyProperty, forging a random list of object with a factory provided to the forge.
T
- the type of the object to forge
clazz
- the class of the type to be forged
fun getForgery(forge:
Forge
):
List
<T>
Inheritdoc
fun <reified T :
Any
> factoryListForgery():
ForgeryProperty
<
List
<T>>
Creates a ReadOnlyProperty that will forge a random list of object with a factory provided to the Forge.
T
- the type of the object to forge
Xavier F. Gouchet – @xgouchet
Distributed under the MIT license. See LICENSE.md for more information.
https://github.com/xgouchet/Elymr
- Home
- Getting Started
- Core Module
- Integrations
- Reference (core)
- Reference (junit4)
- Reference (junit5)
- Reference (spek)