Commit Graph

35 Commits

Author SHA1 Message Date
Jeremy Mikola 9d04bcd69c PHPC-509: Default Manager URI to "mongodb://localhost:27017/" 2015-12-14 18:01:31 -05:00
Jeremy Mikola 90d438e626 PHPC-448: Manager::getReadConcern() and URI test 2015-12-11 15:22:55 -05:00
Jeremy Mikola bea901d170 PHPC-443: Support "bypassDocumentValidation" option in BulkWrite 2015-12-11 13:43:14 -05:00
Jeremy Mikola b54a8bf05b PHPC-450: Split query tests for OP_QUERY and find command
This also entails a change to done/end_of_event cursor field assertions. These are internal libmongoc cursor fields and their values aren't relevant to the tests. In the future, we may consider removing them from the Cursor's dump output.
2015-12-10 12:16:36 -05:00
Hannes Magnusson 49225e1dc7 PHPC-495: Upgrade bundled libbson and libmongoc to 1.3.0 2015-12-02 18:11:46 +00:00
Jeremy Mikola fe9fb63267 PHPC-465: Remove Manager's single write methods
Existing tests for single write methods were ported to executeBulkWrite() tests.
2015-10-21 19:32:42 -04:00
Jeremy Mikola 52dfd6b2d2 PHPC-444: Support options array in BulkWrite and executeInsert() 2015-10-15 15:44:17 -04:00
Remi Collet aeb2bc4669 PHPC-442: report PHP version in debug info 2015-10-05 17:28:23 -04:00
Remi Collet efde19a1de report runtime version in debug mode 2015-10-05 17:28:23 -04:00
Jeremy Mikola 31661a383d Test write and WC error extraction for single write methods 2015-10-05 16:15:10 -04:00
Jeremy Mikola dcbf5ae6ba PHPC-428: Remove support for WriteConcern fsync option 2015-09-23 11:47:53 -04:00
Jeremy Mikola a6932d59e0 PHPC-423: WriteConcern should report default "w" option as null 2015-09-22 14:07:23 -04:00
Derick Rethans 73ab90eb4d Skip logging tests for HHVM, which will use its own method 2015-09-22 11:02:03 -04:00
Jeremy Mikola 81c763442b PHPC-417: Return value objects from Manager RP/WC getters 2015-09-15 15:19:35 -04:00
Jeremy Mikola a2c88be3ff PHPC-361: Manager::getServers() should omit unknown servers 2015-09-01 13:36:28 -04:00
Jeremy Mikola 57871d1f4b PHPC-340: BSON\UTCDateTime debug handler
The milliseconds will be dumped as a string value on 32-bit platforms.
2015-08-26 15:57:08 -04:00
Jeremy Mikola cb0249892a Bump extension version to 1.0.0alpha1 2015-08-20 16:03:35 -04:00
Jeremy Mikola 960c51ace7 Split out Manager constructor error tests
The extra arguments test can be skipped for HHVM (as was done in #74).

The read preference and write concern tests attempt to cover all permutations of invalid arguments. Detailed exceptions are only possible where we apply array options to the structures, since libmongoc currently provides no detailed errors when URI parsing fails (see: CDRIVER-782).
2015-08-13 16:12:33 -04:00
Jeremy Mikola 3b7f42b83d PHPC-196: Implement Manager getters for WC and RP 2015-08-13 16:12:33 -04:00
Hannes Magnusson b9fa29f24b bump debug tests after slight tracing changes 2015-07-22 13:47:43 -04:00
Hannes Magnusson d017a80ea0 PHPC-229: Support options array in second parameter of Manager ctor 2015-07-22 13:47:43 -04:00
Jeremy Mikola 965f8c3db4 PHPC-315: Support "root" type mapping for top-level documents 2015-07-14 19:52:24 -04:00
Jeremy Mikola 6eb0944565 PHPC-319: Convert top-level documents to stdClass by default
Update tests to expect stdClass for documents. Debug handlers and the Server getter methods will still decode documents as native arrays.
2015-07-11 00:38:05 -04:00
Jeremy Mikola d34a09edf1 Use plural property name to store list of Address objects 2015-07-10 23:55:50 -04:00
Hannes Magnusson 808ee36ca8 PHPC-321: UTCDatetime -> UTCDateTime 2015-06-30 10:30:27 -07:00
Hannes Magnusson ed1cd1e30b PHPC-309: Bump tests 2015-06-30 10:04:36 -07:00
Hannes Magnusson 9a7cabad6b Improve code covergae 2015-05-13 21:13:17 -07:00
Hannes Magnusson b0b5ee6581 PHPC-75: Improve debug output coverage 2015-05-13 20:50:14 -07:00
Hannes Magnusson 75fef488ab fix test after moving it around 2015-05-13 20:31:46 -07:00
Hannes Magnusson e26a2580bf PHPC-75: Improve coverage 2015-05-13 20:31:46 -07:00
Hannes Magnusson 68ac4ef044 improve code coverage 2015-05-13 19:52:43 -07:00
Hannes Magnusson 131658e8fa Improve test organization 2015-05-13 19:52:31 -07:00
Hannes Magnusson 0a778441cf Fix test on travis 2015-05-13 19:28:44 -07:00
Hannes Magnusson 060f143040 PHPC-301: var_dump()ing Manager should show debug info 2015-05-13 18:38:46 -07:00
Hannes Magnusson 0d9fd5714a PHPC-75: Improve coverage for the Manager 2015-05-13 15:45:05 -07:00