Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

arch::test::framework(3pm) [debian man page]

Arch::Test::Framework(3pm)				User Contributed Perl Documentation				Arch::Test::Framework(3pm)

NAME
Arch::Test::Framework - A test framework for Arch-Perl SYNOPSIS
use Arch::Test::Framework; my $fw = Arch::Test::Framework->new; my $archive = $fw->make_archive; my $version = $archive->make_version(); my $tree = $fw->make_tree($version); # # do something with $tree # $tree->import('initial import'); DESCRIPTION
Arch::Test::Framework is a framework to quickly generate testing data (archives, versions, trees, changesets, etc) for arch-perl unit tests. METHODS
new, arch_uid, home_dir, library_dir, archives_dir, trees_dir, make_archive, make_category, make_branch, make_version, make_tree. new [%args] Create a new arch-perl test environment. Valid keys for %args are home to specify an existing test environment to reuse, library to specify a different revision library path, archives to specify a different archives directory, and trees to specify a differente project tree directory. The default values are "$home/library", "$home/archives", and "$home/trees" respectively. A different arch user id can be selected with the userid key, the default is "Arch Perl Test <arch-perl-test@example.com>". arch_uid home_dir library_dir archives_dir trees_dir These methods return the environment parameters as initialized by new. make_archive [archive_name] Create a new archive in the archives directory. If archive_name is not specified a unique name is generated. The archive name is returned. Returns an Arch::Test::Archive reference for the archive. make_tree version [name] Create and initialize ("tla init-tree") a new project tree for version. I name is not specified, a unique identifier will be generated. Returns an Arch::Test::Tree reference for the project tree. AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel). Enno Cramer (uebergeek@web.de--2003/arch-perl--devel). perl v5.10.1 2005-03-28 Arch::Test::Framework(3pm)

Check Out this Related Man Page

Arch(3pm)						User Contributed Perl Documentation						 Arch(3pm)

NAME
Arch - GNU Arch Perl library SYNOPSIS
use Arch 0.5.2; # perldoc Arch # axp man Arch # example: produce ChangeLog for the current project use Arch::Tree; foreach my $log (Arch::Tree->new->get_logs) { print "-" x 80, " "; print $log->standard_date, " "; print $log->summary, " "; print $log->body; } DESCRIPTION
The Arch-Perl library allows Perl developers to create GNU Arch front-ends in an object oriented fashion. GNU Arch is a decentralized, changeset-oriented revision control system. Currently, a pragmatic high-level interface is built around tla or baz. This functionality was initially developed for ArchZoom project, and was highly enhanced to serve AXP and ArchWay projects as well. AUTHORS
Mikhael Goikhman (migo@homemail.com--Perl-GPL/arch-perl--devel). Enno Cramer (uebergeek@web.de--2003/arch-perl--devel). SEE ALSO
For more information, see tla, Arch::Backend, Arch::Changes, Arch::Changeset, Arch::DiffParser, Arch::FileHighlighter, Arch::Inventory, Arch::Library, Arch::LiteWeb, Arch::Log, Arch::Name, Arch::Registry, Arch::RevisionBunches, Arch::Run, Arch::RunLimit, Arch::Session, Arch::SharedCache, Arch::SharedIndex, Arch::Storage, Arch::Tarball, Arch::TempFiles, Arch::Test::Archive, Arch::Test::Cases, Arch::Test::Framework, Arch::Test::Tree. Arch::Tree, Arch::Util. perl v5.10.1 2005-10-23 Arch(3pm)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Rename Multiple Files

I have a number of files /u01/PROD/arch.PROD.1_1 /u01/PROD/arch.PROD.1_2 /u01/PROD/arch.PROD.1_3 I would like a simple method for moving/renaming them /u01/TEST/arch.TEST.1_1 /u01/TEST/arch.TEST.1_2 /u01/TEST/arch.TEST.1_3 Note the only thing that changes is the PROD to TEST, in... (1 Reply)
Discussion started by: molonede
1 Replies

2. Linux

Needs for installing Arch/Linux?

(1 Reply)
Discussion started by: riwa
1 Replies

3. Programming

Include directive

Hi there, I'm working on a c++ project and I need to use some libraries which are part of a framework. I installed it on my home directory, and alle the .hh are located in subdirs of my home. I'd like to include the files I need just as if they where std c header, that is: #include... (2 Replies)
Discussion started by: clalfa
2 Replies

4. Shell Programming and Scripting

perl Help

Hi i want to search a perticular file in a directory. How to do it in perl. Suppose i have a file test.pl in a directory $pot=/home/Raj/. How to find the file test.pl. Regards Harikrishna (2 Replies)
Discussion started by: Harikrishna
2 Replies

5. UNIX for Dummies Questions & Answers

delete recursively contents of folders

hi, I've a folder structure like : /home/project/LIBNAMEA/FILE1 /home/project/LIBNAMED/FILE2 /home/project/LIBNAMEC/FILE3 /home/project/LIBNAMED/FILE4 /home/project/LIBNAMEX/FILE5 (there is no relation in the letters after the project/ ) and i need to delete the files keeping... (5 Replies)
Discussion started by: jtmartins
5 Replies

6. Shell Programming and Scripting

FTP Files should get full permission

Hi All, Could any one please help me in performing the following? We have the following folder: /home/test/proj1 /home/test/proj2 /home/test/proj3 Users from different country places files in this folder using FTP (These users uses different flavors of FTP tools). Our... (1 Reply)
Discussion started by: vfrg
1 Replies

7. Programming

General Framework For C

Hi guys. Is there any General Framework for C like other languages?:confused: for example .Net or ... . I googled but i didn't find anything useful. (5 Replies)
Discussion started by: majid.merkava
5 Replies

8. Shell Programming and Scripting

Test data creation

Hi, I need to produce A LOT of test data for a testing environment I've been told to look after. Should have stayed at home this week As it is for testing and probable sending to vendors I can't use real data (customer details). My wish list to Sanata is to have a number of flat files that... (1 Reply)
Discussion started by: nhatch
1 Replies

9. Linux

Pacman not functioning in Arch

Currently in a fresh install of arch linux and I have been trying to install some stuff with pacman. Every operation returns multiple errors such as no address record when using -Sy and unable to retrieve file when trying to install something. I have tried so many different configurations of... (5 Replies)
Discussion started by: a sandwhich
5 Replies

10. Shell Programming and Scripting

Archive old file

Hi All, I have the below senario. File_Name="^Test>*" Move_Delay=12 Source_Folder="/odi/nas/" Target_Folder="/odi/nas//archive" Now I want to move any file that is older than "Move_Delay" hours and matching "File_Name" pattern from the folder "Source_Folder" to the folder... (2 Replies)
Discussion started by: Anupam_Halder
2 Replies

11. UNIX for Beginners Questions & Answers

Override a file in directory with no permissions

Hi, I am performing unit testing in an unix environment. i have read access to all the files in this environment, but i can't copy any files from my home directory to test environment. Is there any way i can override files in testing environment. What is the command to override a file in... (1 Reply)
Discussion started by: surendra.88
1 Replies