ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/SCRAM/src/Configuration/test/test_ConfigArea.pm
Revision: 1.1
Committed: Thu Jan 20 18:24:17 2000 UTC (25 years, 3 months ago) by williamc
Content type: text/plain
Branch: MAIN
Log Message:
bring up to current status

File Contents

# User Rev Content
1 williamc 1.1 #
2     # Tool test suite
3     #
4    
5     package Configuration::test::test_ConfigArea;
6     require 5.001;
7     use Configuration::ConfigureStore;
8     use Configuration::ConfigArea;
9     use ActiveDoc::ActiveConfig;
10     use ActiveDoc::Application;
11    
12     @ISA = ("ActiveDoc::DocTester"); #methods both from the test class
13    
14    
15     sub init {
16     my $self=shift;
17     $self->initdoc();
18     $self->{testfile}=$self->datadir("")."/ConfigAreaDoc";
19     my $location=$self->temparea("")."/".$self->newfilename();
20     }
21    
22     sub test {
23     my $self=shift;
24     $self->newtest("Initiation test - file not existing");
25     $self->newdoc("file:".$self->{testfile});
26     $self->newtest("setup");
27     $self->testinterface("setup");
28     $self->newtest("persistence testing");
29     $self->newobject($self->{Configuration});
30     $self->testinterface("restore",$location);
31     $self->expect("feature1","feature2");
32     $self->testinterface("featurelist");
33     $self->clearexpect();
34     }