Commit graph

157 commits

Author SHA1 Message Date
Jenny Tam 012b16a64f Merge pull request #354 from v-kaywon/cover_pdo_dbh
increase coverage for pdo_dbh.cpp
2017-04-13 14:55:31 -07:00
v-kaywon fb7e7bf65b fix test description in pdo_transaction.phpt 2017-04-13 14:01:45 -07:00
v-kaywon bdd8f35a4a fix spacing in pdo_transaction 2017-04-13 13:27:41 -07:00
v-kaywon 18d26338ad change test description in pdo_transaction.phpt 2017-04-13 13:00:54 -07:00
v-kaywon 0d4a2573d4 merge pdo_commit and pdo_rollback and renamed to pdo_transaction.phpt 2017-04-13 09:33:44 -07:00
v-kaywon 733ac45497 fix spacing in pdo_commit.phpt 2017-04-13 09:28:24 -07:00
v-kaywon 2966956f03 fix indentation in pdostatement_get_set_attr.phpt 2017-04-12 12:28:09 -07:00
v-kaywon 6f84d3642d fix indentations and comments 2017-04-12 12:25:40 -07:00
v-kaywon caec680535 added catch block in pdo_warnings.phpt 2017-04-12 11:40:26 -07:00
v-kaywon 6fb68c9b61 commit and rollback tests set stmt to null at the end 2017-04-12 11:33:07 -07:00
v-kaywon e59bde3d38 change pdo_prepare_invalid_encoding.phpt so it prints out errorinfo 2017-04-12 11:24:52 -07:00
v-kaywon 371e019511 change pdo_prepare_invalid_cursor.phpt so it prints out errorinfo 2017-04-12 11:21:54 -07:00
v-kaywon d5238008d7 changed pdo_lastInsertId.phpt so lastInsertId does not take in table names; fixed indentation 2017-04-12 11:10:58 -07:00
v-kaywon 9d136d541e mergerd pdo_construct_dsn_format_incorrect and pdo_construct_no_server and renamed to pdo_construct_dsn_error 2017-04-12 10:05:20 -07:00
v-kaywon 910e337a16 merged two transaction isolation tests 2017-04-12 09:32:54 -07:00
v-kaywon 69976af3a0 fixed pdo commit and rollback tests 2017-04-12 09:26:14 -07:00
yitam df99d62c57 modified tests based on reviews 2017-04-11 09:05:03 -07:00
yitam daa157596e simplified the tests with streams 2017-04-11 08:51:49 -07:00
yitam 5a395d2e95 modified helper methods for temp tables/procs 2017-04-11 08:51:48 -07:00
yitam 849725d742 add new test plus fix some 2017-04-11 08:51:48 -07:00
yitam 56be6ae056 modify sqlsrv_fetch_cursor_static_scroll 2017-04-11 08:51:48 -07:00
yitam 6303abce69 static cursor scrollable 2017-04-11 08:51:48 -07:00
yitam 690819c4e3 a test with cursors 2017-04-11 08:51:48 -07:00
yitam 3589698b7d added fetchmode 2017-04-11 08:51:48 -07:00
yitam e1cfe39de1 another pdo transaction test 2017-04-11 08:51:48 -07:00
yitam f7596cc6ff modified PDO_ConnPool_Unix description 2017-04-11 08:51:48 -07:00
yitam f28c47ed16 renamed Repro 2017-04-11 08:51:48 -07:00
yitam a917cfbf2c make GetTempTableName more robust 2017-04-11 08:51:47 -07:00
yitam 93c486b068 make GetTempTableName more robust 2017-04-11 08:51:47 -07:00
yitam e4f37f3b5d add a transaction test 2017-04-11 08:51:47 -07:00
yitam e8271d6311 fix TestFilename in output.py 2017-04-11 08:51:47 -07:00
yitam ced0b2163f fix output.py 2017-04-11 08:51:47 -07:00
yitam 0b1b370a15 tests with empty or null streams 2017-04-11 08:51:47 -07:00
yitam 4cacc6c770 some invalid scenarios 2017-04-11 08:51:47 -07:00
v-kaywon 3848c41108 added tests for different invalid options for pdo::prepare 2017-04-07 17:09:18 -07:00
v-kaywon 83af4d0228 test 2017-04-06 16:35:03 -07:00
v-kaywon fc37444cbe changed description in pdo_set_attr_invalid.phtp 2017-04-06 16:25:21 -07:00
v-kaywon d682702152 added test for setting and getting pdo statement attributes 2017-04-04 17:53:11 -07:00
v-kaywon ed4e8649af close connection in pdo_warnings.phpt 2017-04-04 17:30:17 -07:00
v-kaywon 7901d72f03 add test for warnings at connection and statement levels 2017-04-04 17:13:17 -07:00
v-kaywon 8b233b9096 fix expected position of double semicolon to use regex due to different length of server name 2017-04-04 15:43:19 -07:00
v-kaywon 4b8d8411a7 add test for different formatted dsn string in pdo construct 2017-04-04 15:28:33 -07:00
David Puglielli f330830eef Connection resiliency changes (#356)
* Connection resiliency changes

* Changed connres test to check appveyor protocol

* Changed connres test to check appveyor protocol

* Changed connres test to check appveyor protocol

* Reverted test because appveyor still won't use the correct protocol

* Removed unnecessary connres #defines from msodbcsql.h
2017-04-04 13:40:30 -07:00
v-kaywon 65c79ef344 added test for pdo construct without server specified 2017-04-04 12:35:08 -07:00
v-kaywon 4ff9aae585 test for direction execution of an invalid query 2017-04-04 11:42:53 -07:00
Jenny Tam 52e05992bd Merge pull request #344 from v-kaywon/error_numcol
workaround for unixODBC bug returning error when getting numcol
2017-04-04 11:40:15 -07:00
v-kaywon a2740bb95a added test for setting invalid connection attributes 2017-04-04 09:44:27 -07:00
v-kaywon fe0f48151b added test for setting invalid encoding attributes 2017-04-03 17:17:32 -07:00
v-kaywon a2f16cb575 add test for getting invalid connection attributes 2017-04-03 17:00:23 -07:00
v-kaywon 95e5fdd055 added tests for prepare options and invalid option 2017-04-03 15:42:41 -07:00