Add tests for out-of-range UTCDateTime values

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Minor - P4
    • 1.20.0
    • Affects Version/s: None
    • Component/s: Tests
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      There are several todo items in the UTCDateTime tests to add additional tests for out-of-range values. These referenced CDRIVER-1377, which has long been resolved (libmongoc 1.5.0).

      Related files:

      • bson-utcdatetime-serialization_error-002.phpt
      • bson-utcdatetime-serialization_error-004.phpt
      • bson-utcdatetime-set_state_error-002.phpt
      • bson-utcdatetime_error-003.phpt

      I came across this while updating tests for PHPC-1849.

              Assignee:
              Jérôme Tamarelle
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: