Commit Graph

213 Commits

Author SHA1 Message Date
Christopher Jones f28add8ff8 Substitute PL/SQL exception name e_table_exists in tests 2016-07-08 17:05:31 +10:00
Christopher Jones 364a488a6d Add ORDER BYs to test queries for better portability 2016-07-08 16:58:37 +10:00
Christopher Jones b759552171 Add tests using utf-8 multibyte characters 2016-07-08 16:57:48 +10:00
Christopher Jones e6581c6b55 Add another stream metadata event test 2016-07-08 16:52:21 +10:00
Christopher Jones 35594e79c0 Validate objects used in bind-by-position array and display NJS-044 2016-07-08 16:51:26 +10:00
Christopher Jones e6c436cbab Fix results.metaData for queries with {resultSet:true} 2016-05-23 21:34:51 +10:00
Christopher Jones 14f7a320bd Make error.message.should.startWith usage consistent for NJS errors in tests 2016-05-18 16:24:17 +10:00
Christopher Jones ecb63f69e9 Preserve original creation year in copyright 2016-05-17 17:20:37 +10:00
Christopher Jones 7d7ca358fb Allow instanceof.js and writableProperties.js to be run when located outside the git clone 2016-05-17 16:10:27 +10:00
Christopher Jones 939836584e Updated the private stream close method to only call isPaused if it exists i.e. >= Node 0.12 2016-05-16 10:04:56 +10:00
Christopher Jones e8f20b8639 Update test/README.md 2016-05-16 09:59:26 +10:00
Christopher Jones 4b96f3747c Remove test credential definition 2016-05-16 09:57:53 +10:00
Christopher Jones cb90934d2a Add title to test/lists.txt 2016-05-16 09:56:36 +10:00
Christopher Jones 16be352385 Merge 1.9.0-dev JavaScript changes adding Promises etc 2016-05-16 09:53:23 +10:00
Christopher Jones 5f0cc2f142 Do not bundle tests when installing from NPM with "npm install oracledb" 2016-05-16 09:47:46 +10:00
Christopher Jones a0af4ac825 Add prefix to PL/SQL procedure to avoid name clashes 2016-05-16 09:43:20 +10:00
Christopher Jones 9fd6ed38a3 Added validation for FetchInfo 2016-05-16 09:41:28 +10:00
Christopher Jones b366d5c76d Remove test 6.3 Bulk collect 2016-05-16 09:37:45 +10:00
Christopher Jones 310ff74123 Add test editorconfig 2016-05-16 09:35:54 +10:00
Christopher Jones 5ca4ea64d7 Suspend two property tests 2016-05-16 09:26:50 +10:00
Christopher Jones fc8ae7d5aa Add tests for queueRequests and queueTimeout properties 2016-05-16 09:23:00 +10:00
Christopher Jones db5950f1cf Fix file case 2016-03-24 22:00:08 +11:00
Christopher Jones 79a847331c More streamNumRows removal in tests 2016-03-24 21:45:54 +11:00
Christopher Jones 510012a1de change tests accordingly after queryNumRows was removed 2016-03-24 21:41:52 +11:00
Christopher Jones be0d5aa10e Fix merge artifact and whitespace 2016-03-24 21:38:15 +11:00
Christopher Jones a0a77d8dbe add more streams tests 2016-03-24 21:33:17 +11:00
Christopher Jones 67d3070b14 Remove trailing whitespace from tests 2016-03-24 21:26:28 +11:00
Christopher Jones 58df9f11b6 Add query streaming (PR 321) 2016-03-24 21:18:16 +11:00
Christopher Jones da8722e2bc Use a standard prefix "nodb_" for test objects 2016-03-24 17:31:19 +11:00
Christopher Jones d8031c55bc Improve handling of maxArraySize and maxSize errors 2016-03-24 17:25:51 +11:00
Christopher Jones 6b69b47323 Improve handing of dates/times in tests 2016-03-24 17:23:09 +11:00
Christopher Jones 94a5605cb5 Remove files created during LOB tests 2016-03-24 17:15:35 +11:00
Christopher Jones 61d68173fb Fix test indentation 2016-03-24 17:14:14 +11:00
Christopher Jones 7275bf785f Fix LOB test event 2016-03-24 17:11:53 +11:00
Christopher Jones dc4a829ff6 Whitespace cleanup 2016-03-24 17:09:53 +11:00
Christopher Jones 02f74fabf0 Made public methods overwritable in new JavaScript layer 2016-03-01 08:38:52 +11:00
Christopher Jones 95740936e8 Test portability 2016-03-01 00:48:06 +11:00
Christopher Jones 4dc4821418 Fixed error thrown if pool._logStats called after terminate 2016-02-29 13:54:26 +11:00
Christopher Jones 2ab23e207b Added JavaScript wrapper around C++ classes. Added connection pool queue 2016-02-29 13:48:48 +11:00
Christopher Jones af9cb2a750 Add test comment. Convert to Unix EOL 2016-02-29 13:42:12 +11:00
Christopher Jones 16d7435268 Add test for uninitialized LOB out bind 2016-02-29 13:40:44 +11:00
Christopher Jones 6d5b26ad52 Remove timeout limit to make test more portable 2016-02-29 13:38:23 +11:00
Christopher Jones 9e06797588 Add tests 2016-02-29 13:34:34 +11:00
Christopher Jones 4df45d785f Add PL/SQL Index-by array test 2016-02-29 13:26:36 +11:00
Christopher Jones 83b8fc7da7 Add PL/SQL Index-by array tests 2016-02-29 13:22:17 +11:00
Christopher Jones 4fa6461b0f Update test README 2016-02-29 13:20:39 +11:00
Christopher Jones 78e8716075 Add PL/SQL Array bind null and maxSize tests. Rename dbConfig.js to dbconfig.js. 2016-02-29 13:19:26 +11:00
Christopher Jones 759c6f157b Merge PR345 from @doberkofler adding Bind by Position support for PL/SQL Index-by binds 2016-02-29 13:13:35 +11:00
Christopher Jones 7d836fd042 Update test list 2016-01-30 22:33:40 +11:00
Christopher Jones bab895deaa Update PL/SQL array bind tests 2016-01-30 22:31:33 +11:00
Christopher Jones e794b73d2b Merge PL/SQL Associative Array (Index-by) binds for NUMBER and STRING, thanks to @doberkofler 2016-01-30 22:25:35 +11:00
Christopher Jones 7ab02fe72e Add new tests 2016-01-25 22:09:55 +11:00
Christopher Jones 24496e1375 Add some new CLOB tests 2016-01-25 22:04:10 +11:00
Christopher Jones b20d765a0e Enable customer testcase for OCI_SUCCESS_WITH_INFO issue 2015-12-21 23:08:17 +11:00
Christopher Jones a43badaef6 Enable maxsize 32767 case in test/binding.js 2015-12-21 23:06:41 +11:00
Christopher Jones 39701c964b Treat OCI_SUCCESS_WITH_INFO as success (PR #250) 2015-12-21 23:05:19 +11:00
Christopher Jones 07fa20088c Update test/resultSet2.js 2015-12-21 23:01:45 +11:00
Christopher Jones 8443b18d1d Add testcases for autocommit 2015-12-21 22:50:55 +11:00
Christopher Jones 4dd746b500 Add 12c row limit SQL case and LOB object test cases 2015-12-21 22:47:13 +11:00
Christopher Jones 19d72a8952 add tests for checking types of Classes 2015-12-21 22:44:47 +11:00
Christopher Jones bb6af8959e Fix EOL on test 2015-12-21 22:39:52 +11:00
Christopher Jones 6efbab8e80 Add LOB properties test cases 2015-12-21 22:37:54 +11:00
Christopher Jones 29779de397 Add missing section numbers to test README and give some font love 2015-11-17 11:33:06 +11:00
Christopher Jones aba9467811 LOB test portability changes 2015-11-17 11:33:05 +11:00
Christopher Jones 541917b6ca Fix EOL style in tests 2015-11-17 11:33:04 +11:00
Christopher Jones 6945f00415 Update test Lob chunksize test 2015-11-17 11:33:04 +11:00
Christopher Jones 34776612bd Add test for Lob CLass 2015-11-17 11:33:04 +11:00
Christopher Jones 8d867b1cf8 Add tests for properties of LOB and resultSet 2015-11-17 11:33:04 +11:00
Christopher Jones dae7b2b1f6 Add test for LOB error event 2015-11-17 11:32:58 +11:00
Christopher Jones 8e57f960a8 Add negative tests for DML RETURNING 2015-11-17 11:30:13 +11:00
Christopher Jones 84a01ed6a4 Add DML Returning tests for DATEs and Timestamps 2015-11-17 11:30:13 +11:00
Christopher Jones d9e95907a7 LOB test updates 2015-11-15 08:46:31 +11:00
Christopher Jones 0546aa7d7e Add testWindows script target for running tests on Windows 2015-11-15 08:40:08 +11:00
Christopher Jones 54cc80d258 Update URL to reflect changed OTN hierarchy 2015-11-15 08:28:11 +11:00
Christopher Jones b2ea4ed4f2 Add test for PL/SQL block with empty outBinds 2015-11-15 08:26:46 +11:00
Christopher Jones 3f73231bad Use new version attributes for JSON database data type tests 2015-10-15 16:05:37 +11:00
Christopher Jones 22beb7d0d2 Improve version attribute tests 2015-10-15 12:49:10 +11:00
Christopher Jones 14654e53e0 Added oracledb.oracleClientVersion and connection.oracleServerVersion 2015-10-15 12:46:20 +11:00
Christopher Jones a5975887dd Fix 4K DML RETURNING strings with Oracle DB 11.2 2015-10-15 12:41:21 +11:00
Christopher Jones 22dc387cd7 Add test to hit NJS-028 2015-10-15 12:39:52 +11:00
Christopher Jones 4d0f040a21 Improve RAW code and add tests 2015-09-25 22:38:29 +10:00
Christopher Jones 61bcfde612 Test updates and fix some line endings 2015-09-25 18:46:56 +10:00
Christopher Jones 0ea4a31a1e add maxRow 200 test case 2015-09-25 18:33:04 +10:00
Christopher Jones c1560fe3fa Added support for RAW data type by @bjouhier 2015-09-25 18:10:55 +10:00
Christopher Jones 6da31bfc09 Test typo 2015-09-25 18:06:58 +10:00
Christopher Jones 6a2ad30e4e Fixed intermittent crash while setting fetchAsString, and incorrect output while reading the value. 2015-09-25 18:05:57 +10:00
Christopher Jones 994fc1d94a fetchAsString property value check 2015-09-25 18:03:07 +10:00
Christopher Jones a9c6749a1d Changed Connection write-only attributes to allow console.log() 2015-09-25 17:57:33 +10:00
Christopher Jones 6f4c1d2d50 Add test comments 2015-09-25 17:33:23 +10:00
Christopher Jones 05064084fd Skip properties test for the moment 2015-09-25 17:31:41 +10:00
Christopher Jones 52368d79df Remove non portable memory allocations and added check to make sure maxRows is > 0 for non-ResultSet queries 2015-09-25 17:30:29 +10:00
Christopher Jones ab40f2467a Add properties tests. Also other test tweaks 2015-09-25 17:28:30 +10:00
Christopher Jones be5de21565 Change event names in tests 2015-09-25 17:21:55 +10:00
Christopher Jones f1ff797cdf Add some new data type tests 2015-09-25 17:18:25 +10:00
Christopher Jones 3feb41ee06 Remove commented test 2015-09-02 22:41:37 +10:00
Christopher Jones 1abbbe5c02 Improve test portability 2015-09-02 22:37:26 +10:00
Christopher Jones 905cd3ea4b Disable negative test 6.1.3 that can hang 2015-09-02 22:35:43 +10:00
Christopher Jones 00a221a7a3 Refactor ResultSet tests 2015-09-02 22:35:01 +10:00
Christopher Jones f2445f53c1 Refactor tests phase IV 2015-09-02 22:33:00 +10:00
Christopher Jones 5f6ea61791 Enlarge test timeouts for event cases 2015-09-02 22:29:23 +10:00
Christopher Jones f123b4001a Refactor tests phase III 2015-09-02 22:24:42 +10:00
Christopher Jones 740f5bf1da More REF CURSOR refactoring 2015-09-02 22:21:53 +10:00
Christopher Jones 6d7138f8f4 Add long number tests for fetchAsString 2015-09-02 21:10:26 +10:00
Christopher Jones 0a9214a0f7 Refactor varchar2 tests 2015-09-02 21:08:19 +10:00
Christopher Jones c94aa1fb35 Test refactor phase II 2015-09-02 20:49:30 +10:00
Christopher Jones cfbf038b2f Refactor tests phase I 2015-09-02 20:22:31 +10:00
Christopher Jones d4069f45d5 Add tests for REF CURSOR BIND_INOUT case 2015-09-02 20:04:51 +10:00
Christopher Jones a8b69f0c0a Update tests for new functionality 2015-08-17 16:19:36 +10:00
Christopher Jones c289a6fc34 Keep header in sync with other tests 2015-07-21 07:38:41 +10:00
Christopher Jones 12041c4bae Tidy up tests 2015-07-20 17:56:29 +10:00
Christopher Jones ceebb549de Result Set test changes 2015-07-20 15:14:59 +10:00
Christopher Jones 32b80ec0e0 More Result Set code and a new test 2015-07-20 15:05:20 +10:00
Christopher Jones e4a84b520d Add the test suite 2015-07-20 14:42:12 +10:00