Skip to end of metadata
Go to start of metadata

Following is test suites for testing org.exolab.castor.xml.schema package and schema generator.Noted that not all of them are shared among two packages

  • Package suite aims at mapping to namespace. This test suite addresses both default and annotation mapping, one and multi-namespace.
  • Class suite aims at testing complexType and simpleType, property orders creation, class inheritance. This test suite addresses both default and annotation mapping.
  • Property/field suite aims at testing set/get methods, public fields, property/field collision. This test suite addresses both default and annotation mapping.
  • Collection types suite aims at testing java collections (List, Array, multi-dimensional array, Map). This test suite addresses both default and annotation mapping
  • Identity & Referential Integrity suite aims at testing @ID* annotations, reference crossing classes. This test suite addresses both default and annotation mapping
  • Type mapping suite focuses on mapping between Java types and XML Schema type including primative types, Java standard classes and generic types. This test suite addresses both default and annotation mapping.
  • Enumeration focuses on mapping Java enumeration to XML Schema facets.

Mapping annotation class is detailed at JAXB2 Annotations And MappingInformation page.