David Puglielli
7b720e1f62
changelog updated, test skipif changed to run on unix platforms
2018-07-18 17:01:54 -07:00
Jenny Tam
35631cffae
Streamlined two very similar large column name tests ( #815 )
...
* Streamlined two very similar large column name tests
* Added random number of test table names to avoid operand clash issues
* Replaced to with for based on review
2018-07-13 16:11:35 -07:00
David Puglielli
c1d579319d
Fixed driver name
2018-07-12 13:24:04 -07:00
David Puglielli
0495513c07
Fixed skipifs and output
2018-07-11 16:27:03 -07:00
David Puglielli
82be8141a3
Fixed output and skipifs
2018-07-11 11:29:34 -07:00
David Puglielli
b2f7b206c5
Fixed expected output
2018-07-10 19:44:48 -07:00
David Puglielli
af9f77e1d1
Fixed connection resiliency tests for Unix, updated AppVeyor for ODBC 17.2
2018-07-10 17:07:03 -07:00
Jenny Tam
aef3830479
Modified AE fetch phptypes test to insert only one row at a time and loop through php types ( #801 )
...
* Modified AE fetch phptypes test to insert only one row at a time and loop through php types
* Fixed formatting
2018-06-27 13:14:10 -07:00
Jenny Tam
eeea7878fb
Set the driver argument for getDSN to null by default ( #798 )
...
* Added the driver argument to getDSN
* Dropped the driver argument but set to null as default
* Removed the AE condition in locale support
* Modified the AE condition for locale support
2018-06-26 13:41:07 -07:00
Jenny Tam
17fa64ac79
Fixed connection pooling tests for more than one ODBC drivers
2018-06-11 11:36:22 -07:00
Jenny Tam
071e897e2d
Added the driver option to run functional tests
2018-06-08 16:00:27 -07:00
Jenny Tam
f6e450b408
For these AKV tests check env despite not AE connected
2018-06-07 13:54:35 -07:00
David Puglielli
4509756066
Merge pull request #785 from david-puglielli/ae-test-experiments
...
Fixed akv test failures with win encryption
2018-05-29 17:13:05 -07:00
David Puglielli
9d1eafd6b3
Fixed encryption check
2018-05-29 16:22:26 -07:00
David Puglielli
b1288208a5
Fixed akv test failures with win encryption
2018-05-29 14:40:45 -07:00
Jenny Tam
b7a9ec6124
Check if returned error is empty first before using count()
2018-05-29 10:04:05 -07:00
David Puglielli
c348aadd68
Addressed review comments
2018-05-28 15:08:46 -07:00
David Puglielli
d35575b164
Added select type conversion test and updated values
2018-05-25 21:47:25 -07:00
David Puglielli
ff0e46071d
dropped tables at end
2018-05-25 15:19:20 -07:00
David Puglielli
1747df1ced
addressed review comments
2018-05-25 14:42:32 -07:00
David Puglielli
bd9d85b862
Refactored some akv tests, other small changes
2018-05-25 13:08:35 -07:00
David Puglielli
cee6370fda
Split akv verification tests to fix SSL issue
2018-05-24 17:15:55 -07:00
David Puglielli
1edd16d4a5
made bigint string for x64 too
2018-05-23 17:23:16 -07:00
David Puglielli
13e69b54bc
Fixed bigint insertion bug in x86
2018-05-23 15:42:36 -07:00
David Puglielli
e0f9afae2f
Merge pull request #768 from david-puglielli/azure-key-vault-support
...
Azure key vault support
2018-05-18 14:43:36 -07:00
David Puglielli
e2ed131b41
Final style fixes
2018-05-18 14:05:18 -07:00
David Puglielli
10ea9286d8
Fixed coding style
2018-05-18 12:24:37 -07:00
Jenny Tam
64e2241ba2
Extend output buffer sizes with SQL decimals or numerics
2018-05-17 13:06:22 -07:00
David Puglielli
a0ade5d7a5
Fixed connect_driver tests
2018-05-17 12:15:31 -07:00
David Puglielli
85bda819b2
Skipping Ubuntu on verification akv tests
2018-05-17 11:37:26 -07:00
David Puglielli
079c4ea0fe
Fixed tests, fixed wide char name in keystore struct
2018-05-16 15:14:47 -07:00
Jenny Tam
0b5ceb001d
Reverted the changes
2018-05-15 15:57:47 -07:00
Jenny Tam
4c7c08515d
Added workaround for the test plus use BIGINT for 64-bit systems
2018-05-15 14:28:26 -07:00
Jenny Tam
bca311081d
Modified the output param initial value
2018-05-15 12:41:28 -07:00
Jenny Tam
999312be8b
Tried using INT_MAX instead
2018-05-15 09:33:52 -07:00
Jenny Tam
0bc4a36958
Added test case for Issue 699
2018-05-14 10:12:53 -07:00
David Puglielli
b98b12965c
Tests updated
2018-05-09 16:11:17 -07:00
David Puglielli
3cb84ee4ee
Tests updated
2018-05-09 15:21:40 -07:00
David Puglielli
3b94eb4726
Merging
2018-05-08 17:56:28 -07:00
David Puglielli
364fef6908
Changes according to PR comments
2018-05-08 16:16:27 -07:00
David Puglielli
fb1a2ecb70
Changes according to PR review comments
2018-05-08 14:12:14 -07:00
David Puglielli
f49da62e5b
Added AKV configuration to setup files
2018-05-07 14:16:40 -07:00
David Puglielli
977e5309dd
Support for Azure Key Vault
2018-05-05 17:08:01 -07:00
Jenny Tam
4a5104919b
Fixed one skipif
2018-05-01 15:15:17 -07:00
Jenny Tam
04fa748a45
Added new tests for issue 678
2018-05-01 15:14:11 -07:00
Jenny Tam
b8d1feb9ba
Modified the driver tests as well
2018-04-12 08:41:35 -07:00
Jenny Tam
2f8b9c2acc
Fix bigint output param test
2018-04-11 16:25:00 -07:00
David Puglielli
bbf951cad8
Minor fixes
2018-04-11 13:37:31 -07:00
David Puglielli
8c681f25d5
Updated failing tests
2018-04-10 19:45:18 -07:00
David Puglielli
2960738883
Reverted change handling bigint output parameters
2018-04-09 17:15:58 -07:00
David Puglielli
e5103277f2
Merge pull request #727 from david-puglielli/ae-tests
...
Ae test removed
2018-03-22 18:05:35 -07:00
David Puglielli
dece420198
removed offending test altogether
2018-03-22 17:17:36 -07:00
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-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
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
v-kaywon
d88967cf4a
address review comments
2018-03-13 16:15:42 -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
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
239d71569c
added tests from testing ae types conversion for insertion in SQLSRV
2018-03-01 17:37:04 -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
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
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
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
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
Jenny Tam
d7a1aca5c7
Testing locale issues
2017-12-19 14:35:28 -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
292811ffee
Applied changes as per review
2017-12-13 12:51:22 -08:00
Jenny Tam
f330b6e674
Actually two differetnt expected results
2017-12-13 08:16:27 -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
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
Jenny Tam
08d0a7fddf
Modified one more test
2017-12-08 12:17:22 -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-susanh
05f9a54442
updated data to avoid roundoff in php 7.1 and earlier versions ( #620 )
2017-12-06 11:16:17 -08:00
Jenny Tam
cf9e54fb74
Made more changes as per review
2017-12-05 13:43:53 -08:00
Jenny Tam
69793cdafc
made changes as per review
2017-12-05 09:26:54 -08:00
v-susanh
b3dec24361
fixed return for IsLocaleSupported ( #614 )
2017-12-01 15:57:51 -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
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
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
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
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
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
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
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
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
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