-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
more constants for client version (major/minor/full version string)
- Loading branch information
Showing
3 changed files
with
42 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Test that everything compiles, so the rest of the test suite can | ||
# load modules without having to check if it worked. | ||
# | ||
# 2011-01-29 stefan(s.bv.) | ||
# Stolen from DBD::SQLite ;) | ||
# | ||
|
||
use strict; | ||
BEGIN { | ||
$| = 1; | ||
$^W = 1; | ||
} | ||
|
||
use Test::More tests => 4; | ||
|
||
use DBD::Firebird; | ||
|
||
can_ok( 'DBD::Firebird' => 'fb_api_ver' ); | ||
can_ok( 'DBD::Firebird' => 'client_major_version' ); | ||
can_ok( 'DBD::Firebird' => 'client_minor_version' ); | ||
can_ok( 'DBD::Firebird' => 'client_version' ); | ||
|
||
note( "Firebird API version is " . DBD::Firebird->fb_api_ver ); | ||
note( "Firebird client major version is " . DBD::Firebird->client_major_version ); | ||
note( "Firebird client minor version is " . DBD::Firebird->client_minor_version ); | ||
note( "Firebird client version is " . DBD::Firebird->client_version ); | ||
|
||
# diag("\$DBI::VERSION=$DBI::VERSION"); |