Skip to content

Commit

Permalink
Issue highsource#11. More test cases.
Browse files Browse the repository at this point in the history
  • Loading branch information
highsource committed Dec 3, 2014
1 parent 5e20509 commit d1df533
Showing 1 changed file with 106 additions and 0 deletions.
106 changes: 106 additions & 0 deletions tests/simple-hashCode-equals-01/src/main/resources/cases.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,96 @@
</xs:complexContent>
</xs:complexType>

<xs:complexType name="primitives">
<xs:sequence>
<xs:element name="boolean" type="xs:boolean">
<xs:annotation>
<xs:appinfo>
<jaxb:property>
<jaxb:baseType name="boolean"/>
</jaxb:property>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="byte" type="xs:byte">
<xs:annotation>
<xs:appinfo>
<jaxb:property>
<jaxb:baseType name="byte"/>
</jaxb:property>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="char" type="xs:string">
<xs:annotation>
<xs:appinfo>
<jaxb:property>
<jaxb:baseType name="char"/>
</jaxb:property>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="double" type="xs:double">
<xs:annotation>
<xs:appinfo>
<jaxb:property>
<jaxb:baseType name="double"/>
</jaxb:property>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="float" type="xs:float">
<xs:annotation>
<xs:appinfo>
<jaxb:property>
<jaxb:baseType name="float"/>
</jaxb:property>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="long" type="xs:long">
<xs:annotation>
<xs:appinfo>
<jaxb:property>
<jaxb:baseType name="long"/>
</jaxb:property>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="int" type="xs:int">
<xs:annotation>
<xs:appinfo>
<jaxb:property>
<jaxb:baseType name="int"/>
</jaxb:property>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="short" type="xs:short">
<xs:annotation>
<xs:appinfo>
<jaxb:property>
<jaxb:baseType name="short"/>
</jaxb:property>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

<xs:complexType name="arbitraryObject">
<xs:sequence>
<xs:element name="object" type="xs:string">
<xs:annotation>
<xs:appinfo>
<jaxb:property>
<jaxb:baseType name="java.lang.Object"/>
</jaxb:property>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>

<xs:complexType name="arrays">
<xs:sequence>
Expand Down Expand Up @@ -117,6 +207,22 @@
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="binaries" type="xs:base64Binary"/>
</xs:sequence>
</xs:complexType>

<xs:complexType name="lists">
<xs:sequence>
<xs:element name="boolean" type="xs:boolean" maxOccurs="unbounded"/>
<xs:element name="byte" type="xs:byte" maxOccurs="unbounded"/>
<xs:element name="char" type="xs:string" maxOccurs="unbounded"/>
<xs:element name="double" type="xs:double" maxOccurs="unbounded"/>
<xs:element name="float" type="xs:float" maxOccurs="unbounded"/>
<xs:element name="long" type="xs:long" maxOccurs="unbounded"/>
<xs:element name="int" type="xs:int" maxOccurs="unbounded"/>
<xs:element name="short" type="xs:short" maxOccurs="unbounded"/>
<xs:element name="binaries" type="xs:base64Binary" maxOccurs="unbounded"/>
<xs:element ref="tns:base" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>

Expand Down

0 comments on commit d1df533

Please sign in to comment.