Commit graph

1031 commits

Author SHA1 Message Date
David Puglielli c8881946c5
Merge pull request #715 from david-puglielli/ae-tests
AE tests for dates as strings, CAST conversions, and PHPTYPE retrieval
2018-03-22 15:40:53 -07:00
David Puglielli 7ee500198a debugging error again 2018-03-22 14:48:24 -07:00
David Puglielli 84b94fa83f debugging error again 2018-03-22 14:07:03 -07:00
David Puglielli e6b36d44b6 debugging error again 2018-03-22 13:00:08 -07:00
David Puglielli 978d4d7813 changed some data to fix unicode error 2018-03-22 12:09:36 -07:00
David Puglielli e5912e32b9 Removed debugging output 2018-03-21 12:56:14 -07:00
David Puglielli 52fd19eb47 Added debugging output back 2018-03-21 11:47:02 -07:00
David Puglielli 927a9a479d Removed debugging output 2018-03-21 10:55:19 -07:00
David Puglielli f9c2ff0242 Still debugging 2018-03-20 18:02:25 -07:00
David Puglielli 17c7957fc0
Merge pull request #697 from david-puglielli/datetime-test
Test ReturnDatesAsStrings true with AE
2018-03-20 17:50:28 -07:00
David Puglielli e38f5fb048 Still debugging 2018-03-20 17:37:28 -07:00
David Puglielli 7f943763fb Still debugging 2018-03-20 16:46:50 -07:00
David Puglielli 345e1c84bc Still debugging 2018-03-20 15:47:30 -07:00
David Puglielli e8cc0d5c98 Debugging datetime test 2018-03-20 15:33:20 -07:00
David Puglielli 410e8ebf81 Debugging datetime test 2018-03-20 14:10:37 -07:00
David Puglielli af8baf1451 Debugging datetime test 2018-03-20 13:44:47 -07:00
David Puglielli edb7bd03d3 Debugging datetime test 2018-03-20 12:48:39 -07:00
David Puglielli a630c44a5c Updated datetime test 2018-03-20 12:26:27 -07:00
David Puglielli 1666e6247f Updated datetime test 2018-03-19 14:08:29 -07:00
v-kaywon f40eeac83c fetching float as integers doesn't work for PHP 7.0 2018-03-19 12:15:49 -07:00
v-susanh b5821b28f8
Updated to handle non-encrypted data (#724)
updated to handle non-encrypted data
2018-03-17 00:22:50 -07:00
David Puglielli 7c43740557 Still trying to debug appveyor failure 2018-03-16 23:32:11 -07:00
David Puglielli 78e4fba483 Still trying to debug appveyor failure 2018-03-16 21:12:35 -07:00
David Puglielli a818d76a44 Trying to debug appveyor failure 2018-03-16 16:38:49 -07:00
David Puglielli 917c5bf6f8 Trying to debug appveyor failure 2018-03-16 13:32:22 -07:00
David Puglielli bfd3d9daf6 Trying to debug appveyor failure 2018-03-16 12:45:49 -07:00
David Puglielli 45ccb85e6e Trying to debug appveyor failure 2018-03-16 11:54:10 -07:00
David Puglielli 2a267132eb Trying to debug appveyor failure 2018-03-16 10:45:02 -07:00
v-susanh af54c9eaeb
sqlsrv tests for output parms with sqltypes (#720)
* sqlsrv tests for output parms with sqltypes
2018-03-15 22:29:41 -07:00
v-kaywon 6a96ef482e increase epsilon comparing floats in pdo_ae_output_param_floats.phpt 2018-03-15 16:11:35 -07:00
Yuki Wong e55d3c8eed
Merge pull request #721 from v-kaywon/aetests2
Add tests for SQLSRV output parameters with different sizes, precision and scale
2018-03-15 15:34:33 -07:00
v-kaywon 600e338a1f address review comments 2018-03-15 13:08:04 -07:00
David Puglielli 8ed98a7dd9 Dropped table at end 2018-03-15 12:51:23 -07:00
David Puglielli 21a9cd982e Tweaked output 2018-03-15 11:10:00 -07:00
David Puglielli b68befa939 Test fixes 2018-03-14 21:21:14 -07:00
David Puglielli ebfc750023 More fixes per review comments 2018-03-14 16:45:54 -07:00
David Puglielli d025172a8e Fixes per review comments 2018-03-14 16:14:04 -07:00
David Puglielli 4866b9c75e updated datetime test 2018-03-14 12:54:24 -07:00
David Puglielli c4a6068533 changed dateinterval comparison for travis failure 2018-03-14 11:35:09 -07:00
v-kaywon e6af597cad use isDataEncrypted helper function for output tests 2018-03-14 10:55:36 -07:00
Yuki Wong e226968788
Merge pull request #698 from v-kaywon/aetests
add tests for testing insertion with the pdo drivers with all data ty…
2018-03-14 10:50:16 -07:00
v-kaywon d88967cf4a address review comments 2018-03-13 16:15:42 -07:00
Jenny Tam 675d3a82b5 Applied review comments 2018-03-13 14:49:28 -07:00
Jenny Tam 7a6a8d5a72 PDO tests for retrieving data as output params using various PDO param types 2018-03-13 14:04:40 -07:00
v-kaywon 87cd9b45e2 test numeric test 2018-03-13 13:59:39 -07:00
v-kaywon c1afad2d57 fix tests according to review comments 2018-03-13 12:50:20 -07:00
David Puglielli d84713361e Description updated 2018-03-12 16:49:14 -07:00
David Puglielli 68647e9d21 Fixed more characters 2018-03-12 16:37:53 -07:00
David Puglielli 536daa5422 Fixed strange characters causing test failures 2018-03-12 16:11:07 -07:00
David Puglielli aaff6f8a54 Fixed one test 2018-03-12 15:19:10 -07:00
David Puglielli 465bc6a08a More fixes 2018-03-10 00:42:46 -08:00
David Puglielli 62bff99ad0 Attempt to fix overlong row error 2018-03-09 22:43:42 -08:00
v-kaywon b65d34fb23 fix char and nchar tests 2018-03-09 17:42:43 -08:00
David Puglielli 17c3105522 removed connection keyword 2018-03-09 17:33:00 -08:00
David Puglielli 89df629d37 reverted skipif change 2018-03-09 17:11:00 -08:00
David Puglielli 88faf3bd68 Merge remote-tracking branch 'upstream/AlwaysEncrypted' into ae-tests 2018-03-09 17:04:57 -08:00
v-kaywon bc387c8b4b add tests for output decimal 2018-03-09 16:57:04 -08:00
David Puglielli c3aa7baa86 updated skipif sections 2018-03-09 16:41:32 -08:00
David Puglielli 739a6d02b1 Minor fixes 2018-03-09 16:15:45 -08:00
v-kaywon 035b1573ca tests combination between output sqltypes and column types withdifferent sizes, scales, and precision 2018-03-09 15:52:47 -08:00
David Puglielli a69daf2beb Fixed coding style to comply with standard 2018-03-09 14:51:33 -08:00
David Puglielli f8af52bf26 Update datetime test, added more comments 2018-03-09 14:28:25 -08:00
David Puglielli 194d4fe0d6 Tests for phptypes, select conversions, and datetimes 2018-03-09 11:37:44 -08:00
v-kaywon 24938f5232 fix pdo_ae_insert_pdoparam_numeric.phpt 2018-03-06 14:02:48 -08:00
v-kaywon 3d94c21950 fix pdo_ae_insert_pdoparam_numeric for x86 platform 2018-03-06 11:58:56 -08:00
v-kaywon 7870d88245 fix some tests 2018-03-05 15:32:08 -08:00
v-kaywon 85871448bc fix some tests 2018-03-05 13:21:19 -08:00
v-kaywon 2925f6d444 polished insert pdoparam decimal precision test 2018-03-05 12:24:47 -08:00
v-kaywon 03845da0c8 polich PDO side ae related tests 2018-03-02 16:34:47 -08:00
v-kaywon 239d71569c added tests from testing ae types conversion for insertion in SQLSRV 2018-03-01 17:37:04 -08:00
v-kaywon 5eaaa78292 add tests for fetching with bindColumn 2018-02-27 13:38:49 -08:00
v-kaywon 015be292d9 add tests for testing insertion with the pdo drivers with all data types and variation of precisions and scales 2018-02-26 15:56:05 -08:00
David Puglielli dbf06dbf18 New test for returning dates as strings 2018-02-26 14:24:25 -08:00
Jenny Tam 8292fb7a15 Modified tests to check the right error messages 2018-02-08 13:25:08 -08:00
Jenny Tam efd9ffbf0d Fixed a sqlsrv test 2018-02-08 10:12:20 -08:00
Jenny Tam ebbb676b8a Fixed the failing tests 2018-02-08 09:51:52 -08:00
Jenny Tam bad65817e1 ColumnEncryption keyword reserved for Windows for now 2018-02-08 09:30:07 -08:00
Jenny Tam db56c0344e Removed support for Custom Keystore provider 2018-02-08 09:00:16 -08:00
Jenny Tam ac47841be9 Removed one argument 2018-01-31 08:42:45 -08:00
Jenny Tam 907e8c8e5c Modified tests and setup to run AE tests in Azure 2018-01-31 08:27:06 -08:00
Jenny Tam 06c75b9e24 Test case from Issue 623 2018-01-22 13:58:09 -08:00
v-kaywon 5c1cb604fa fix pdostatement_fetch_orientation.phpt 2018-01-18 16:16:09 -08:00
v-kaywon 007e15c318 fix tests that uses scrollable cursor with AE 2018-01-18 15:35:13 -08:00
v-kaywon 132dc7e9e9 correct tests with streaming 2018-01-16 15:47:36 -08:00
Jenny Tam 6c9c55a01c Modified 0065 as per review 2018-01-04 15:21:10 -08:00
Jenny Tam 3955553e66 Modified one test expected value 2018-01-04 10:18:43 -08:00
Jenny Tam c416fa72c2 Modified tests to reset locale 2018-01-04 08:53:20 -08:00
Jenny Tam 79b49fd93b Fixed regex for ODBC driver names (#653) 2018-01-02 17:53:30 -08:00
Jenny Tam e3b012989f
Merge pull request #650 from yitam/macLocale
Fix tests with locales
2018-01-02 15:21:37 -08:00
Jenny Tam f642954d35 Renamed setUSLocale as per review 2018-01-02 14:42:08 -08:00
Jenny Tam 62944347ef Fix tests with locales 2017-12-29 12:00:00 -08:00
Jenny Tam 24153e50f2 Yet another alternative for driver name 2017-12-28 12:03:24 -08:00
Jenny Tam 2759a1f314 Added alternative for driver name 2017-12-28 11:45:03 -08:00
Jenny Tam 384d1bcd5f Adjusted regex for odbc name with dylib 2017-12-28 10:30:17 -08:00
Jenny Tam 870c23f7a7
Merge pull request #638 from yitam/localeIssue
Modified sqlsrv tests with specific locale testing
2017-12-27 13:36:38 -08:00
Jenny Tam ade886a131 Changed helper methods as per review 2017-12-20 21:06:07 -08:00
Jenny Tam 6b209526cd Added skipif and modified the check of isLocaleSupported() 2017-12-20 10:18:46 -08:00
Jenny Tam 720346f459 Modified three tests to test with or without UTF-8 data 2017-12-20 09:31:44 -08:00
Jenny Tam f3d04343aa Modified local supported method 2017-12-20 08:28:34 -08:00
v-kaywon 99f27700b1 add comments about ae not supporting parameters in select list 2017-12-19 15:17:01 -08:00
Jenny Tam d7a1aca5c7 Testing locale issues 2017-12-19 14:35:28 -08:00
v-kaywon 294537ecb3 add helper function for checking error messages 2017-12-19 11:41:28 -08:00
v-kaywon 57d7400f2c fix tests related to having parameter markers in the select list 2017-12-18 16:00:02 -08:00
Jenny Tam 7100292331 Fixed memory issue 2017-12-15 11:27:53 -08:00
Jenny Tam 96942d49cf Use empty rather than sizeof (issue with PHP 7.2) 2017-12-14 13:45:56 -08:00
Jenny Tam 20b178ae7a Fix PDO67_BindTruncation test 2017-12-14 08:12:42 -08:00
Jenny Tam 292811ffee Applied changes as per review 2017-12-13 12:51:22 -08:00
Jenny Tam 6a7a0d78e0 Merge branch 'dev' into sqlsrvAE 2017-12-13 11:10:01 -08:00
Jenny Tam f330b6e674 Actually two differetnt expected results 2017-12-13 08:16:27 -08:00
v-kaywon bc9ca5e486 fix AE related tests 2017-12-12 17:12:48 -08:00
Jenny Tam 783c096496 Merge branch 'dev' into sqlsrvAE 2017-12-12 16:35:59 -08:00
Jenny Tam eb9dc2fa61 Corrected the expected result 2017-12-12 16:04:34 -08:00
Jenny Tam 0de708e3ab Modify sqlsrv tests to handle the new error message with stream data 2017-12-12 15:32:39 -08:00
v-kaywon feebf20d4e fix setting encryption type in MsCommon_mid-refactor.inc 2017-12-12 14:36:02 -08:00
Jenny Tam f4964b4a3e
removed the space character as per review 2017-12-11 15:31:38 -08:00
Jenny Tam e234f2cd50 Check if the parameter is empty instead of using sizeof (issue with PHP 7.2) 2017-12-11 13:56:49 -08:00
Yuki Wong 54ca7ffed6
Merge pull request #621 from v-kaywon/AEStreamError
add error handling for fetching stream with always encrypted
2017-12-08 17:35:29 -08:00
v-kaywon 2bf915c7f8 shrink down error checks in sqlsrv_fetch_large_stream.phpt 2017-12-08 16:52:41 -08:00
v-kaywon 9f8078dde9 fix spacing in core_stmt.cpp 2017-12-08 16:15:24 -08:00
Jenny Tam 639e9f8bd4
Merge pull request #610 from yitam/sqlsrv_params
Refactoring sqlsrv tests with parameterized queries
2017-12-08 15:27:56 -08:00
Yuki Wong 491efd7ffc
Merge pull request #612 from v-kaywon/refactorPDOTests4
refactor PDO_SQLSRV bind param related tests
2017-12-08 15:24:06 -08:00
Jenny Tam 08d0a7fddf Modified one more test 2017-12-08 12:17:22 -08:00
v-kaywon b808f3bd87 change normal encryption to none encryption 2017-12-08 12:11:53 -08:00
Jenny Tam 5a270e2d57 Applied changes to the tests based on review 2017-12-08 11:50:44 -08:00
v-kaywon b9579a2426 add error handling for fetching stream with always encrypted 2017-12-07 17:29:06 -08:00
v-kaywon c5d02cbeec apply review comments 2 2017-12-07 14:10:10 -08:00
v-kaywon 98d7307860 do not encrypt column needed for ORDER BY clause 2017-12-06 11:54:10 -08:00
v-susanh 05f9a54442
updated data to avoid roundoff in php 7.1 and earlier versions (#620) 2017-12-06 11:16:17 -08:00
v-kaywon 9196c557f8 update MsCommon_mid-refactor.inc to not require AE_Ksp 2017-12-05 16:34:18 -08:00
v-kaywon 8297fce1b9 apply review comments 2017-12-05 16:32:18 -08:00
Jenny Tam cf9e54fb74 Made more changes as per review 2017-12-05 13:43:53 -08:00
Yuki Wong 75eac3425f
Merge pull request #619 from v-kaywon/fixPDOTests
use varaibles for ksp related constants
2017-12-05 13:11:24 -08:00
v-kaywon 44b31bf728 use varaibles for ksp related constants 2017-12-05 12:23:29 -08:00
Yuki Wong 1349f6b0d0
Merge pull request #616 from v-kaywon/fixPDOTests
define getKSPPath function and ksp related variabled in MsCommon_mid-refactor.inc
2017-12-05 11:24:42 -08:00
v-kaywon aa04104bb2 refactor KSP related tests 2017-12-05 09:54:11 -08:00
Jenny Tam 69793cdafc made changes as per review 2017-12-05 09:26:54 -08:00
v-kaywon 0bb4703e2b define getKSPPath function and ksp related variabled in MsCommon_mid-refactor.inc 2017-12-04 15:11:57 -08:00
Yuki Wong ee4161aac3
Merge pull request #613 from v-kaywon/fixPDOTests
fix double reclaring KSP function; fixed tests with emulate prepare
2017-12-04 11:07:14 -08:00
v-kaywon 3e1a346ef7 cosmetic changes 2017-12-04 10:09:59 -08:00
v-susanh b3dec24361
fixed return for IsLocaleSupported (#614) 2017-12-01 15:57:51 -08:00
v-kaywon 5923b42727 fix double reclaring KSP function; fixed tests with emulate prepare or direct query 2017-11-30 17:34:20 -08:00
v-kaywon 3b65f26776 fix line endings 2017-11-30 16:26:39 -08:00
v-kaywon f3e31b834d refactor PDO_SQLSRV bind param related tests 2017-11-30 14:37:25 -08:00
Jenny Tam 581a98085f Fixed the test to work when data not encrypted 2017-11-30 14:25:57 -08:00
Jenny Tam ea83d94250 Another batch of tests 2017-11-30 11:10:27 -08:00
Jenny Tam 489d3e8018 Added more tests to the pile 2017-11-29 14:40:47 -08:00
Jenny Tam 0a2e6ad242 Refactoring sqlsrv tests with parameterized queries 2017-11-28 16:40:49 -08:00
Jenny Tam 0a30d49941
Merge pull request #597 from yitam/codecov
Analyse coverage only in 2016
2017-11-22 22:50:42 -08:00
Yuki Wong f2884e0979
Merge pull request #594 from v-kaywon/adjustprecision
Adjust precision for decimal input when column encryption is enabled
2017-11-22 13:58:53 -08:00
Jenny Tam 29d348f424 Merge branch 'dev' into codecov 2017-11-22 12:38:33 -08:00
Jenny Tam 33b4922921 Merge branch 'dev' into codecov 2017-11-21 16:33:38 -08:00
Jenny Tam ab5bdb4ac0 Merge branch 'dev' into describeParam 2017-11-21 15:29:09 -08:00
v-susanh 54f1e5e22f
support for non-utf8 locales (#598)
* support non-utf8 locales
2017-11-20 17:56:45 -08:00
v-kaywon 20480812c2 remove include string in core_stmt.cpp 2017-11-20 16:06:39 -08:00
Yuki Wong 325e5d20fe
Merge pull request #603 from v-kaywon/512changelog
512changelog
2017-11-20 15:39:37 -08:00
v-kaywon d35087c608 fix two odbc version test 2017-11-20 13:01:10 -08:00
Jenny Tam ee511175af Overhauled output.py to make it read the log file only once 2017-11-20 10:54:05 -08:00
Jenny Tam 8e79994974 Debugging output.py 2017-11-19 21:32:47 -08:00
Jenny Tam 4fc0c8f80e Modified connection tests 2017-11-18 22:06:29 -08:00
David Puglielli 7de536be2e
Merge pull request #600 from david-puglielli/nextrowset-revert
Fixed test issue with PHP 7.2
2017-11-17 20:15:27 -05:00
v-kaywon f815043a05 change description of inputs 2017-11-17 16:57:23 -08:00
David Puglielli 873fe47b1d Fixed typo 2017-11-17 15:26:02 -08:00
David Puglielli 1efbab666a Fixed test issue with PHP 7.2 2017-11-17 15:04:12 -08:00
v-kaywon 90029e7e54 add test for scientific notation 2017-11-17 10:21:03 -08:00
David Puglielli 01dd22cac2
Merge pull request #595 from david-puglielli/nextrowset-revert
Revert nextRowset changes
2017-11-16 22:06:12 -05:00
David Puglielli 0088d6191b Fixed space in error message 2017-11-16 17:55:33 -08:00
David Puglielli b2e962100d Refactored tests 2017-11-16 16:43:45 -08:00
v-kaywon 4fb2c80e69 change expected output 2017-11-16 11:32:24 -08:00
Jenny Tam ef45560db0 Modified how to bind parameters when AE is enabled 2017-11-16 10:30:44 -08:00
v-kaywon 04d509ef9d change values in tests to only up to 38 decimal digits 2017-11-16 10:09:10 -08:00
David Puglielli 633024c22b Revert next result changes, improve tests 2017-11-15 17:39:00 -08:00
v-kaywon 9d6aba62ce implement adjustInputPrecision 2017-11-15 16:36:10 -08:00
Jenny Tam 04f50341bc
Merge pull request #592 from yitam/nextResult
Fix to GitHub issues 574 and 580
2017-11-15 15:36:46 -08:00
Jenny Tam 04a1637f22
Merge pull request #590 from yitam/sqlsrvBuffer
Refactor sqlsrv tests with buffer or cursor
2017-11-15 11:02:59 -08:00
Jenny Tam d633691b5b Raised the initial buffer size and modified tests as per review 2017-11-10 15:04:07 -08:00
Jenny Tam 094e32dc19 Used sqlsrv_query() instead 2017-11-10 14:23:38 -08:00
Jenny Tam 52b612ece8 Fix to GitHub issue 574 2017-11-09 15:24:08 -08:00
Jenny Tam 1daa4f0623 Modified files as per review comments 2017-11-09 09:29:13 -08:00
Jenny Tam 41eec918c9 Merged ksp inc into MsHelper and refactored KSP tests 2017-11-08 15:04:04 -08:00
Jenny Tam 47c5512cf1 Applied review comments 2017-11-08 11:28:15 -08:00
Yuki Wong 07ac237def
Merge pull request #582 from v-kaywon/refactorPDOTests3
Refactor PDO tests with client buffer or table with all datatypes
2017-11-08 11:23:36 -08:00
v-kaywon 12f5e727b5 apply review commnets 2017-11-07 17:12:43 -08:00
David Puglielli 4d627a0880 Fixed phantom characters 2017-11-07 16:38:03 -08:00
David Puglielli e2e82b245b Fixed line endings 2017-11-07 16:06:19 -08:00
v-kaywon bedfd462f7 fix decimal related tests to work on SQL Server 2k12 2017-11-07 15:59:28 -08:00
Jenny Tam 6a14325f37 Refactor sqlsrv tests with buffer or cursor 2017-11-07 15:31:55 -08:00
David Puglielli e79f46b709 Fixed line endings 2017-11-07 15:28:24 -08:00
David Puglielli 91418df548 Added tests for manual verification 2017-11-07 15:04:50 -08:00
v-kaywon 7c02574cfc refactor pdostatement_GetDataType.phpt to use common method for different columns 2017-11-07 12:56:00 -08:00
v-kaywon 3d2c54ac2c test column encryption unsupported types in MsData_PDO_AllTypes.inc 2017-11-07 12:06:49 -08:00
v-kaywon 708a29c45d remove odl MsData.inc 2017-11-07 12:04:19 -08:00
v-kaywon b695cc1655 test column encryption unsupported types 2017-11-07 11:45:13 -08:00
v-kaywon ce23b38557 change to default API used for inserting row in pdo_ae_output_param.phpt 2017-11-07 10:01:14 -08:00
v-kaywon 8ea405b69e update AEData.inc and MsCommon_mid-refactor.inc for the ae related tests 2017-11-07 08:59:38 -08:00
v-kaywon 1e69c86d69 add refactored ae related tests 2017-11-06 17:30:11 -08:00
v-kaywon e09dd9163d add exception handling for pdo_transaction.phpt 2017-11-03 17:10:45 -07:00
v-kaywon a60992f8a5 address review comments 2017-11-03 17:01:09 -07:00
v-kaywon 0c74a27186 address review comments 2017-11-03 14:35:16 -07:00
Jenny Tam b44a5dd1fb Modified comments as per review feedback 2017-11-03 11:14:55 -07:00
Jenny Tam e5a3767089 Added error handling for LOB types as output parameters 2017-11-03 10:00:08 -07:00
v-kaywon 529c5aa77b fix typo in pdo_utf8_conn.phpt 2017-11-02 10:33:18 -07:00
v-kaywon a68abdbc6c change include file to MsCommon_mid-refactor.inc in pdo_quote.phpt 2017-11-02 09:51:01 -07:00
Yuki Wong 9bbc673023
Merge pull request #579 from v-kaywon/error_direct_emulate
added error handling for using direct_query and emulate_prepare in a Column Encryption enabled connection
2017-11-02 09:36:33 -07:00
v-kaywon 1317d67170 remove xfail from pdostatement_nextRowset.phpt 2017-11-01 17:24:17 -07:00
v-kaywon 50d3c19c47 refactor PDO tests with client buffer or table with all datatypes 2017-11-01 17:09:58 -07:00
v-kaywon 8083c65e5c change test title in test 2017-11-01 16:46:56 -07:00
Jenny Tam bd001a5b1a
Merge pull request #575 from yitam/Refactor2
Refactored SQLSRV tests to test AE with various data types
2017-10-31 14:59:59 -07:00
v-kaywon 2ce10aceb0 change error messages 2017-10-31 09:41:34 -07:00
Jenny Tam 4ac4245672 Added insertRowEx function 2017-10-30 14:20:31 -07:00
Jenny Tam 83a378b4c2 Missed a few tests for skipif 2017-10-27 09:44:46 -07:00
Jenny Tam 886a7d78b8 Use the correct skipif 2017-10-27 09:32:57 -07:00
Jenny Tam 886b0af488 Modified tests based on review 2017-10-27 09:08:53 -07:00
v-kaywon 631f80a9af added error handling for using direct_query and emulate_prepare in a Column Encryption enabled connection 2017-10-26 13:58:38 -07:00
Jenny Tam 786bd507d2 Fixed tests with money or binary types 2017-10-26 12:46:45 -07:00
Jenny Tam 4d364e1a5b Modified tests as per review comments 2017-10-26 10:48:36 -07:00
Jenny Tam 2bcaf17c0a Changed huge bigint values to strings 2017-10-24 14:07:45 -07:00
Jenny Tam 63d7a99c91 Print error messages for fatal errors 2017-10-24 09:22:30 -07:00
Jenny Tam c55ad3ed9f Refactored SQLSRV tests to test AE with various data types 2017-10-23 17:04:35 -07:00
v-kaywon 7a496acfbe change test title in pdo_decimal_precision.phpt and sqlsrv_decimal_precision.phpt 2017-10-20 15:10:56 -07:00
v-kaywon 02e145d988 fix for right truncation error when precision of the column definition and input is not aligned 2017-10-18 18:10:30 -07:00
v-kaywon a5125dff54 undo changes in appveyor.yml 2017-10-17 16:13:42 -07:00
v-kaywon acee5c4686 detect appveyor problem 2017-10-17 14:50:33 -07:00
v-kaywon e190bca4dd fix bigint input in sqlsrv_bigint_outparam.phpt 2017-10-16 09:42:06 -07:00
v-kaywon 83ca7b498b add comment do pdo_bigint_outparam.phpt and sqlsrv_bitint_outparam.phpt 2017-10-13 16:00:57 -07:00
v-kaywon b5a0d1f859 cosmetic changes 2017-10-13 15:50:50 -07:00
v-kaywon 628e04e402 fix spacing in expected output in pdo_bigint_outparam.phpt and sqlsrv_bigint_outparam.phpt 2017-10-12 12:20:30 -07:00
v-kaywon c30f2d6100 change encoding to SYSTEM when converting int to string for inout and output param 2017-10-12 11:33:45 -07:00
v-kaywon a0e886273f convert long output param to string, then convert back to long if less than max int 2017-10-11 18:03:14 -07:00
Yuki Wong edac5b2d25 Merge pull request #557 from v-kaywon/refactorPDOTests
Refactor pdo tests
2017-10-11 10:45:30 -07:00
Jenny Tam 232078239f Merge pull request #566 from yitam/Refactor1
Refactoring sqlsrv tests using a newly added AE namespace
2017-10-11 09:57:21 -07:00
v-kaywon 1d31afe531 change regex to use ODBC Driver 1[1-9] in pdo_warnings.phpt 2017-10-11 09:55:19 -07:00
v-kaywon 73680725d7 remove XFAIL section from pdo_prepare_emulatePrepare_decimal.phpt 2017-10-10 17:39:52 -07:00
Jenny Tam 616f70ded6 applied changes as per review comments 2017-10-10 16:54:20 -07:00
v-kaywon c7343bd0f4 fix MsCommon_mid-refactor 2017-10-10 16:32:11 -07:00
v-kaywon c38c94c3fa updated MsCommon_mid-refactor.inc; change connect function to use ERRMODE constants 2017-10-10 16:12:04 -07:00
v-kaywon 318e5312c2 apply review changes 2017-10-10 15:56:41 -07:00
v-kaywon d10af00511 apply review changes 2017-10-10 11:34:59 -07:00
Jenny Tam f76ec856ee used sqlsrv_query when AE is not enabled 2017-10-10 10:11:45 -07:00
Jenny Tam 8cd6d9182a removed the debug lines 2017-10-10 08:53:40 -07:00
Jenny Tam 6eed2f8b5f use prepare for insert when AE is enabled 2017-10-06 16:34:49 -07:00
Jenny Tam 371a8c0442 fixed a typo in insertRow() 2017-10-06 15:02:19 -07:00
Jenny Tam 3da164c638 used AE\connect() in skipif 2017-10-06 14:55:08 -07:00
David Puglielli 31714848dc Merge pull request #560 from david-puglielli/skip-fix-connres-aad
Skip fix connres aad
2017-10-05 17:46:33 -04:00
David Puglielli 5362b2ef4f Changed skipif file names to less than 2017-10-05 13:24:46 -07:00
Jenny Tam 0a155f07a1 merged dev changes to datetime test 2017-10-05 08:30:23 -07:00
Jenny Tam 2fcdbaca4d Merge branch 'dev' into Refactor1 2017-10-05 08:25:58 -07:00
Jenny Tam 30a1da3c04 Merge branch 'Refactor1' of https://github.com/yitam/msphpsql into Refactor1 2017-10-04 16:52:42 -07:00
Jenny Tam cf31031b53 Use constants plus changes to BindParamOption and insertRow 2017-10-04 16:51:15 -07:00
v-kaywon 55a02df5ba remove XFAIL section from tests 2017-10-04 16:26:50 -07:00
Jenny Tam f9825909f3 Update MsSetup.inc 2017-10-04 14:44:41 -07:00
Jenny Tam a7e0baf897 Merge branch 'dev' into Refactor1 2017-10-04 14:42:33 -07:00
v-kaywon e9e19fdf4b Merge branch 'refactorPDOTests' of https://github.com/v-kaywon/msphpsql into refactorPDOTests 2017-10-04 14:38:26 -07:00
v-kaywon dd21442f5d fix typo in tests when column encryption is off 2017-10-04 14:36:47 -07:00
Jenny Tam 39c4be46ec Refactoring sqlsrv tests using a new AE namespace plus mostly cosmetic changes 2017-10-04 14:22:56 -07:00
v-kaywon cee7884a19 fix sqlsrv_ae_insert_sqltype_datetime.phpt 2017-10-04 13:54:52 -07:00
Yuki Wong 07b11f1b16 Merge branch 'dev' into refactorPDOTests 2017-10-04 13:38:07 -07:00
v-kaywon 944ec31f82 follow coding standard for refactored tests 2017-10-04 13:16:25 -07:00
Jenny Tam ce8d444977 Merge pull request #552 from yitam/missingDriver
Search for installed ODBC driver(s) in non-Windows env and more error handling when driver option is set
2017-10-03 15:05:49 -07:00
David Puglielli a1d613054e Merge pull request #520 from david-puglielli/nextrowset-fix
Added empty result set check to nextRowset()
2017-10-03 14:31:56 -04:00
David Puglielli 70b20a2bb9 Fixed regex output 2017-10-02 16:19:23 -07:00
Jenny Tam f9cc00791a Merge branch 'dev' into missingDriver 2017-10-02 15:36:41 -07:00
David Puglielli cc0d71d163 Fixed EXPECTF test output 2017-10-02 14:10:12 -07:00
David Puglielli 95f76757d0 Merge branch 'nextrowset-fix' of https://github.com/david-puglielli/msphpsql into nextrowset-fix 2017-10-02 13:47:29 -07:00
David Puglielli 5f243357a5 fixed line endings 2017-09-29 21:11:45 -07:00
David Puglielli 9fc7e4bf4b added skipifs to connres and aad tests 2017-09-29 21:06:05 -07:00
David Puglielli 4151f8f5d1 Minor fixes 2017-09-29 20:47:24 -07:00
David Puglielli 329fa3409e Added skipif for SQL Server 2014 2017-09-29 17:25:14 -07:00
Jenny Tam bbc2701140 Made changes as per review comments 2017-09-29 15:54:34 -07:00
David Puglielli dc6e2a34fa Update sqlsrv_empty_result_error.phpt 2017-09-29 14:52:51 -07:00
David Puglielli 0728a1da5a Update pdo_empty_result_error.phpt 2017-09-29 14:52:33 -07:00
David Puglielli 494527d465 Tweaked tests, added comments per code review comments 2017-09-29 14:30:29 -07:00
Jenny Tam 302f8540c8 Merge branch 'dev' into missingDriver 2017-09-29 11:37:05 -07:00
David Puglielli f7ff2825fe updated suse install commands to build pyodbc from source 2017-09-29 11:14:49 -07:00
David Puglielli 7315d4426a Fixed test output 2017-09-28 15:19:38 -07:00
David Puglielli 257b1cd671 Fixed test outputs 2017-09-28 15:00:14 -07:00
David Puglielli 3acab1ae0c Fixed tests and added code comments 2017-09-28 14:16:50 -07:00
Jenny Tam 76e628c963 resumed error handling when driver option is set and added test cases 2017-09-28 13:22:00 -07:00
Yuki Wong 61f881136a Merge pull request #550 from v-kaywon/fixPODQuoteNul
Fix PDO::quote with string containing ASCII NUL character
2017-09-28 12:23:10 -07:00
v-kaywon a5b0dbb8e4 refactored first 60 PDO functional tests 2017-09-28 09:48:08 -07:00
Jenny Tam 4bb6f4df2e changed the default odbc versions in the tests 2017-09-28 08:45:48 -07:00
Jenny Tam 135286056d modified error messages in the tests 2017-09-27 17:03:04 -07:00
Jenny Tam 5189a9eb65 removed the checks for IM002 because of DM inconsistencies 2017-09-27 16:44:51 -07:00
Jenny Tam 0cbc00384c added more error checking when driver option is set 2017-09-27 15:16:17 -07:00
Jenny Tam 144ed8c8f3 added tests for AE and odbc 13 combination 2017-09-27 10:12:25 -07:00
David Puglielli 270f2b446e Use core_sqlsrv_has_any_result to check for null results 2017-09-26 16:02:30 -07:00
David Puglielli be2be4bb27 Merge remote-tracking branch 'upstream/dev' into nextrowset-fix 2017-09-26 15:04:40 -07:00
v-kaywon 5ac1c73533 add description to test 2017-09-26 11:33:56 -07:00
v-susanh 6d3ea18fed moved test descriptions to DESCRIPTION section (#554) 2017-09-25 16:37:27 -07:00
Yuki Wong 14c2af281e Merge pull request #544 from v-kaywon/changeUTC
fix handling decimal type with no decimal with always encrypted
2017-09-25 13:33:56 -07:00
v-kaywon 0d5bd2490b change variable name isCompat to isCompatible 2017-09-25 12:29:15 -07:00
Jenny Tam cba037a809 Merge pull request #463 from yitam/userScripts
adding test users for testing in Azure -- the password tests for both drivers require re-design
2017-09-25 12:27:30 -07:00
David Puglielli 8666ea63c7 Fixed bug for sqlsrv too, sqlsrv test added 2017-09-21 17:55:59 -07:00
v-kaywon 57a41d71e9 fix PDO::quote api when input string contain a NUL ASCII character 2017-09-21 15:59:54 -07:00
v-kaywon d72504b730 add comments to sqltype compatibility tests 2017-09-21 15:48:48 -07:00
David Puglielli abee6af586 Merge pull request #518 from david-puglielli/performance-results
Performance test results added
2017-09-20 17:00:05 -04:00
v-kaywon e612621b5a change compatible types list for sqltype in binding param and column datatypes 2017-09-19 16:38:12 -07:00
v-kaywon 36fef13297 fix handling decimal type with no decimal with always encrypted 2017-09-19 12:48:21 -07:00
Yuki Wong 0e7e231e9b Merge pull request #542 from v-kaywon/changeUTC
fix fixed_size test
2017-09-18 17:54:20 -07:00
v-kaywon 579af01b26 fix fixed_size test 2017-09-18 17:53:19 -07:00
Yuki Wong 721343696f Merge pull request #541 from v-kaywon/changeUTC
Change utc
2017-09-18 15:13:27 -07:00