Skip to content

fo-test-fn-adjust-time-to-timezone-002 in app/fo-spec-examples.xml is timezone dependent? #69

@faassen

Description

@faassen

This test:

   <test-case name="fo-test-fn-adjust-time-to-timezone-002">
      <description>Test case for fn:adjust-time-to-timezone</description>
      <created by="Michael Kay using generate-qt3-test-set.xsl" on="2017-03-16"/>
      <environment ref="global"/>
      <test>
        fn:adjust-time-to-timezone(xs:time("10:00:00-07:00"))
      </test>
      <result>
         <assert-deep-eq>xs:time("12:00:00-05:00")</assert-deep-eq>
      </result>
   </test-case>

appears to be dependent on the timezone in which the test is being run, as adjust-time-to-timezone says to use the implicit timezone in the context at that point.

Is there something in the test suite that sets the implicit timezone in which the tests should be run? The tests in fn/implicit-timezone.xml appear to be carefully written to avoid actually testing against the timezone itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions