From 434aea6479542a51ca0506d55752d81343df6064 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Sat, 4 Mar 2017 15:04:39 +0900 Subject: [PATCH] rename t/lib/Test.pm to t/lib/SQLiteTest.pm --- MANIFEST | 2 +- t/01_compile.t | 2 +- t/02_logon.t | 2 +- t/03_create_table.t | 2 +- t/04_insert.t | 2 +- t/05_select.t | 2 +- t/06_tran.t | 2 +- t/07_error.t | 2 +- t/08_busy.t | 2 +- t/09_create_function.t | 2 +- t/10_create_aggregate.t | 2 +- t/12_unicode.t | 2 +- t/13_create_collation.t | 2 +- t/14_progress_handler.t | 2 +- t/15_ak_dbd.t | 2 +- t/16_column_info.t | 2 +- t/17_createdrop.t | 2 +- t/18_insertfetch.t | 2 +- t/19_bindparam.t | 2 +- t/20_blobs.t | 2 +- t/21_blobtext.t | 2 +- t/22_listfields.t | 2 +- t/23_nulls.t | 2 +- t/24_numrows.t | 2 +- t/25_chopblanks.t | 2 +- t/26_commit.t | 2 +- t/27_metadata.t | 2 +- t/28_schemachange.t | 2 +- t/30_auto_rollback.t | 2 +- t/31_bind_weird_number_param.t | 2 +- t/32_inactive_error.t | 2 +- t/33_non_latin_path.t | 2 +- t/34_online_backup.t | 2 +- t/35_table_info.t | 2 +- t/36_hooks.t | 2 +- t/37_regexp.t | 2 +- t/38_empty_statement.t | 2 +- t/39_foreign_keys.t | 2 +- t/40_multiple_statements.t | 2 +- t/41_placeholders.t | 2 +- t/42_primary_key_info.t | 2 +- t/43_fts3.t | 2 +- t/44_rtree.t | 2 +- t/45_savepoints.t | 2 +- t/46_mod_perl.t | 2 +- t/47_execute.t | 2 +- t/48_bind_param_is_sticky.t | 2 +- t/49_trace_and_profile.t | 2 +- t/50_foreign_key_info.t | 2 +- t/51_table_column_metadata.t | 2 +- t/52_db_filename.t | 2 +- t/53_status.t | 2 +- t/54_literal_txn.t | 2 +- t/55_statistics_info.t | 2 +- t/56_open_flags.t | 2 +- t/57_uri_filename.t | 2 +- t/58_see_if_its_a_number_and_explicit_binding.t | 2 +- t/59_extended_result_codes.t | 2 +- t/60_readonly.t | 2 +- t/61_strlike.t | 2 +- t/62_regexp_multibyte_char_class.t | 2 +- t/cookbook_variance.t | 2 +- t/lib/{Test.pm => SQLiteTest.pm} | 2 +- t/rt_106151_outermost_savepoint.t | 2 +- t/rt_106950_extra_warnings_with_savepoints.t | 2 +- t/rt_115465_column_info_with_spaces.t | 2 +- t/rt_15186_prepcached.t | 2 +- t/rt_21406_auto_finish.t | 2 +- t/rt_25371_asymmetric_unicode.t | 2 +- t/rt_25460_numeric_aggregate.t | 2 +- t/rt_25924_user_defined_func_unicode.t | 2 +- t/rt_26775_distinct.t | 2 +- t/rt_27553_prepared_cache_and_analyze.t | 2 +- t/rt_29058_group_by.t | 2 +- t/rt_29629_sqlite_where_length.t | 2 +- t/rt_31324_full_names.t | 2 +- t/rt_32889_prepare_cached_reexecute.t | 2 +- t/rt_36836_duplicate_key.t | 2 +- t/rt_36838_unique_and_bus_error.t | 2 +- t/rt_40594_nullable.t | 2 +- t/rt_48393_debug_panic_with_commit.t | 2 +- t/rt_50503_fts3.t | 2 +- t/rt_52573_manual_exclusive_lock.t | 2 +- t/rt_53235_icu_compatibility.t | 2 +- t/rt_62370_diconnected_handles_operation.t | 2 +- t/rt_64177_ping_wipes_out_the_errstr.t | 2 +- t/rt_67581_bind_params_mismatch.t | 2 +- t/rt_71311_bind_col_and_unicode.t | 2 +- t/rt_73159_fts_tokenizer_segfault.t | 2 +- t/rt_73787_exponential_buffer_overflow.t | 2 +- t/rt_76395_int_overflow.t | 2 +- t/rt_77724_primary_key_with_a_whitespace.t | 2 +- t/rt_78833_utf8_flag_for_column_names.t | 2 +- t/rt_81536_multi_column_primary_key_info.t | 2 +- t/rt_88228_sqlite_3_8_0_crash.t | 2 +- t/rt_96050_db_filename_for_a_closed_database.t | 2 +- t/rt_96877_unicode_statements.t | 2 +- t/rt_96878_fts_contentless_table.t | 2 +- t/rt_97598_crash_on_disconnect_with_virtual_tables.t | 2 +- t/virtual_table/00_base.t | 2 +- t/virtual_table/01_destroy.t | 2 +- t/virtual_table/02_find_function.t | 2 +- t/virtual_table/10_filecontent.t | 2 +- t/virtual_table/11_filecontent_fulltext.t | 4 ++-- t/virtual_table/20_perldata.t | 2 +- t/virtual_table/21_perldata_charinfo.t | 2 +- t/virtual_table/rt_99748.t | 2 +- 107 files changed, 108 insertions(+), 108 deletions(-) rename t/lib/{Test.pm => SQLiteTest.pm} (99%) diff --git a/MANIFEST b/MANIFEST index b9ed20e..0f25d6b 100644 --- a/MANIFEST +++ b/MANIFEST @@ -87,7 +87,7 @@ t/60_readonly.t t/61_strlike.t t/62_regexp_multibyte_char_class.t t/cookbook_variance.t -t/lib/Test.pm +t/lib/SQLiteTest.pm t/rt_106151_outermost_savepoint.t t/rt_106950_extra_warnings_with_savepoints.t t/rt_115465_column_info_with_spaces.t diff --git a/t/01_compile.t b/t/01_compile.t index eab165c..c2bbb39 100644 --- a/t/01_compile.t +++ b/t/01_compile.t @@ -13,7 +13,7 @@ use Test::More tests => 3; use_ok('DBI'); use_ok('DBD::SQLite'); -use_ok('t::lib::Test'); +use_ok('t::lib::SQLiteTest'); diag("\$DBI::VERSION=$DBI::VERSION"); diff --git a/t/02_logon.t b/t/02_logon.t index 8b1349c..4433fb4 100644 --- a/t/02_logon.t +++ b/t/02_logon.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings; diff --git a/t/03_create_table.t b/t/03_create_table.t index 4c13449..772e57a 100644 --- a/t/03_create_table.t +++ b/t/03_create_table.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 7; use Test::NoWarnings; diff --git a/t/04_insert.t b/t/04_insert.t index 08ed7a3..ab845b1 100644 --- a/t/04_insert.t +++ b/t/04_insert.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 14; use Test::NoWarnings; diff --git a/t/05_select.t b/t/05_select.t index 73bd76b..20633a9 100644 --- a/t/05_select.t +++ b/t/05_select.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 22; use Test::NoWarnings; diff --git a/t/06_tran.t b/t/06_tran.t index c3c9bc1..dad253a 100644 --- a/t/06_tran.t +++ b/t/06_tran.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 6; use Test::NoWarnings; diff --git a/t/07_error.t b/t/07_error.t index cf4fdb1..bfc173a 100644 --- a/t/07_error.t +++ b/t/07_error.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 8; use Test::NoWarnings; diff --git a/t/08_busy.t b/t/08_busy.t index 049abcf..4504009 100644 --- a/t/08_busy.t +++ b/t/08_busy.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok dbfile @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok dbfile @CALL_FUNCS/; use Test::More; use Test::NoWarnings; diff --git a/t/09_create_function.t b/t/09_create_function.t index 6e4dac5..af1ce55 100644 --- a/t/09_create_function.t +++ b/t/09_create_function.t @@ -7,7 +7,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings; use DBD::SQLite; diff --git a/t/10_create_aggregate.t b/t/10_create_aggregate.t index ad7b644..d25a268 100644 --- a/t/10_create_aggregate.t +++ b/t/10_create_aggregate.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings; use DBD::SQLite; diff --git a/t/12_unicode.t b/t/12_unicode.t index bfbe08a..bd56b96 100644 --- a/t/12_unicode.t +++ b/t/12_unicode.t @@ -9,7 +9,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/13_create_collation.t b/t/13_create_collation.t index 8849249..c5449cf 100644 --- a/t/13_create_collation.t +++ b/t/13_create_collation.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok dies @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok dies @CALL_FUNCS/; use Test::More; BEGIN { my $COLLATION_TESTS = 10; diff --git a/t/14_progress_handler.t b/t/14_progress_handler.t index 21abf5a..85466a5 100644 --- a/t/14_progress_handler.t +++ b/t/14_progress_handler.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings; diff --git a/t/15_ak_dbd.t b/t/15_ak_dbd.t index ddde0f7..f2bb1c5 100644 --- a/t/15_ak_dbd.t +++ b/t/15_ak_dbd.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 37; use Test::NoWarnings; diff --git a/t/16_column_info.t b/t/16_column_info.t index 9115658..c2036fb 100644 --- a/t/16_column_info.t +++ b/t/16_column_info.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 12; use Test::NoWarnings; diff --git a/t/17_createdrop.t b/t/17_createdrop.t index 6e93b55..2236b4f 100644 --- a/t/17_createdrop.t +++ b/t/17_createdrop.t @@ -9,7 +9,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 4; use Test::NoWarnings; diff --git a/t/18_insertfetch.t b/t/18_insertfetch.t index 2eed8aa..dff9b9a 100644 --- a/t/18_insertfetch.t +++ b/t/18_insertfetch.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 10; use Test::NoWarnings; diff --git a/t/19_bindparam.t b/t/19_bindparam.t index 025f8af..5b02f8f 100644 --- a/t/19_bindparam.t +++ b/t/19_bindparam.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 39; use Test::NoWarnings; use DBI ':sql_types'; diff --git a/t/20_blobs.t b/t/20_blobs.t index 295a70f..dbd5b6a 100644 --- a/t/20_blobs.t +++ b/t/20_blobs.t @@ -9,7 +9,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 10; use Test::NoWarnings; use DBI ':sql_types'; diff --git a/t/21_blobtext.t b/t/21_blobtext.t index 3954c7d..d4bc048 100644 --- a/t/21_blobtext.t +++ b/t/21_blobtext.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 27; use Test::NoWarnings; diff --git a/t/22_listfields.t b/t/22_listfields.t index b20e930..c8a7c23 100644 --- a/t/22_listfields.t +++ b/t/22_listfields.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 12; use Test::NoWarnings; diff --git a/t/23_nulls.t b/t/23_nulls.t index 1cd0625..50f2e28 100644 --- a/t/23_nulls.t +++ b/t/23_nulls.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 9; # Create a database diff --git a/t/24_numrows.t b/t/24_numrows.t index c242e42..592bcf0 100644 --- a/t/24_numrows.t +++ b/t/24_numrows.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 18; use Test::NoWarnings; diff --git a/t/25_chopblanks.t b/t/25_chopblanks.t index 3469a6c..6c0e770 100644 --- a/t/25_chopblanks.t +++ b/t/25_chopblanks.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 14; use Test::NoWarnings; diff --git a/t/26_commit.t b/t/26_commit.t index 75716ed..20654f4 100644 --- a/t/26_commit.t +++ b/t/26_commit.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 28; # use Test::NoWarnings; diff --git a/t/27_metadata.t b/t/27_metadata.t index 57d9a32..2fd68f1 100644 --- a/t/27_metadata.t +++ b/t/27_metadata.t @@ -7,7 +7,7 @@ BEGIN { } use Test::More tests => 21; -use t::lib::Test; +use t::lib::SQLiteTest; # 1-4. Connect & create tables my $dbh = connect_ok(dbfile => 'foo'); diff --git a/t/28_schemachange.t b/t/28_schemachange.t index 66cef08..1537c5c 100644 --- a/t/28_schemachange.t +++ b/t/28_schemachange.t @@ -10,7 +10,7 @@ BEGIN { } use Test::More tests => 9; -use t::lib::Test; +use t::lib::SQLiteTest; my $create1 = 'CREATE TABLE table1 (id INTEGER NOT NULL, name CHAR (64) NOT NULL)'; my $create2 = 'CREATE TABLE table2 (id INTEGER NOT NULL, name CHAR (64) NOT NULL)'; diff --git a/t/30_auto_rollback.t b/t/30_auto_rollback.t index 7a23760..79ba8d5 100644 --- a/t/30_auto_rollback.t +++ b/t/30_auto_rollback.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 6; use Test::NoWarnings; diff --git a/t/31_bind_weird_number_param.t b/t/31_bind_weird_number_param.t index 888773a..eb24b39 100644 --- a/t/31_bind_weird_number_param.t +++ b/t/31_bind_weird_number_param.t @@ -10,7 +10,7 @@ my @to_be_tested; BEGIN { @to_be_tested = (1.23E4); } use Test::More tests => 2 + @to_be_tested; -use t::lib::Test; +use t::lib::SQLiteTest; my $dbh = connect_ok(); diff --git a/t/32_inactive_error.t b/t/32_inactive_error.t index 86fcf57..08535f1 100644 --- a/t/32_inactive_error.t +++ b/t/32_inactive_error.t @@ -7,7 +7,7 @@ BEGIN { } use Test::More tests => 4; -use t::lib::Test; +use t::lib::SQLiteTest; my $dbh = connect_ok( PrintError => 0, RaiseError => 0 ); diff --git a/t/33_non_latin_path.t b/t/33_non_latin_path.t index 40550ea..f93e98a 100644 --- a/t/33_non_latin_path.t +++ b/t/33_non_latin_path.t @@ -9,7 +9,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/34_online_backup.t b/t/34_online_backup.t index 6ea4059..4e0eb47 100644 --- a/t/34_online_backup.t +++ b/t/34_online_backup.t @@ -4,7 +4,7 @@ use strict; use warnings; use Test::More; -use t::lib::Test qw/connect_ok dbfile @CALL_FUNCS requires_sqlite/; +use t::lib::SQLiteTest qw/connect_ok dbfile @CALL_FUNCS requires_sqlite/; BEGIN { requires_sqlite('3.6.11') } diff --git a/t/35_table_info.t b/t/35_table_info.t index a47cdf1..2f0354f 100644 --- a/t/35_table_info.t +++ b/t/35_table_info.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 22; use Test::NoWarnings; diff --git a/t/36_hooks.t b/t/36_hooks.t index c97a6c6..5b7afbe 100644 --- a/t/36_hooks.t +++ b/t/36_hooks.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use Test::NoWarnings qw/had_no_warnings clear_warnings/; diff --git a/t/37_regexp.t b/t/37_regexp.t index f4cdaee..00d4e9b 100644 --- a/t/37_regexp.t +++ b/t/37_regexp.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; my @words = qw{ diff --git a/t/38_empty_statement.t b/t/38_empty_statement.t index a0a297c..3a1bd5d 100644 --- a/t/38_empty_statement.t +++ b/t/38_empty_statement.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/39_foreign_keys.t b/t/39_foreign_keys.t index 8beee7c..7b6a0bb 100644 --- a/t/39_foreign_keys.t +++ b/t/39_foreign_keys.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.6.19') } diff --git a/t/40_multiple_statements.t b/t/40_multiple_statements.t index 567090d..0c7fa43 100644 --- a/t/40_multiple_statements.t +++ b/t/40_multiple_statements.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/41_placeholders.t b/t/41_placeholders.t index 957c359..1e951a5 100644 --- a/t/41_placeholders.t +++ b/t/41_placeholders.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/42_primary_key_info.t b/t/42_primary_key_info.t index 3f38777..8e474c9 100644 --- a/t/42_primary_key_info.t +++ b/t/42_primary_key_info.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/43_fts3.t b/t/43_fts3.t index 37052f1..eddd199 100644 --- a/t/43_fts3.t +++ b/t/43_fts3.t @@ -5,7 +5,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok has_sqlite/; +use t::lib::SQLiteTest qw/connect_ok has_sqlite/; use Test::More; use DBD::SQLite; diff --git a/t/44_rtree.t b/t/44_rtree.t index d2afc66..735ec21 100644 --- a/t/44_rtree.t +++ b/t/44_rtree.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; use DBD::SQLite; use Data::Dumper; diff --git a/t/45_savepoints.t b/t/45_savepoints.t index 944ba52..f79f3f8 100644 --- a/t/45_savepoints.t +++ b/t/45_savepoints.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.6.8') } diff --git a/t/46_mod_perl.t b/t/46_mod_perl.t index 6492e1b..29697c4 100644 --- a/t/46_mod_perl.t +++ b/t/46_mod_perl.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { eval {require APR::Table; 1}; diff --git a/t/47_execute.t b/t/47_execute.t index 8751c47..aed1406 100644 --- a/t/47_execute.t +++ b/t/47_execute.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok dbfile @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok dbfile @CALL_FUNCS/; use Test::More; use Test::NoWarnings; diff --git a/t/48_bind_param_is_sticky.t b/t/48_bind_param_is_sticky.t index 504dd74..d9f7c8a 100644 --- a/t/48_bind_param_is_sticky.t +++ b/t/48_bind_param_is_sticky.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use DBI qw(:sql_types); use Test::More; use Test::NoWarnings; diff --git a/t/49_trace_and_profile.t b/t/49_trace_and_profile.t index 354a5b7..74faff2 100644 --- a/t/49_trace_and_profile.t +++ b/t/49_trace_and_profile.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS requires_sqlite/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS requires_sqlite/; use Test::More; BEGIN { requires_sqlite('3.6.21') } diff --git a/t/50_foreign_key_info.t b/t/50_foreign_key_info.t index fffa3d7..faa2751 100755 --- a/t/50_foreign_key_info.t +++ b/t/50_foreign_key_info.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { diff --git a/t/51_table_column_metadata.t b/t/51_table_column_metadata.t index e7aaf4e..6b7b40d 100644 --- a/t/51_table_column_metadata.t +++ b/t/51_table_column_metadata.t @@ -15,7 +15,7 @@ BEGIN { } } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::NoWarnings; plan tests => 16 * @CALL_FUNCS + 1; diff --git a/t/52_db_filename.t b/t/52_db_filename.t index 7b9e363..65ab21f 100644 --- a/t/52_db_filename.t +++ b/t/52_db_filename.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS requires_sqlite/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS requires_sqlite/; use Test::More; BEGIN { requires_sqlite('3.7.10') } diff --git a/t/53_status.t b/t/53_status.t index c6266ee..fe45e31 100644 --- a/t/53_status.t +++ b/t/53_status.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS has_sqlite/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS has_sqlite/; use Test::More; use Test::NoWarnings; diff --git a/t/54_literal_txn.t b/t/54_literal_txn.t index 5ab5054..0f19217 100644 --- a/t/54_literal_txn.t +++ b/t/54_literal_txn.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More tests => 5; use Test::NoWarnings; diff --git a/t/55_statistics_info.t b/t/55_statistics_info.t index d2c7220..5466685 100644 --- a/t/55_statistics_info.t +++ b/t/55_statistics_info.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { diff --git a/t/56_open_flags.t b/t/56_open_flags.t index c02139a..863fa9d 100644 --- a/t/56_open_flags.t +++ b/t/56_open_flags.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; my $tests = 7; diff --git a/t/57_uri_filename.t b/t/57_uri_filename.t index 844b3e5..6ed3dd7 100644 --- a/t/57_uri_filename.t +++ b/t/57_uri_filename.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.7.7') } diff --git a/t/58_see_if_its_a_number_and_explicit_binding.t b/t/58_see_if_its_a_number_and_explicit_binding.t index 52bc55d..3dd583d 100644 --- a/t/58_see_if_its_a_number_and_explicit_binding.t +++ b/t/58_see_if_its_a_number_and_explicit_binding.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; use DBI qw(:sql_types); diff --git a/t/59_extended_result_codes.t b/t/59_extended_result_codes.t index 21124f3..0580130 100644 --- a/t/59_extended_result_codes.t +++ b/t/59_extended_result_codes.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More; use DBD::SQLite; diff --git a/t/60_readonly.t b/t/60_readonly.t index 711a8a0..3a8ea36 100644 --- a/t/60_readonly.t +++ b/t/60_readonly.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok requires_sqlite/; +use t::lib::SQLiteTest qw/connect_ok requires_sqlite/; use Test::More; use DBD::SQLite::Constants qw/SQLITE_OPEN_READONLY/; diff --git a/t/61_strlike.t b/t/61_strlike.t index 22da44d..fa5ab33 100644 --- a/t/61_strlike.t +++ b/t/61_strlike.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/requires_sqlite/; +use t::lib::SQLiteTest qw/requires_sqlite/; use Test::More; use DBD::SQLite; diff --git a/t/62_regexp_multibyte_char_class.t b/t/62_regexp_multibyte_char_class.t index 47ef517..c9782b8 100644 --- a/t/62_regexp_multibyte_char_class.t +++ b/t/62_regexp_multibyte_char_class.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; BEGIN { if ($] < 5.008005) { diff --git a/t/cookbook_variance.t b/t/cookbook_variance.t index cd66144..3cc6349 100644 --- a/t/cookbook_variance.t +++ b/t/cookbook_variance.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; use Test::NoWarnings; diff --git a/t/lib/Test.pm b/t/lib/SQLiteTest.pm similarity index 99% rename from t/lib/Test.pm rename to t/lib/SQLiteTest.pm index 596eb6d..9759f6e 100644 --- a/t/lib/Test.pm +++ b/t/lib/SQLiteTest.pm @@ -1,4 +1,4 @@ -package t::lib::Test; +package t::lib::SQLiteTest; # Support code for DBD::SQLite tests diff --git a/t/rt_106151_outermost_savepoint.t b/t/rt_106151_outermost_savepoint.t index a716a61..fe4e350 100644 --- a/t/rt_106151_outermost_savepoint.t +++ b/t/rt_106151_outermost_savepoint.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.6.8') } diff --git a/t/rt_106950_extra_warnings_with_savepoints.t b/t/rt_106950_extra_warnings_with_savepoints.t index 173f1c9..446e7ae 100644 --- a/t/rt_106950_extra_warnings_with_savepoints.t +++ b/t/rt_106950_extra_warnings_with_savepoints.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.6.8') } diff --git a/t/rt_115465_column_info_with_spaces.t b/t/rt_115465_column_info_with_spaces.t index 3d6c0c6..8ea646b 100644 --- a/t/rt_115465_column_info_with_spaces.t +++ b/t/rt_115465_column_info_with_spaces.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; plan tests => 14; diff --git a/t/rt_15186_prepcached.t b/t/rt_15186_prepcached.t index f617ef8..a64a875 100644 --- a/t/rt_15186_prepcached.t +++ b/t/rt_15186_prepcached.t @@ -10,7 +10,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 13; use Test::NoWarnings; diff --git a/t/rt_21406_auto_finish.t b/t/rt_21406_auto_finish.t index b621391..0494a54 100644 --- a/t/rt_21406_auto_finish.t +++ b/t/rt_21406_auto_finish.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 11; use Test::NoWarnings; diff --git a/t/rt_25371_asymmetric_unicode.t b/t/rt_25371_asymmetric_unicode.t index 40736f1..5f4dbc5 100644 --- a/t/rt_25371_asymmetric_unicode.t +++ b/t/rt_25371_asymmetric_unicode.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/rt_25460_numeric_aggregate.t b/t/rt_25460_numeric_aggregate.t index 683845b..66e2617 100644 --- a/t/rt_25460_numeric_aggregate.t +++ b/t/rt_25460_numeric_aggregate.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 14; use Test::NoWarnings; diff --git a/t/rt_25924_user_defined_func_unicode.t b/t/rt_25924_user_defined_func_unicode.t index fba2ef0..1db9643 100644 --- a/t/rt_25924_user_defined_func_unicode.t +++ b/t/rt_25924_user_defined_func_unicode.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/rt_26775_distinct.t b/t/rt_26775_distinct.t index c49a1a3..68a5f36 100644 --- a/t/rt_26775_distinct.t +++ b/t/rt_26775_distinct.t @@ -3,7 +3,7 @@ use strict; use warnings; use DBI; use Test::More; -use t::lib::Test; +use t::lib::SQLiteTest; BEGIN { requires_sqlite('3.6.3') } diff --git a/t/rt_27553_prepared_cache_and_analyze.t b/t/rt_27553_prepared_cache_and_analyze.t index 668c317..1da1e65 100644 --- a/t/rt_27553_prepared_cache_and_analyze.t +++ b/t/rt_27553_prepared_cache_and_analyze.t @@ -5,7 +5,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 6; use Test::NoWarnings; diff --git a/t/rt_29058_group_by.t b/t/rt_29058_group_by.t index bb8219d..04b0663 100644 --- a/t/rt_29058_group_by.t +++ b/t/rt_29058_group_by.t @@ -5,7 +5,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 8; use Test::NoWarnings; use DBI qw(:sql_types); diff --git a/t/rt_29629_sqlite_where_length.t b/t/rt_29629_sqlite_where_length.t index 481047e..f261ed4 100644 --- a/t/rt_29629_sqlite_where_length.t +++ b/t/rt_29629_sqlite_where_length.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 19; use Test::NoWarnings; use DBI qw(:sql_types); diff --git a/t/rt_31324_full_names.t b/t/rt_31324_full_names.t index c74181b..b9c36d8 100644 --- a/t/rt_31324_full_names.t +++ b/t/rt_31324_full_names.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 8; use Test::NoWarnings; diff --git a/t/rt_32889_prepare_cached_reexecute.t b/t/rt_32889_prepare_cached_reexecute.t index e0a453b..a7ea57e 100644 --- a/t/rt_32889_prepare_cached_reexecute.t +++ b/t/rt_32889_prepare_cached_reexecute.t @@ -10,7 +10,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 32; use Test::NoWarnings; diff --git a/t/rt_36836_duplicate_key.t b/t/rt_36836_duplicate_key.t index 7380d8e..5171e87 100644 --- a/t/rt_36836_duplicate_key.t +++ b/t/rt_36836_duplicate_key.t @@ -8,7 +8,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 5; use Test::NoWarnings; diff --git a/t/rt_36838_unique_and_bus_error.t b/t/rt_36838_unique_and_bus_error.t index 5a8aafe..51b1c24 100644 --- a/t/rt_36838_unique_and_bus_error.t +++ b/t/rt_36838_unique_and_bus_error.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 4; use Test::NoWarnings; diff --git a/t/rt_40594_nullable.t b/t/rt_40594_nullable.t index 8f3511b..7a33e4e 100644 --- a/t/rt_40594_nullable.t +++ b/t/rt_40594_nullable.t @@ -7,7 +7,7 @@ BEGIN { } use Test::More; -use t::lib::Test; +use t::lib::SQLiteTest; use DBD::SQLite; BEGIN { diff --git a/t/rt_48393_debug_panic_with_commit.t b/t/rt_48393_debug_panic_with_commit.t index 66880ea..e4a47f6 100644 --- a/t/rt_48393_debug_panic_with_commit.t +++ b/t/rt_48393_debug_panic_with_commit.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { diff --git a/t/rt_50503_fts3.t b/t/rt_50503_fts3.t index 5900784..3ef690d 100644 --- a/t/rt_50503_fts3.t +++ b/t/rt_50503_fts3.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { diff --git a/t/rt_52573_manual_exclusive_lock.t b/t/rt_52573_manual_exclusive_lock.t index db0f3e9..6a27615 100644 --- a/t/rt_52573_manual_exclusive_lock.t +++ b/t/rt_52573_manual_exclusive_lock.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 92 * 4 + 2; use Test::NoWarnings; diff --git a/t/rt_53235_icu_compatibility.t b/t/rt_53235_icu_compatibility.t index ccec7a6..bd1ebe8 100644 --- a/t/rt_53235_icu_compatibility.t +++ b/t/rt_53235_icu_compatibility.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { require DBD::SQLite; diff --git a/t/rt_62370_diconnected_handles_operation.t b/t/rt_62370_diconnected_handles_operation.t index 6e735c2..6d17150 100644 --- a/t/rt_62370_diconnected_handles_operation.t +++ b/t/rt_62370_diconnected_handles_operation.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok @CALL_FUNCS/; +use t::lib::SQLiteTest qw/connect_ok @CALL_FUNCS/; use Test::More; use DBD::SQLite; #use Test::NoWarnings; diff --git a/t/rt_64177_ping_wipes_out_the_errstr.t b/t/rt_64177_ping_wipes_out_the_errstr.t index 2441dcd..43b463a 100644 --- a/t/rt_64177_ping_wipes_out_the_errstr.t +++ b/t/rt_64177_ping_wipes_out_the_errstr.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 8; use Test::NoWarnings; diff --git a/t/rt_67581_bind_params_mismatch.t b/t/rt_67581_bind_params_mismatch.t index 92f1fe7..bf1df33 100644 --- a/t/rt_67581_bind_params_mismatch.t +++ b/t/rt_67581_bind_params_mismatch.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More tests => 34; use DBI qw/:sql_types/; diff --git a/t/rt_71311_bind_col_and_unicode.t b/t/rt_71311_bind_col_and_unicode.t index f1d6935..abb7f31 100644 --- a/t/rt_71311_bind_col_and_unicode.t +++ b/t/rt_71311_bind_col_and_unicode.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/rt_73159_fts_tokenizer_segfault.t b/t/rt_73159_fts_tokenizer_segfault.t index 5fcaac8..1cb9e66 100644 --- a/t/rt_73159_fts_tokenizer_segfault.t +++ b/t/rt_73159_fts_tokenizer_segfault.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 2; use DBI; diff --git a/t/rt_73787_exponential_buffer_overflow.t b/t/rt_73787_exponential_buffer_overflow.t index 6115864..01dd01e 100644 --- a/t/rt_73787_exponential_buffer_overflow.t +++ b/t/rt_73787_exponential_buffer_overflow.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More tests => 6; use Test::NoWarnings; diff --git a/t/rt_76395_int_overflow.t b/t/rt_76395_int_overflow.t index 6cf84e0..d6f4875 100644 --- a/t/rt_76395_int_overflow.t +++ b/t/rt_76395_int_overflow.t @@ -6,7 +6,7 @@ BEGIN { $| = 1; $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; use DBI; diff --git a/t/rt_77724_primary_key_with_a_whitespace.t b/t/rt_77724_primary_key_with_a_whitespace.t index 36ef8b1..40cc839 100644 --- a/t/rt_77724_primary_key_with_a_whitespace.t +++ b/t/rt_77724_primary_key_with_a_whitespace.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 4; use Test::NoWarnings; diff --git a/t/rt_78833_utf8_flag_for_column_names.t b/t/rt_78833_utf8_flag_for_column_names.t index 66e32b0..0022c8c 100644 --- a/t/rt_78833_utf8_flag_for_column_names.t +++ b/t/rt_78833_utf8_flag_for_column_names.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { diff --git a/t/rt_81536_multi_column_primary_key_info.t b/t/rt_81536_multi_column_primary_key_info.t index 3af765b..f1b6829 100644 --- a/t/rt_81536_multi_column_primary_key_info.t +++ b/t/rt_81536_multi_column_primary_key_info.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok/; +use t::lib::SQLiteTest qw/connect_ok/; use Test::More; use Test::NoWarnings; diff --git a/t/rt_88228_sqlite_3_8_0_crash.t b/t/rt_88228_sqlite_3_8_0_crash.t index 126beb7..f8da60c 100644 --- a/t/rt_88228_sqlite_3_8_0_crash.t +++ b/t/rt_88228_sqlite_3_8_0_crash.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More tests => 3; use Test::NoWarnings; diff --git a/t/rt_96050_db_filename_for_a_closed_database.t b/t/rt_96050_db_filename_for_a_closed_database.t index 2ee9747..cebdae2 100644 --- a/t/rt_96050_db_filename_for_a_closed_database.t +++ b/t/rt_96050_db_filename_for_a_closed_database.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; use Test::NoWarnings; diff --git a/t/rt_96877_unicode_statements.t b/t/rt_96877_unicode_statements.t index 2f47232..d0ae696 100644 --- a/t/rt_96877_unicode_statements.t +++ b/t/rt_96877_unicode_statements.t @@ -9,7 +9,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { if ( $] >= 5.008005 ) { diff --git a/t/rt_96878_fts_contentless_table.t b/t/rt_96878_fts_contentless_table.t index 369fdb6..68a2182 100644 --- a/t/rt_96878_fts_contentless_table.t +++ b/t/rt_96878_fts_contentless_table.t @@ -12,7 +12,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.7.9') } diff --git a/t/rt_97598_crash_on_disconnect_with_virtual_tables.t b/t/rt_97598_crash_on_disconnect_with_virtual_tables.t index 072e7e1..4004b96 100644 --- a/t/rt_97598_crash_on_disconnect_with_virtual_tables.t +++ b/t/rt_97598_crash_on_disconnect_with_virtual_tables.t @@ -6,7 +6,7 @@ BEGIN { $^W = 1; } -use t::lib::Test; +use t::lib::SQLiteTest; use Test::More; BEGIN { requires_sqlite('3.7.7') } diff --git a/t/virtual_table/00_base.t b/t/virtual_table/00_base.t index cf65a95..b69927d 100644 --- a/t/virtual_table/00_base.t +++ b/t/virtual_table/00_base.t @@ -5,7 +5,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok $sqlite_call/; +use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; use Test::NoWarnings; diff --git a/t/virtual_table/01_destroy.t b/t/virtual_table/01_destroy.t index 45e4595..ada6fbc 100644 --- a/t/virtual_table/01_destroy.t +++ b/t/virtual_table/01_destroy.t @@ -5,7 +5,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok $sqlite_call/; +use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; use Test::NoWarnings; diff --git a/t/virtual_table/02_find_function.t b/t/virtual_table/02_find_function.t index 43c7c74..1f597cc 100644 --- a/t/virtual_table/02_find_function.t +++ b/t/virtual_table/02_find_function.t @@ -5,7 +5,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok $sqlite_call/; +use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; use Test::NoWarnings; diff --git a/t/virtual_table/10_filecontent.t b/t/virtual_table/10_filecontent.t index de95a22..9fc0301 100644 --- a/t/virtual_table/10_filecontent.t +++ b/t/virtual_table/10_filecontent.t @@ -6,7 +6,7 @@ BEGIN { } -use t::lib::Test qw/connect_ok $sqlite_call/; +use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; use Test::NoWarnings; use FindBin; diff --git a/t/virtual_table/11_filecontent_fulltext.t b/t/virtual_table/11_filecontent_fulltext.t index d62788b..32533ad 100644 --- a/t/virtual_table/11_filecontent_fulltext.t +++ b/t/virtual_table/11_filecontent_fulltext.t @@ -5,7 +5,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok $sqlite_call requires_sqlite/; +use t::lib::SQLiteTest qw/connect_ok $sqlite_call requires_sqlite/; use Test::More; BEGIN { requires_sqlite('3.7.12') } @@ -33,7 +33,7 @@ my @tests = ( lib/DBD/SQLite/VirtualTable.pm lib/DBD/SQLite/VirtualTable/FileContent.pm lib/DBD/SQLite/VirtualTable/PerlData.pm - t/lib/Test.pm]], + t/lib/SQLiteTest.pm]], ); # The last set of tests tries to use enhanced query syntax. But when diff --git a/t/virtual_table/20_perldata.t b/t/virtual_table/20_perldata.t index 082c66c..b618ed9 100644 --- a/t/virtual_table/20_perldata.t +++ b/t/virtual_table/20_perldata.t @@ -6,7 +6,7 @@ BEGIN { } -use t::lib::Test qw/connect_ok $sqlite_call requires_sqlite has_sqlite/; +use t::lib::SQLiteTest qw/connect_ok $sqlite_call requires_sqlite has_sqlite/; use Test::More; BEGIN { requires_sqlite('3.7.4') } diff --git a/t/virtual_table/21_perldata_charinfo.t b/t/virtual_table/21_perldata_charinfo.t index c072527..abb44e1 100644 --- a/t/virtual_table/21_perldata_charinfo.t +++ b/t/virtual_table/21_perldata_charinfo.t @@ -8,7 +8,7 @@ BEGIN { # test the example described in # L -use t::lib::Test qw/connect_ok $sqlite_call/; +use t::lib::SQLiteTest qw/connect_ok $sqlite_call/; use Test::More; BEGIN { diff --git a/t/virtual_table/rt_99748.t b/t/virtual_table/rt_99748.t index eb17cf9..d7586df 100644 --- a/t/virtual_table/rt_99748.t +++ b/t/virtual_table/rt_99748.t @@ -5,7 +5,7 @@ BEGIN { $^W = 1; } -use t::lib::Test qw/connect_ok $sqlite_call has_sqlite/; +use t::lib::SQLiteTest qw/connect_ok $sqlite_call has_sqlite/; use Test::More; use Test::NoWarnings;