GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Prophet::Test(3) User Contributed Perl Documentation Prophet::Test(3)

Prophet::Test

version 0.751

Sets the subroutine that Prophet should use instead of "Prophet::CLI::Command::edit_text" (as this routine invokes an interactive editor) to $code.

Sets the editor that Proc::InvokeEditor uses.

This should be a non-interactive script found in t/scripts.

Run the given code using Devel::Gladiator.

Returns a path on disk for where $username's replica is stored.

Returns a file:// URI for $USERNAME'S replica (with the correct replica type prefix).

Returns the UUID of the test replica.

Returns the UUID of the test database.

Returns the sequence number of the last change in the test replica.

Run this code block as $username. This routine sets up the %ENV hash so that when we go looking for a repository, we get the user's repo.

Returns the UUID of the given user's test replica.

Returns the UUID of the given user's test database.

Checks that the given code block adds the given number of changes to the test replica. $msg is optional and will be printed with the test if given.

Returns a simple, serialized version of a Prophet::Conflict object suitable for comparison in tests.

The serialized version is a hash reference containing the following keys: meta => { original_source_uuid => 'source_replica_uuid' } records => { 'record_uuid' => { change_type => 'type', props => { propchange_name => { source_old => 'old_val', source_new => 'new_val', target_old => 'target_val', } } }, another_record_uuid' => { change_type => 'type', props => { propchange_name => { source_old => 'old_val', source_new => 'new_val', target_old => 'target_val', } } }, }

Returns a simple, serialized version of a Prophet::ChangeSet object suitable for comparison in tests (a hash).

Run the given command with (optionally) the given args using a new Prophet::CLI object. Returns the standard output of that command in scalar form or, in array context, the STDOUT in scalar form *and* the STDERR in scalar form.

Examples:

    run_command('create', '--type=Foo');

Loads and returns a record object for the record with the given type and uuid.

Runs CODE as alice, bob, charlie or david.

  • Jesse Vincent <jesse@bestpractical.com>
  • Chia-Liang Kao <clkao@bestpractical.com>
  • Christine Spang <christine@spang.cc>

This software is Copyright (c) 2009 by Best Practical Solutions.

This is free software, licensed under:

  The MIT (X11) License

You can make new bug reports, and view existing ones, through the web interface at <https://rt.cpan.org/Public/Dist/Display.html?Name=Prophet>.

  • Alex Vandiver <alexmv@bestpractical.com>
  • Casey West <casey@geeknest.com>
  • Cyril Brulebois <kibi@debian.org>
  • Florian Ragwitz <rafl@debian.org>
  • Ioan Rogers <ioanr@cpan.org>
  • Jonas Smedegaard <dr@jones.dk>
  • Kevin Falcone <falcone@bestpractical.com>
  • Lance Wicks <lw@judocoach.com>
  • Nelson Elhage <nelhage@mit.edu>
  • Pedro Melo <melo@simplicidade.org>
  • Rob Hoelz <rob@hoelz.ro>
  • Ruslan Zakirov <ruz@bestpractical.com>
  • Shawn M Moore <sartak@bestpractical.com>
  • Simon Wistow <simon@thegestalt.org>
  • Stephane Alnet <stephane@shimaore.net>
  • Unknown user <nobody@localhost>
  • Yanick Champoux <yanick@babyl.dyndns.org>
  • franck cuny <franck@lumberjaph.net>
  • robertkrimen <robertkrimen@gmail.com>
  • sunnavy <sunnavy@bestpractical.com>
2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.