#!/usr/bin/perl -wT # vim: ft=xml: #---------------------------------------------------------------------- # heading : Collaboration # description : SUBVERSION_NAVIGATION_DESCRIPTION # navigation : 2500 2600 #---------------------------------------------------------------------- use strict; use warnings; use esmith::FormMagick::Panel::subversion; my $f = esmith::FormMagick::Panel::subversion->new(); $f->display(); =pod =head1 NAME repositories -- add/remove/manage repositories =head2 DESCRIPTION This screen allows the administrator to manage information bays. =begin testing use esmith::FormMagick::Tester; use esmith::TestUtils; use esmith::TestUtils; use esmith::ConfigDB; use esmith::AccountsDB; my $panel = $Original_File; my $ua = esmith::FormMagick::Tester->new(); my $c = esmith::ConfigDB->open(); my $a = esmith::AccountsDB->open(); is (mode($panel), '4750', "Check permissions on script"); ok ($ua->get_panel($panel), "ABOUT TO RUN L10N TESTS"); is ($ua->{status}, 200, "200 OK"); #like($ua->{content}, qr/FORM_TITLE/, "Saw untranslated form title"); ok ($ua->set_language("en"), "Set language to English"); ok ($ua->get_panel($panel), "Get panel"); is ($ua->{status}, 200, "200 OK"); ok ($ua->get_panel($panel), "ABOUT TO TEST CREATING REPOSITORY"); ok ($ua->follow("Click here"), "Follow 'create repository' link"); is ($ua->{status}, 200, "200 OK"); like($ua->{content}, qr/Create a new repository/, "Saw page title"); like($ua->{content}, qr/Brief description/, "Saw description field"); like($ua->{content}, qr/Add/, "Saw add button"); SKIP: { skip 10, "Unsafe!" unless destruction_ok(); ok ($ua->follow("Click here"), "ACTUALLY ADDING A NETWORK"); $ua->field(); $ua->click("Add"); like($ua->{content}, qr/Successfully added repository/, "Saw success message"); ok ($ua->follow("Remove"), "REMOVING NETWORK"); like($ua->{content}, qr/Are you sure/, "Saw confirmation message"); $ua->click("Remove"); like($ua->{content}, qr/Successfully deleted/, "Saw success message"); } =cut __DATA__
FIRST_PAGE_DESCRIPTION ADD_TITLE REMOVE_TITLE REMOVE_DESC