<?xml version='1.0'?>
<TestDescriptor xmlns="http://castor.exolab.org/Test" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://castor.exolab.org/Test http://castor.exolab.org/Test">
    <Name>Support for duration schema type</Name>
    <Author>Werner Guttmann</Author>
    <Comment>
       Tests the support for duration schema type
    </Comment>
    <Category>basic capability</Category>
    <SourceGeneratorTest>
        <Schema>test.xsd</Schema>
        <Root_Object random="false" dump="true">Test</Root_Object>
        <UnitTestCase>
            <Name>Test plain duration</Name>
            <Input>input.xml</Input>
            <GoldFile/>
        </UnitTestCase>
        <UnitTestCase>
            <Name>Test with milliseconds</Name>
            <Input>input-with-milli.xml</Input>
            <GoldFile/>
        </UnitTestCase>
    </SourceGeneratorTest>
</TestDescriptor>
