ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/BuildSystem/test/test_Requirements.pm
Revision: 1.1.2.1
Committed: Wed Apr 19 14:15:01 2000 UTC (25 years ago) by williamc
Content type: text/plain
Branch: V0_9branch
CVS Tags: V0_12_12_4, V0_12_12_3, V0_13_3, V0_13_2, V0_12_12_2, V0_12_12_1, V0_12_12_0, PlayGround_0, V0_13_1, V0_13_0, V0_12_12, V0_12_11, V0_12_9b, V0_12_10, V0_12_9, V0_12_8, V0_12_7, V0_12_6, V0_12_5, V0_12_4, V0_12_3, V0_12_2, V0_12_1, V0_12_0
Branch point for: HPWbranch
Changes since 1.1: +33 -0 lines
Log Message:
New ToolBox Regime - no clientsettings anymore

File Contents

# User Rev Content
1 williamc 1.1.2.1 #
2     # Requirements.pm test suite
3     #
4    
5     package BuildSystem::test::test_Requirements;
6     require 5.001;
7     use BuildSystem::Requirements;
8    
9     @ISA=qw(Utilities::TestClass); #methods both from the test class
10    
11     sub init {
12     my $self=shift;
13     $self->{testfile}=$self->datadir()."/RequirementsDocTest";
14    
15     # make a dummy toolbox
16     $self->{toolbox}=$self;
17     }
18    
19     sub test {
20     my $self=shift;
21     $self->newtest("Initiation test");
22     $self->newobject($self->{testfile});
23    
24     $self->newtest("Setup Testing");
25     $self->testinterface("setup",$self);
26     $self->cmparray( $self->{toolsetups}, "test");
27     }
28    
29     # --- stubs
30     sub toolsetup {
31     my $self=shift;
32     push @{$self->{toolsetups}}, shift;
33     }