1 |
#
|
2 |
# Tool test suite
|
3 |
#
|
4 |
|
5 |
package Configuration::test::test_ToolDoc;
|
6 |
require 5.001;
|
7 |
use ActiveDoc::ActiveDoc;
|
8 |
use ActiveDoc::ActiveConfig;
|
9 |
use Configuration::ConfigureStore;
|
10 |
use Configuration::ToolDoc;
|
11 |
use Configuration::test::ToolDocTester;
|
12 |
|
13 |
@ISA = ("TestClass"); #methods both from the test class
|
14 |
|
15 |
sub init {
|
16 |
my $self=shift;
|
17 |
$self->{testfile}=$self->datadir()."/ToolDoc";
|
18 |
$self->{Configuration}=ActiveDoc::ActiveConfig->new($self->temparea());
|
19 |
}
|
20 |
|
21 |
sub test {
|
22 |
my $self=shift;
|
23 |
$self->newtest("Initiation test");
|
24 |
$self->newobject($self->{Configuration});
|
25 |
$self->testinterface("url","file:".$self->{testfile});
|
26 |
$self->newtest("setup Tool testing");
|
27 |
$self->testinterface("setuptool","testtool", "version1");
|
28 |
|
29 |
}
|