2
# This program is free software; you can redistribute it and/or modify
3
# it under the terms of the GNU General Public License as published by
4
# the Free Software Foundation; version 2 of the License.
6
# This program is distributed in the hope that it will be useful, but
7
# WITHOUT ANY WARRANTY; without even the implied warranty of
8
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9
# General Public License for more details.
11
# You should have received a copy of the GNU General Public License
12
# along with this program; if not, write to the Free Software
13
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
17
package GenTest::SimPipe::Oracle;
27
use constant ORACLE_DSN => 0;
28
use constant ORACLE_DSN2 => 1;
29
use constant ORACLE_BASEDIR => 2;
36
my $oracle = $class->SUPER::new({
38
'dsn2' => ORACLE_DSN2,
39
'basedir' => ORACLE_BASEDIR
46
return $_[0]->[ORACLE_DSN];
50
return $_[0]->[ORACLE_DSN2];
54
return $_[0]->[ORACLE_BASEDIR];