[Bps-public-commit] r12229 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Sun May 11 01:13:24 EDT 2008


Author: sartak
Date: Sun May 11 01:13:23 2008
New Revision: 12229

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/Test.pm

Log:
 r55547 at onn:  sartak | 2008-05-11 01:13:08 -0400
 set_editor test function to hide the internals of setting actually the text editor


Modified: Prophet/trunk/lib/Prophet/Test.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Test.pm	(original)
+++ Prophet/trunk/lib/Prophet/Test.pm	Sun May 11 01:13:23 2008
@@ -4,7 +4,7 @@
 package Prophet::Test;
 use base qw/Test::More Exporter/;
 our @EXPORT = qw/as_alice as_bob as_charlie as_david as_user run_ok repo_uri_for run_script run_output_matches replica_last_rev replica_merge_tickets replica_uuid_for fetch_newest_changesets ok_added_revisions replica_uuid
-    serialize_conflict serialize_changeset in_gladiator diag is_script_output run_command
+    serialize_conflict serialize_changeset in_gladiator diag is_script_output run_command set_editor
     /;
 
 use File::Path 'rmtree';
@@ -29,6 +29,10 @@
     };
 };
 
+sub set_editor {
+    $EDIT_TEXT = shift;
+}
+
 sub import_extra {
     my $class = shift;
     my $args  = shift;



More information about the Bps-public-commit mailing list