Page MenuHomeGitPull.it
Diviner Tech Docs PhabricatorTestDataGenerator

abstract class PhabricatorTestDataGenerator
Phorge Technical Documentation (Lipsum)

This class is not documented.

Methods

abstract public function getGeneratorName()

This method is not documented.
Return
wild

abstract public function generateObject()

This method is not documented.
Return
wild

final public function setViewer($viewer)

This method is not documented.
Parameters
PhabricatorUser$viewer
Return
wild

final public function getViewer()

This method is not documented.
Return
wild

final public function getGeneratorKey()

This method is not documented.
Return
wild

protected function loadRandomPHID($table)

This method is not documented.
Parameters
$table
Return
wild

protected function loadRandomUser()

This method is not documented.
Return
wild

protected function getLipsumContentSource()

This method is not documented.
Return
wild

protected function roll($n, $d, $bonus)

Roll n dice with d sides each, then add bonus and return the sum.

Parameters
$n
$d
$bonus
Return
wild

protected function newEmptyTransaction()

This method is not documented.
Return
wild

protected function newTransaction($type, $value, $metadata)

This method is not documented.
Parameters
$type
$value
$metadata
Return
wild

public function loadOneRandom($classname)

Get one random object by its PHP class name.

Parameters
class-string$classnamePHP class name.
Return
PhabricatorLiskDAOObject of that class.

final public function loadPhabricatorUserPHID()

Get the PHID of a random Phabricator user.

Return
string

final public function loadPhabricatorUser()

Get a random PhabricatorUser object.

Return
PhabricatorUser