intellij-randomness / com.fwdekker.randomness / DummyInsertRepeatAction

DummyInsertRepeatAction

class DummyInsertRepeatAction : DataInsertRepeatAction

Inserts a repeated array of dummy values.

Mostly for testing and demonstration purposes.

Parameters

dummySupplier - generates dummy values to insert

Constructors

<init>

DummyInsertRepeatAction(dummySupplier: (Random) -> String)

Inserts a repeated array of dummy values.

Properties

name

val name: String

The name of the action to display.

Inherited Functions

generateStrings

open fun generateStrings(count: Int): List<String>

Generates a random datum and repeats it count times.