12 |
|
# new() : A new DocTester object |
13 |
|
# initdoc([docstore]) : initialise starter doc etc. |
14 |
|
# --- after initdoc can call |
15 |
< |
# newdoc(url) : create a new document with the given url |
15 |
> |
# newtestdoc(url) : create a new document with the given url |
16 |
|
# docstore() : return the base document store |
17 |
|
|
18 |
|
package ActiveDoc::DocTester; |
37 |
|
$self->{appl}->options(ActiveDoc::Query->new()); |
38 |
|
} |
39 |
|
|
40 |
< |
sub newdoc { |
40 |
> |
sub newtestdoc { |
41 |
|
my $self=shift; |
42 |
|
$self->{object}=$self->{appl}->activatedoc(@_); |
43 |
|
} |