<?xml version="1.0" encoding="UTF-8"?>

<tests xmlns="http://schemas.gnome.org/gobject-introspection/2013/test">

<test>
  <input>/**
 * ANNOTATION_CALCULATED_LARGE: (value 10000000000UL)
 *
 * Constant to define a calculated large value
 */</input>
  <parser>
    <docblock>
      <identifier>
        <name>ANNOTATION_CALCULATED_LARGE</name>
        <annotations>
          <annotation>
            <name>value</name>
            <options>
              <option>
                <name>10000000000UL</name>
              </option>
            </options>
          </annotation>
        </annotations>
      </identifier>
      <description>Constant to define a calculated large value</description>
    </docblock>
  </parser>
  <output>/**
 * ANNOTATION_CALCULATED_LARGE: (value 10000000000UL)
 *
 * Constant to define a calculated large value
 */</output>
</test>

<test>
  <!--
  Deprecated "Value:" tag syntax
  -->
  <input>/**
 * ANNOTATION_CALCULATED_LARGE:
 *
 * Constant to define a calculated large value
 *
 * Value: 10000000000UL
 */</input>
  <parser>
    <docblock>
      <identifier>
        <name>ANNOTATION_CALCULATED_LARGE</name>
        <annotations>
          <annotation>
            <name>value</name>
            <options>
              <option>
                <name>10000000000UL</name>
              </option>
            </options>
          </annotation>
        </annotations>
      </identifier>
      <description>Constant to define a calculated large value</description>
    </docblock>
    <messages>
      <message>6: Warning: Test: GObject-Introspection specific GTK-Doc tag "Value" has been deprecated, please use annotations on the identifier instead:
 * Value: 10000000000UL
   ^</message>
    </messages>
  </parser>
  <output>/**
 * ANNOTATION_CALCULATED_LARGE: (value 10000000000UL)
 *
 * Constant to define a calculated large value
 */</output>
</test>

<test>
  <!--
  Deprecated "Value:" tag syntax in the wrong location
  -->
  <input>/**
 * ANNOTATION_CALCULATED_LARGE:
 *
 * Value: 10000000000UL
 *
 * Constant to define a calculated large value
 */</input>
  <parser>
    <docblock>
      <identifier>
        <name>ANNOTATION_CALCULATED_LARGE</name>
        <annotations>
          <annotation>
            <name>value</name>
            <options>
              <option>
                <name>10000000000UL</name>
              </option>
            </options>
          </annotation>
        </annotations>
      </identifier>
      <description>Constant to define a calculated large value</description>
    </docblock>
    <messages>
      <message>4: Warning: Test: GObject-Introspection specific GTK-Doc tag "Value" has been deprecated, please use annotations on the identifier instead:
 * Value: 10000000000UL
   ^</message>
    </messages>
  </parser>
  <output>/**
 * ANNOTATION_CALCULATED_LARGE: (value 10000000000UL)
 *
 * Constant to define a calculated large value
 */</output>
</test>

</tests>
