1
0
Fork 0
mirror of https://github.com/DBD-SQLite/DBD-SQLite synced 2025-06-07 06:08:38 -04:00
Commit graph

22 commits

Author SHA1 Message Date
Felipe Gasper
9dc75eaead Replace “string_unicode” boolean with “string_mode” enum.
Issue #78 and issue #68: This introduces additional, more robust
schemas for translating strings between SQLite and Perl.
2021-05-29 19:19:58 -04:00
Kenichi Ishigaki
627666e888 not to use Test::FailWarnings except for developers environment 2019-01-07 03:48:10 +09:00
Kenichi Ishigaki
f56689d929 use more test utility functions 2019-01-07 03:41:09 +09:00
Kenichi Ishigaki
fdde5b98ef use Test::FailWarnings as Test::NoWarnings does not play well with done_testing 2019-01-06 09:17:14 +09:00
Kenichi Ishigaki
c84a0a9781 use done_testing and remove plan tests 2019-01-06 09:03:41 +09:00
Kenichi Ishigaki
fc55eeb0d7 fixed mixed EOLs and removed redundant blank lines 2019-01-06 05:55:34 +09:00
Kenichi Ishigaki
11c2f4e70f use warnings 2019-01-02 21:17:30 +09:00
Kenichi Ishigaki
12ab284322 removed shebang from tests 2019-01-02 21:10:51 +09:00
Peter Rabbitson
c4eab85ff7 Workaround for upcoming lack of dot in @INC ( RT#120444, sigh )
Zero functional changes, simply executed the following:

find . -name '*.t' -exec perl -0777 -p -i -e 's|^use t::lib::SQLiteTest|use lib "t/lib";\nuse SQLiteTest|m' {} +

Also had to do a manual (but identical) fix in t/01_compile.t
2017-05-05 00:48:33 +02:00
Kenichi Ishigaki
434aea6479 rename t/lib/Test.pm to t/lib/SQLiteTest.pm 2017-03-04 15:04:39 +09:00
Kenichi Ishigaki
12509a7855 fixed RT-99583
- avoid shortening a database filename with Win32::GetShortPathName, because it makes corresponding journal files (-journal, .wal etc) with the shortened filename, and those journal files will not be recognized by other sqlite3 clients (which may lead to inconsistensy/database corruption).
- need to keep using Win32::GetShortPathName to make a parent directory canonical (so that sqlite3 can recognize a path with unicode characters correctly.)
2014-10-20 15:55:26 +09:00
Kenichi Ishigaki
51f8f7a7c1 apparently File::Temp may sometimes spit a warning on perl 5.8.9 with a dev version of File::Path 2014-01-22 12:37:15 +09:00
Kenichi Ishigaki
dce5d047cc resolved #48048 2012-09-01 13:09:29 +00:00
Kenichi Ishigaki
895897258b DBD::SQLite: renamed "unicode" attribute to "sqlite_unicode" 2009-10-21 02:36:14 +00:00
Laurent Dami
3997c0ffaf - Accept empty filename at connect (sqlite will open a tempfile) (DAMI)
- Documented the connect() method (DAMI)
2009-07-23 07:00:26 +00:00
Kenichi Ishigaki
81ee8cbe1e DBD-SQLite: reverted cygwin hacks 2009-05-01 00:50:22 +00:00
Kenichi Ishigaki
3bb67972ff DBD-SQLite: better unicode path handling under cygwin (resolved #45166) 2009-04-21 06:05:16 +00:00
Kenichi Ishigaki
b04ff786fc DBD-SQLite: unicode dirs/files may not be removed by CLEANUP of File::Temp (as they may requrie special treatment on Win32) 2009-04-15 20:31:17 +00:00
Gábor Szabó
e9ee8a3481 add more test cases 2009-04-15 15:00:15 +00:00
Adam Kennedy
1a5d2ed879 Encoding tweaks 2009-04-15 14:49:23 +00:00
Gábor Szabó
84aa375f45 fix test with non-latin characters in path 2009-04-15 14:01:34 +00:00
Gábor Szabó
cc19fceb69 testing path with non-latin characters in it (see http://padre.perlide.org/ticket/218 ) 2009-04-15 03:14:17 +00:00