class Measurement: YamlFakeDataProvider<Measurement>

FakeDataProvider implementation for YamlCategory.MEASUREMENT category.

Fields

Name Description
protected yamlCategory: YamlCategory

Category for this fake yaml data provider class.

This is the key entry after the faker key in .yml locale file.

For example address.yml file has the following structure:


en:
  faker:
    address:

then the yamlCategory would be YamlCategory.ADDRESS

NB! If the secondaryCategory is NOT set,the dictionary filename should match the yamlCategory name,i.e. the file name should be address.yml for the YamlCategory.ADDRESS.

protected localUniqueDataProvider: LocalUniqueDataProvider<Measurement>

A LocalUniqueDataProvider instance that is used with this unique provider.

val unique: Measurement

An instance of T for generating unique values

Methods

height

fun height(): resolve("height")

ReturnValue

Name Description
resolve("height")

length

fun length(): resolve("length")

ReturnValue

Name Description
resolve("length")

volume

fun volume(): resolve("volume")

ReturnValue

Name Description
resolve("volume")

weight

fun weight(): resolve("weight")

ReturnValue

Name Description
resolve("weight")

metricHeight

fun metricHeight(): resolve("metric_height")

ReturnValue

Name Description
resolve("metric_height")

metricLength

fun metricLength(): resolve("metric_length")

ReturnValue

Name Description
resolve("metric_length")

metricVolume

fun metricVolume(): resolve("metric_volume")

ReturnValue

Name Description
resolve("metric_volume")

metricWeight

fun metricWeight(): resolve("metric_weight")

ReturnValue

Name Description
resolve("metric_weight")