App::KGB::Client::Fake3pm
Fake kgb client
Usage
use App::KGB::Client::Fake;my $client = App::KGB::Client::Fake(# common App::KGB::Client parametersrepo_id => 'my-repo',...);$client->process;
Overview
App::KGB::Client::Fake generates a fake commit. It is useful when testing client-server communication separately from SCM setup. See kgb-client(1)'s "--fake" option.
Constructor
new ()
Standard constructor. Accepts no arguments.
Fields
None.
Methods
- describe_commit
-
The first time this method is called, it returns an instance of App::KGB::Commit containing random information.
All subsequential invocations return
undef.
Releases
6 releases since Debian 8 (Jessie); the text changed 5 times.