moved some things into sub folders
This commit is contained in:
parent
cbaacde6ba
commit
4ecdd5022b
7 changed files with 15 additions and 18 deletions
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# ---- BEGIN DO NOT EDIT ----
|
||||
use strict;
|
||||
use lib '../lib';
|
||||
use lib '../../lib';
|
||||
use Getopt::Long;
|
||||
use WebGUI::Session;
|
||||
# ---- END DO NOT EDIT ----
|
||||
|
|
@ -57,7 +57,7 @@ sub initialize {
|
|||
'configFile=s'=>\$configFile
|
||||
);
|
||||
exit 1 unless ($configFile);
|
||||
my $session = WebGUI::Session->open("..",$configFile);
|
||||
my $session = WebGUI::Session->open("../..",$configFile);
|
||||
}
|
||||
sub cleanup {
|
||||
my $session = shift;
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# ---- BEGIN DO NOT EDIT ----
|
||||
use strict;
|
||||
use lib '../lib';
|
||||
use lib '../../lib';
|
||||
use Getopt::Long;
|
||||
use WebGUI::Session;
|
||||
# ---- END DO NOT EDIT ----
|
||||
|
|
@ -34,7 +34,7 @@ sub initialize {
|
|||
'configFile=s'=>\$configFile
|
||||
);
|
||||
exit 1 unless ($configFile);
|
||||
my $session = WebGUI::Session->open("..",$configFile);
|
||||
my $session = WebGUI::Session->open("../..",$configFile);
|
||||
}
|
||||
|
||||
sub cleanup {
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# ---- BEGIN DO NOT EDIT ----
|
||||
use strict;
|
||||
use lib '../lib';
|
||||
use lib '../../lib';
|
||||
use Getopt::Long;
|
||||
use WebGUI::Session;
|
||||
# ---- END DO NOT EDIT ----
|
||||
|
|
@ -46,7 +46,7 @@ sub initialize {
|
|||
'configFile=s'=>\$configFile
|
||||
);
|
||||
exit 1 unless ($configFile);
|
||||
my $session = WebGUI::Session->open("..",$configFile);
|
||||
my $session = WebGUI::Session->open("../..",$configFile);
|
||||
}
|
||||
|
||||
sub cleanup {
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# ---- BEGIN DO NOT EDIT ----
|
||||
use strict;
|
||||
use lib '../lib';
|
||||
use lib '../../lib';
|
||||
use Getopt::Long;
|
||||
use WebGUI::Session;
|
||||
# ---- END DO NOT EDIT ----
|
||||
|
|
@ -35,7 +35,7 @@ sub initialize {
|
|||
'configFile=s'=>\$configFile
|
||||
);
|
||||
exit 1 unless ($configFile);
|
||||
my $session = WebGUI::Session->open("..",$configFile);
|
||||
my $session = WebGUI::Session->open("../..",$configFile);
|
||||
}
|
||||
|
||||
sub cleanup {
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# ---- BEGIN DO NOT EDIT ----
|
||||
use strict;
|
||||
use lib '../lib';
|
||||
use lib '../../lib';
|
||||
use Getopt::Long;
|
||||
use WebGUI::Session;
|
||||
# ---- END DO NOT EDIT ----
|
||||
|
|
@ -39,7 +39,7 @@ sub initialize {
|
|||
'configFile=s'=>\$configFile
|
||||
);
|
||||
exit 1 unless ($configFile);
|
||||
my $session = WebGUI::Session->open("..",$configFile);
|
||||
my $session = WebGUI::Session->open("../..",$configFile);
|
||||
}
|
||||
sub cleanup {
|
||||
my $session = shift;
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# ---- BEGIN DO NOT EDIT ----
|
||||
use strict;
|
||||
use lib '../lib';
|
||||
use lib '../../lib';
|
||||
use Getopt::Long;
|
||||
use WebGUI::Session;
|
||||
# ---- END DO NOT EDIT ----
|
||||
|
|
@ -19,9 +19,8 @@ use Test::More tests => 22; # increment this value for each test you create
|
|||
my $session = initialize(); # this line is required
|
||||
|
||||
# put your tests here
|
||||
use WebGUI::Session::Stow;
|
||||
|
||||
my $stow = WebGUI::Session::Stow->new($session);
|
||||
my $stow = $session->stow;
|
||||
my $count = 0;
|
||||
my $maxCount = 20;
|
||||
|
||||
|
|
@ -48,7 +47,7 @@ sub initialize {
|
|||
'configFile=s'=>\$configFile
|
||||
);
|
||||
exit 1 unless ($configFile);
|
||||
my $session = WebGUI::Session->open("..",$configFile);
|
||||
my $session = WebGUI::Session->open("../..",$configFile);
|
||||
}
|
||||
sub cleanup {
|
||||
my $session = shift;
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
# ---- BEGIN DO NOT EDIT ----
|
||||
use strict;
|
||||
use lib '../lib';
|
||||
use lib '../../lib';
|
||||
use Getopt::Long;
|
||||
use WebGUI::Session;
|
||||
# ---- END DO NOT EDIT ----
|
||||
|
|
@ -18,8 +18,6 @@ use Test::More tests => 6; # increment this value for each test you create
|
|||
|
||||
my $session = initialize(); # this line is required
|
||||
|
||||
# put your tests here
|
||||
use WebGUI::Session::Var;
|
||||
|
||||
ok($session->var->getId ne "", "getId()");
|
||||
ok($session->var->get("lastPageView") > 0, "get()");
|
||||
|
|
@ -44,7 +42,7 @@ sub initialize {
|
|||
'configFile=s'=>\$configFile
|
||||
);
|
||||
exit 1 unless ($configFile);
|
||||
my $session = WebGUI::Session->open("..",$configFile);
|
||||
my $session = WebGUI::Session->open("../..",$configFile);
|
||||
}
|
||||
sub cleanup {
|
||||
my $session = shift;
|
||||
Loading…
Add table
Add a link
Reference in a new issue